X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2FChangeLog;h=4e3aed77ae6caec8cc6fe78b6af24c7afa6e1b8f;hb=955a407e3c7dd91d6322a65747fb61403978c6a8;hp=8626e27a8c13945bd616077247d0fe1da30c311e;hpb=e48d8b47fb3eee81d341b71c3e006efe9e3433a7;p=gnulib.git diff --git a/lib/ChangeLog b/lib/ChangeLog index 8626e27a8..4e3aed77a 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,190 @@ +2006-01-25 Simon Josefsson + + * socket_.h: Set WINVER to 0x0501, to make sure getaddrinfo + prototype is visible on mingw32. + + * getaddrinfo.h: Define EAI_ADDRFAMILY and EAI_SYSTEM if not set, + for mingw32. + + * gai_strerror.c, getaddrinfo.h: Protect netdb.h #include (for + mingw32). + +2006-01-26 Paul Eggert + + * fts.c (diropen): Open with O_NOCTTY | O_NONBLOCK too. Don't + attempt to open for write; this always fails, at least on POSIX + hosts. This reinstates the 2006-01-09 change, which was + inadvertently removed. + +2006-01-26 Bruno Haible + Paul Eggert + + * stdbool_.h (_Bool) + [(! (defined __cplusplus || defined __BEOS__) + && !defined __GNUC__ + && !(defined __HP_cc || defined __xlc__ + || (defined __SUNPRO_C && (__SUNPRO_C < 0x550 || __STDC__ == 1)) + || defined __sgi))]: + #define to signed char in these cases too; this simplifies + the code (so that we don't have to worry about HP-UX, AIX, SunPRO, + etc., separately) and makes it more conservative. + +2006-01-21 Jim Meyering + + Sync from the stable (b5) branch of coreutils: + + * fts.c (fts_children): Don't let close() clobber errno from + failed fchdir(). + + * fts.c (fts_stat): When following a symlink-to-directory, + don't necessarily interpret stat-fails+lstat-succeeds as indicating + a dangling symlink. That can also happen at least for ELOOP. + The fix: return FTS_SLNONE only when the stat errno is ENOENT. + FYI, this bug predates the inclusion of fts.c in coreutils. + + * fts.c (fts_open): Put new maxarglen declaration and uses + in their own block, so pre-c99 compilers don't object. + + Avoid the double-free (first in fts_read, second in fts_close) that + would occur when an `active' directory is made inaccessible (e.g., + via chmod a-x) during a traversal. + * fts.c (fts_read): After a failed fchdir, update sp->fts_cur + before returning. Reproduce this failure by + mkdir -p a/b; cd a; chmod a-x . b + Reported by Stavros Passas. + +2006-01-25 Sergey Poznyakoff + + * argp-namefrob.h: Bugfix. Remove stray # + +2006-01-25 Bruno Haible + + * stdbool_.h (_Bool) [IRIX cc]: Define as 'signed char', to avoid + warnings. + Reported by Paul Eggert. + +2006-01-25 Jim Meyering + + * fileblocks.c: Remove more useless parentheses. + * readutmp.h: Likewise. + +2006-01-24 Bruno Haible + + * stdbool_.h (_Bool) [__cplusplus]: Don't define if the compiler already + has it. + Report and patch by Albert Chin-A-Young on + 2005-11-26. + + * stdbool_.h (_Bool) [HP-UX cc, AIX cc,xlc]: Define as 'signed char' + to avoid problems with the built-in _Bool type. + Reported by Paul Eggert on 2005-11-26. + +2006-01-24 Jim Meyering + + * socket_.h: Remove useless parentheses in uses of cpp `defined'. + +2006-01-24 Simon Josefsson + + * socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by + Bruno. + +2006-01-23 Paul Eggert + + Work around porting bugs reported by Dieter in + . + * getopt.c (_NOPROTO): Remove; no longer needed. + Include and in all environments; it's safe now. + Include "getopt.h" first, to check interface. + (getenv): Declare only if defined HAVE_DECL_GETENV && + !HAVE_DECL_GETENV. + * strndup.c [!_LIBC]: Include "strndup.h" to get prototype. + (__strndup): Revert to K&R-style function dfns, the glibc style. + * strnlen.c: Don't claim it's taken from glibc; it's not. + (strnlen, __strnlen): Remove #defines and #undefs; not needed. + Include strnlen.h first, to get prototype properly. + (strnlen): Renamed from __strnlen. + Remove weak alias. + +2006-01-23 Ulrich Drepper + + These changes imported from libc. + * getopt.c: Use __fxprintf instead of inline stream orientation + test and two separate function calls. + * strndup.c (__strndup): Add libc_hidden_def. + +2006-01-22 Bruno Haible + + * vasnprintf.c (VASNPRINTF): In the computation of the size of the + temporary buffer for sprintf, take into account the precision also + for 'd', 'i', 'u', 'o', 'x', 'X'. + +2006-01-22 Paul Eggert + + * quotearg.c (quotearg_buffer_restyled): Add "default: break;" + to pacify gcc -Wswitch-default. + +2006-01-21 Sergey Poznyakoff + + * argp-help.c (usage_long_opt): Do not print DOC options. + (__argp_base_name): Removed + * argp-namefrob.h (__argp_basename): Removed definition. Was a + typo. + (__argp_base_name): Provide macro definition or extern declaration + depending on the configuration + +2006-01-20 Simon Josefsson + + * inet_ntop.h: Unconditionally include sys/socket.h. + +2006-01-19 Simon Josefsson + + * socket_.h: Map SHUT_RD, SHUT_WR, SHUT_RDWR correctly. + +2006-01-12 Simon Josefsson + + * base64.c: Fix warning, reported by Bruno Haible + and patch by Paul Eggert . + +2006-01-11 Paul Eggert + + Sync from coreutils. + * md5.c: Fix commentary typos. + (alignof, UNALIGNED_P): No need for a GCC-specific version. + * md5.h (__attribute__): Remove; unused. + * sha1.c: Fix commentary to match md5 better. + * sha1.h (struct sha1_ctx): Use a word buffer, not a byte buffer, + so that we don't need to worry about alignment. All uses changed. + This merges the 2005-10-28 md5 change into sha1. + +2006-01-11 Jim Meyering + + Sync from coreutils. + * md5.c (OP): Fix spacing. + +2006-01-11 Simon Josefsson + + * stdint_.h (SIZE_MAX): Add missing (. + +2006-01-10 Bruno Haible + + * argp.h (__const): Remove macro. Use const instead. + * argp-fmtstream.h (__const): Likewise. + * glob_.h (__const): Remove macro. + * glob-libc.h: Use const instead of __const. + +2006-01-10 Jim Meyering + + Avoid the double-free (first in fts_read, second in fts_close) that + would occur when an `active' directory is made inaccessible (e.g., + via chmod a-x) during a traversal. + * fts.c (fts_read): After a failed fchdir, update sp->fts_cur + before returning. Reproduce this failure by + mkdir -p a/b; cd a; chmod a-x . b + Reported by Stavros Passas. + + Sync from coreutils. + * sha1.c: Tweak grammar in a comment. + 2006-01-10 Paul Eggert * regex_internal.h (BITSET_WORD_BITS):