diff --git a/ChangeLog b/ChangeLog index 24d300605a..0064757d7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +1998-03-22 NIIBE Yutaka + + * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK): + Fix paren. + +1998-03-24 Ulrich Drepper + + * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL + parameter const. Reported by UCHIYAMA Yasushi . + 1998-03-24 Ulrich Drepper * elf/ldsodesf.h: New file. diff --git a/FAQ.in b/FAQ.in index bbfbe988ce..18ef19854b 100644 --- a/FAQ.in +++ b/FAQ.in @@ -556,7 +556,7 @@ ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-3.3-glibc3.diff. RPC: Unable to receive; errno = Connection refused" when using NIS. {TK} You need a ypbind version which is 64bit clean. Some versions -are not 64bit clean. A 64bit clean implemention is ypbind-mt. For +are not 64bit clean. A 64bit clean implementation is ypbind-mt. For ypbind 3.3, you need the patch from ftp.kernel.org (See the previous question). I don't know about other versions. @@ -624,7 +624,7 @@ problem. 2.8.1 (or more recent versions). libg++ 2.7.2 (and the Linux Versions 2.7.2.x) doesn't work very well with the GNU C library due to vtable thunks. If you're upgrading from glibc 2.0.x to 2.1 you have to recompile -libstc++ since the library compiled for 2.0 is not compatible due to the new +libstdc++ since the library compiled for 2.0 is not compatible due to the new Large File Support (LFS) in version 2.1. ? Source and binary incompatibilities, and what to do about them @@ -869,7 +869,7 @@ to do so. For example constructs of the form: enum {foo #define foo foo } -are useful for debugging purpuses (you can use foo with your debugger +are useful for debugging purposes (you can use foo with your debugger that's why we need the enum) and for compatibility (other systems use defines and check with #ifdef). @@ -885,6 +885,21 @@ standards with feature flags). The GNU C library is conforming to ANSI/ISO C - if and only if you're only using the headers and library functions defined in the standard. +?? I can't access some functions anymore. nm shows that they do + exist but linking fails nevertheless. + +{AJ} With the introduction of versioning in glibc 2.1 it is possible +to export only those identifiers (functions, variables) that are +really needed by application programs and by other parts of glibc. +This way a lot of internal interfaces are now hidden. nm will still +show those identifiers but marking them as internal. ISO C states +that identifiers beginning with an underscore are internal to the +libc. An application program normally shouldn't use those internal +interfaces (there are exceptions, e.g. __ivaliduser). If a program +uses these interfaces, it's broken. These internal interfaces might +change between glibc releases or dropped completely. + + ? Miscellaneous ?? After I changed configure.in I get `Autoconf version X.Y. diff --git a/inet/netinet/in.h b/inet/netinet/in.h index 6b59930008..75c299eaea 100644 --- a/inet/netinet/in.h +++ b/inet/netinet/in.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,7 +20,7 @@ #define _NETINET_IN_H 1 #include -#include +#include #include #include @@ -244,12 +244,12 @@ extern uint16_t htons __P ((uint16_t __hostshort)); #endif #define IN6_IS_ADDR_UNSPECIFIED(a) \ - ((((uint32_t *) (a))[0] == 0) && ((uint32_t *) (a))[1] == 0) && \ - (((uint32_t *) (a))[2] == 0) && ((uint32_t *) (a))[3] == 0)) + (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \ + ((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == 0) #define IN6_IS_ADDR_LOOPBACK(a) \ - ((((uint32_t *) (a))[0] == 0) && ((uint32_t *) (a))[1] == 0) && \ - (((uint32_t *) (a))[2] == 0) && ((uint32_t *) (a))[3] == htonl (1))) + (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \ + ((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == htonl (1)) #define IN6_IS_ADDR_MULTICAST(a) (((u_int8_t *) (a))[0] == 0xff) diff --git a/sysdeps/mach/hurd/setsockopt.c b/sysdeps/mach/hurd/setsockopt.c index f148390f6a..955aa743e1 100644 --- a/sysdeps/mach/hurd/setsockopt.c +++ b/sysdeps/mach/hurd/setsockopt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1994, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1992, 1994, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,7 +31,7 @@ setsockopt (fd, level, optname, optval, optlen) int fd; int level; int optname; - void *optval; + const void *optval; size_t optlen; { error_t err = HURD_DPORT_USE (fd, __socket_setopt (port,