X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2FChangeLog;h=5cf12553e84eb2464eecda7424282f4ac7bf9c0b;hb=ce0f0550c109a4d97551924165659d7a80978999;hp=0602728ec4014feeff339dd7d769b1e42fa74992;hpb=f12d386e3f1c4573d0e8d35c313867f5ae2d481f;p=gnulib.git diff --git a/lib/ChangeLog b/lib/ChangeLog index 0602728ec..5cf12553e 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,20 +1,763 @@ +2006-08-10 Paul Eggert + + * .cppi-disable: Add snprintf.h, socket_.h. + * snprintf.c: Include and . + (EOVERFLOW): Define if the system does not. + Do not include "minmax.h"; it wasn't used. + (snprintf): Don't assume size_t promotes to an unsigned type. + Fix bug when generated string was too long for the buffer: the + buffer's contents are supposed to be the initial prefix of the + output. Don't assume vasnprintf returns EOVERFLOW if the size + exceeds INT_MAX; do the check ourselves. + + Import the following changes from libc: + + 2006-06-02 Jakub Jelinek + + * posix/regex_internal.c (re_string_skip_chars): If no character has + been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc + to the byte which couldn't be converted. + (re_string_reconstruct): Don't clear valid_raw_len before calling + re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set + tip_context using re_string_context_at. + + 2006-05-02 Ulrich Drepper + + * posix/regex.h: g++ still cannot handled [restrict]. + + 2006-04-21 Ulrich Drepper + + * posix/regex.h: Remove special handling for VMS. + +2006-08-09 Paul Eggert + + Sync from coreutils. + + 2006-07-19 Mike Frysinger + + * lib/mountlist.c [ME_REMOTE]: Filter out cifs. + Reported by Toralf Förster in . + +2006-08-08 Eric Blake + + * verror.c (verror_at_line): Work around glibc bug 2997, so that + verror_at_line output complies with GNU Coding Standards even when + file is NULL. + +2006-08-08 Eric Blake + + * verror.h, verror.c: New files. + +2006-08-07 Bruno Haible + + * allocsa.h (sa_alignof) [_AIX]: Also consider 'long long' in newer + versions of AIX. + Reported by Ralf Wildenhues. + +2006-08-06 Eric Blake + + * error.h: Fold in some upstream changes from glibc. + * error.c: Likewise. + +2006-07-29 Bruno Haible + + * localcharset.c: Assume , , exist. + +2006-07-29 Bruno Haible + + * setenv.c: Undo unintended modification done on 2006-02-27. + +2006-07-28 Eric Blake + + * regex_internal.h (struct re_dfa_t) [!_LIBC]: Avoid invalid C89 + macro expansion. + +2006-07-28 Simon Josefsson + + * inet_ntop.h, inet_pton.h: No need to guard netinet/in.h + #include's. + +2006-07-28 Simon Josefsson + + * inet_ntop.h, inet_pton.h: No need to guard arpa/inet.h + #include's. + +2006-07-28 Bruno Haible + + * inet_ntop.h, inet_pton.h: Use #if HAVE* instead of #ifdef HAVE*. + +2006-07-28 Yoann Vandoorselaere + + * inet_ntop.h, inet_pton.h: Need to include netinet/in.h before + arpa/inet.h. + +2006-07-28 Bruno Haible + + * mbchar.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, + iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit): Define + fallbacks. + Avoids link error on FreeBSD 4.x. + Reported by Yoann Vandoorselaere . + + * wcwidth.h (iswprint): Assume an ASCII compatible wide character + encoding. + * mbswidth.c (iswcntrl): Likewise. + +2006-07-28 Paul Eggert + + * modechange.c (mode_compile): Numeric modes now affect setuid and + setgid on directories only if they set these bits. + * modechange.h: Remove obsolete comment about masks. + +2006-07-27 Bruno Haible + + * stdint_.h (INT*_C, UINT*_C) [C++]: Define these if + __STDC_CONSTANT_MACROS is defined, not if __STDC_LIMIT_MACROS is + defined. + +2006-07-26 Eric Blake + + * mkstemp-safer.c [! HAVE_MKSTEMP]: Add prototype for platforms + like mingw that lack mkstemp. + * pipe-safer.c (pipe_safer) [!HAVE_FUNC_PIPE]: Provide fallback to + avoid compilation warning on mingw. + +2006-07-25 Bruno Haible + + * version-etc.c (version_etc_va): Use va_copy, assumed to be defined in + or config.h. + +2006-07-24 Bruno Haible + + * clean-temp.h: New file, from GNU gettext. + * clean-temp.c: New file, from GNU gettext. + +2006-07-24 Bruno Haible + + * tmpdir.h: New file, from GNU gettext. + * tmpdir.c: New file, from GNU gettext. + +2006-07-23 Bruno Haible + + * gl_anylinked_list2.h (ASYNCSAFE): New macro. + (gl_linked_add_first, gl_linked_add_last, gl_linked_add_before, + gl_linked_add_after, gl_linked_add_at, gl_linked_remove_node, + gl_linked_remove_at): Use it. + +2006-07-23 Eric Blake + + * tmpfile-safer.c: New file. + * stdio-safer.h (fopen_safer): Add prototype. + * stdio--.h (tmpfile): Make safer. + +2006-07-22 Paul Eggert + + * close-stream.c, close-stream.h: New files. + +2006-07-22 Bruno Haible + + Merge from GNU gettext 0.15. + + 2005-07-05 Bruno Haible + + * printf-args.c (printf_fetchargs): Work around broken + definition of wint_t on mingw. + + 2005-02-12 Bruno Haible + + * xallocsa.h: Add extern "C" for C++. + + 2006-05-17 Bruno Haible + + Cygwin portability. + * progreloc.c (WIN32_NATIVE): Renamed from WIN32. + + 2006-04-30 Bruno Haible + + * progreloc.c: Include if available. + (find_executable): Use _NSGetExecutablePath when possible. + + 2006-05-06 Charles Wilson + + * progreloc.c (maybe_executable) [CYGWIN]: Use the access() + function. + + 2005-12-29 Bruno Haible + + * progreloc.c (set_program_name_and_installdir): Fix + compilation error. + + 2005-12-04 Bruno Haible + + Cygwin portability. + * progreloc.c: Include also on Cygwin. + (find_executable): Add support for Cygwin. + (set_program_name_and_installdir): Handle also platforms with + nonempty EXEEXT. + + 2006-07-11 Bruno Haible + + * javacomp.c: Fix a comment. + Reported by Jim Meyering. + + 2006-04-30 Bruno Haible + + * javacomp.h (compile_java_class): Add source_version, + target_version arguments. + * javacomp.c: Rewritten to choose only a compiler that + respects the specified source_version and target_version. + + 2006-06-27 Bruno Haible + + Assume correct S_ISDIR macro. + * mkdtemp.c: Remove test of STAT_MACROS_BROKEN. + + 2006-07-22 Bruno Haible + + * javaversion.h: New file, from GNU gettext. + * javaversion.c: New file, from GNU gettext. + * javaversion.java: New file, from GNU gettext. + * javaversion.class: New file, from GNU gettext. + + 2006-05-17 Bruno Haible + + Cygwin portability. + * javaexec.c (execute_java_class): Test for jview program + also on Cygwin. + + 2006-04-09 Bruno Haible + + * fatal-signal.c: Don't include string.h. + (at_fatal_signal): Use a copying loop instead of memcpy. + + 2005-12-04 Bruno Haible + + * csharpexec.c: Add support for 'clix' launcher (untested). + (execute_csharp_using_sscli): New function. + (execute_csharp_program): Call it. + + 2006-06-21 Bruno Haible + + Avoid warnings from recent versions of mcs. + * csharpcomp.c (compile_csharp_using_mono): Don't use options + -o, -L, -r any more. Use options documented since mcs-1.0 + instead. Similarly for -g. + + 2005-07-09 Bruno Haible + + * csharpcomp.c (compile_csharp_using_sscli): For -l option, + add a .dll suffix. + Reported by Mark Junker . + + 2006-06-17 Bruno Haible + + * config.charset: Update for NetBSD 3.0. + + 2006-05-17 Bruno Haible + + Cygwin portability. + * localcharset.c (WIN32_NATIVE): Renamed from WIN32. + + 2006-05-16 Bruno Haible + + * localcharset.c [CYGWIN]: Include . + (get_charset_aliases): For Cygwin, return the same CPxxx + aliases list as under WIN32. + (locale_charset) [CYGWIN]: Try to retrieve the encoding from + the environment variables. Fall back to GetACP(). + + 2006-04-05 Bruno Haible + + * config.charset: Update Juan Manuel Guerrero's address. + + 2005-02-12 Bruno Haible + + * allocsa.h: Add extern "C" for C++. + + 2005-02-10 Bruno Haible + + * allocsa.h (sa_alignof): Define differently with AIX xlc, to + avoid a bug of this compiler on AIX 3.2.5 dealing with enums. + + 2006-07-22 Bruno Haible + + * gettext.h: Update to GNU gettext-0.15. + +2006-07-22 Yoann Vandoorselaere + and Simon Josefsson + + * getaddrinfo.h (AI_PASSIVE): Make sure it is defined. + + * getaddrinfo.c (getaddrinfo): Support AI_PASSIVE. + +2006-07-21 Eric Blake + + * stdlib-safer.h: New file from coreutils, required by + stdlib--.h. + +2006-07-19 Derek R. Price + + * getaddrinfo.h: Don't define unimplemented AI_* flags. + Reindent and repaginate. + +2006-07-17 Bruno Haible + + * gl_list.h: New file. + * gl_list.c: New file. + * gl_array_list.h: New file. + * gl_array_list.c: New file. + * gl_carray_list.h: New file. + * gl_carray_list.c: New file. + * gl_linked_list.h: New file. + * gl_linked_list.c: New file. + * gl_anylinked_list1.h: New file. + * gl_anylinked_list2.h: New file. + * gl_avltree_list.h: New file. + * gl_avltree_list.c: New file. + * gl_anyavltree_list1.h: New file. + * gl_anyavltree_list2.h: New file. + * gl_rbtree_list.h: New file. + * gl_rbtree_list.c: New file. + * gl_anyrbtree_list1.h: New file. + * gl_anyrbtree_list2.h: New file. + * gl_anytree_list1.h: New file. + * gl_anytree_list2.h: New file. + * gl_linkedhash_list.h: New file. + * gl_linkedhash_list.c: New file. + * gl_anyhash_list1.h: New file. + * gl_anyhash_list2.h: New file. + * gl_avltreehash_list.h: New file. + * gl_avltreehash_list.c: New file. + * gl_rbtreehash_list.h: New file. + * gl_rbtreehash_list.c: New file. + * gl_anytreehash_list1.h: New file. + * gl_anytreehash_list2.h: New file. + + * gl_oset.h: New file. + * gl_oset.c: New file. + * gl_array_oset.h: New file. + * gl_array_oset.c: New file. + * gl_avltree_oset.h: New file. + * gl_avltree_oset.c: New file. + * gl_rbtree_oset.h: New file. + * gl_rbtree_oset.c: New file. + * gl_anytree_oset.h: New file. + +2006-07-16 Paul Eggert + + * dirchownmod.c, dirchownmod.h, mkancesdirs.c, mkancesdirs.h: + New files. + * mkdir-p.c: Don't include alloca.h, stdio.h, sys/types.h, + unistd.h, string.h, chdir-safer.h, dirname.h, lchmod.h, lchown.h, + save-cwd.h. Instead, include dirchownmod.h and mkancesdirs.h. + (make_dir_parents): New args MAKE_ANCESTOR, OPTIONS, ANNOUNCE, + MODE_BITS. Remove options VERBOSE_FMT_STRING, CWD_ERRNO. All + callers changed. Revamp internals significantly, by not + attempting to create directories that are temporarily more + permissive than the final results. Do not attempt to use + save_cwd/restore_cwd; it isn't worth it for mkdir and install. + This removes some race conditions, fixes some bugs, and simplifies + things. Use new dirchownmod function to do owner and mode changes. + * mkdir-p.h: Likewise. + * modechange.c (octal_to_mode): New function. + (struct mode_change): New member mentioned. + (make_node_op_equals): New arg mentioned. All callers changed. + (mode_compile): Keep track of which mode bits the user has explicitly + mentioned. + (mode_adjust): New arg DIR, so that we implement the X op correctly. + New arg PMODE_BITS, to keep track of which mode bits the user + mentioned; it treats S_ISUID and S_ISGID speciall. + All callers changed. + * modechange.h: Likewise. + +2006-07-11 Derek R. Price + + * glob.c: s/NAMLEN/_D_EXACT_NAMLEN/. + +2006-07-10 Derek R. Price + + * backupfile.c, dirfd.h, fts.c, getcwd.c, glob.c, glob_.h: + Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN + macros into the GNU _D_EXACT_NAMLEN. + * savedir.c: Likewise. + (savedirstream): Use _D_EXACT_NAMLEN in preference to strlen. + +2006-07-09 Jim Meyering + + * argp-pv.c: Remove a doubled word in a comment. + * check-version.c (check_version): Likewise. + * javacomp.c (compile_java_class): Likewise. + +2006-07-08 Jim Meyering + + * getndelim2.h (getndelim2): Remove doubled "after" in comment. + +2006-07-06 Jim Hyslop (tiny change) + + * lib/getaddrinfo.c: Changes to compile under MSVC6: changed + '#if WIN32_NATIVE' to '#ifdef' & moved WSAAPI macro inside + brackets. Other minor changes to suppress some compiler + warnings. + +2006-07-06 Paul Eggert + + * getloadavg.c: Use __VMS, not VMS. + * getopt.c: Likewise. + * getpagesize.h: Likewise. + * glob.c: Remove most VMS cruft; it hasn't been tested for a while and + probably does not work. + +2006-07-06 Derek R. Price + and Paul Eggert + + * backupfile.c [HAVE_DIRENT_H && ! HAVE_NDIR_H]: + Don't worry about this obsolete case any more. + (HAVE_DIR): Remove. All uses removed; we now assume you can read + directories. + * dirfd.h [HAVE_DIRENT_H && ! HAVE_NDIR_H]: Don't + worry about this obsolete case any more. + * fts.c: Likewise. + * getcwd.c: Likewise. + * glob.h: Likewise. + * savedir.c: Likewise. + +2006-07-06 Paul Eggert + + * .cppi-disable: Add wcwidth. + * fnmatch.c (ISBLANK): Remove. All uses changed to isblank. + (isblank) [! (defined isblank || HAVE_DECL_ISBLANK)]: New macro. + (ISGRAPH): Remove. All uses changed to isgraph. + (FOLD) [!defined _LIBC]: Remove special case. + * getdate.y (lookup_word): Remove no-longer-needed call to islower. + * regex_internal.h (isblank): Depend on HAVE_DECL_ISBLANK, not + HAVE_ISBLANK. + * strftime.c (TOLOWER, TOUPPER) [!defined _LIBC]: Remove special case. + +2006-07-06 Ralf Wildenhues + + * strtod.c (strtod): cast the argument of tolower to unsigned char. + +2006-07-05 Paul Eggert + + * memcasecmp.c: Include . + (memcasecmp): Don't assume UCHAR_MAX <= INT_MAX. + * strtod.c (strtod): Don't assume isspace works on negative chars. + Don't assume isdigit succeeds only on '0' through '9'. + +2006-07-05 Derek R. Price + + * exclude.c (IN_CTYPE_DOMAIN, is_space): Remove; no longer needed. + All uses of is_space replaced by isspace. + * exit.h: Don't talk about STDC_HEADERS. + * fnmatch.c (ISASCII): Remove; no longer needed. All uses removed. + (ISPRINT, ISDIGIT, ISALNUM, ISALPHA, ISCNTRL, ISLOWER, ISPUNCT): + (ISSPACE, ISUPPER, ISXDIGIT): Remove; no longer needed. All uses + replaced by isprint etc. + * getdate.y (IN_CTYPE_DOMAIN, ISSPACE, ISALPHA, ISLOWER): Likewise. + * getusershell.c (IN_CTYPE_DOMAIN, ISSPACE): Likewise. + * memcasecmp.c (IN_CTYPE_DOMAIN, ISLOWER, TOUPPER): Likewise. + * strtod.c (IN_CTYPE_DOMAIN, ISSPACE, ISDIGIT, TOLOWER): Likewise. + * strtol.c (IN_CTYPE_DOMAIN): Likewise. + * xstrtol.c (IN_CTYPE_DOMAIN, ISSPACE): Likewise. + +2006-07-05 Eric Blake + + * getaddrinfo.h (NI_NUMERICHOST, NI_NUMERICSERV): Define if + missing from netdb.h. + * getaddrinfo.c (includes): Include inet_ntop and snprintf. + +2006-06-27 Bruno Haible + + Assume ANSI C header files and functions. + * mbswidth.c (IN_CTYPE_DOMAIN, ISPRINT, ISCNTRL): Remove macros. + (mbsnwidth): Use isprint, iscntrl instead. + +2006-07-03 Jim Meyering + + * cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if this + macro is used before the first cycle_check call. + +2006-07-03 Paul Eggert + + * stdint_.h: Include after @FULL_PATH_STDINT_H@, for + MacOS X 10.4.6. Don't mention . Problems + reported by Mark D. Baushke, one in + . + + Merge from coreutils. + + * .cppi-disable: Add stdint_.h. + * .cvsignore: Add stdint.h. + + 2006-06-30 Paul Eggert + + * xstrtod.c (XSTRTOD, DOUBLE): New macros, so that we can support + both double and long double versions. + (XSTRTOD): Renamed from xstrtod. Use DOUBLE internally. + * xstrtold.c: New file. + * xstrtod.h (xstrtold): New decl. + + 2006-05-22 Paul Eggert + + * filemode.c (setst): Remove. + (strmode): Rewrite to avoid setst. This makes the code shorter, + (arguably) clearer, and the generated code is a bit smaller on my + Debian GNU/Linux stable x86 host. + + 2006-04-17 Paul Eggert + + * filemode.c: Include "filemode.h" first, to test the interface. + Assume that filemode.h includes sys/types.h and sys/stat.h. + (HAVE_ST_DM_MODE): New macro, moved here from ls.c. + (ftypelet): Reorder to put common cases first, for efficiency. + Add 'P', 'w'. Remove 'M', since it's now the caller's responsibility + to do 'M'. + (strmode): Renamed from mode_string, and now stores 12 bytes instead + of 10, for compatibility with FreeBSD. All callers changed. + (filemodestring): Now stores 12 bytes instead of 10, and sets file types + that can't be deduced solely from st_mode. First arg is now a const + pointer. + * filemode.h (HAVE_DECL_STRMODE): Include for strmode. + (strmode): Renamed from mode_string. + (filemodestring): New decl. + * stat-macros.h: Don't undef S_ISDOOR, since it's never buggy. + (S_ISDOOR): Don't bother with S_IFDOOR, since that code is never needed. + (S_ISPORT, S_ISWHT): New macros, if not already defined. + + 2006-04-12 Paul Eggert + + * fsusage.c: Don't include or , since + fsusage.h now does that. Include fsusage.h first, to test interface. + Prefer statvfs if it works, since it's blessed by POSIX. Attempt + at most one method (the old code could have generated decls that + didn't conform to C89, not that this was ever exercised). + * fsusage.h: Include and if they exist. + + 2006-03-19 Jim Meyering + + Work even in a chroot where d_ino values for entries in "/" + don't match the stat.st_ino values for the same names. + * getcwd.c (__getcwd): When no d_ino value matches the target inode + number, iterate through all entries again, using lstat instead. + Reported by Kenshi Muto in http://bugs.debian.org/355810, and by + Zouhir Hafidi in https://bugzilla.redhat.com/bugzilla/190656. + + * getcwd.c (__getcwd): Clarify a comment. + Use memcpy in place of a call to strcpy. + + 2006-03-12 Jim Meyering + + * fts-cycle.c (leave_dir): If cycle-check's saved dev-ino pair matches + that of the current directory (which we're about to chdir ".." out of), + then save the dev-ino of the parent, instead. + + * same-inode.h (SAME_INODE): New file/macro. + * chdir-safer.c (SAME_INODE): Remove definition. + Include "same-inode.h", instead. + * same.c: Likewise. + * cycle-check.h: Include "same-inode.h". + (CYCLE_CHECK_REFLECT_CHDIR_UP): Define. + * cycle-check.c (SAME_INODE): Remove definition. + * root-dev-ino.h: Include "same-inode.h". + + 2006-03-11 Eric Blake + + * same.c (same_name): s/base_name/last_component/ + * backupfile.c (check_extension, numbered_backup): Likewise. + * filenamecat.c (file_name_concat): Likewise. + + 2006-03-11 Eric Blake , + Paul Eggert + + * dirname.h (FILE_SYSTEM_PREFIX_LEN): Move here from dos.m4. + [FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: Don't treat 1: as a + drive prefix. + (IS_ABSOLUTE_FILE_NAME): Treat all drive letters as absolute on + platforms like cygwin with FILE_SYSTEM_DRIVE_PREFIX_IS_ABSOLUTE. + (last_component): New method. + * dirname.c (dir_len): Determine when drive letters need a + subsequent slash. Preserve // when it is special. + (dir_name): Don't append dot when drive letter is absolute. + [TEST_DIRNAME]: Move into a full-blown gnulib test. + * basename.c (base_name): New semantics - malloc the result. + Preserve // when it is special. Preserve relative files that look + like drive letters. + (base_len): Preserve // when it is special. + (last_component): New method, similar to old base_name semantics. + * stripslash.c (strip_trailing_slashes): Use last_component, not + base_name. Strip redundant slashes from ///. + +2006-07-02 Paul Eggert + + * stdint_.h (intmax_t, uintmax_t): Prefer long to long long if + both are 64 bits, since this seems to be the tradition, and this + prevents gcc -Wformat from warning about usages with PRIuMAX. If + we ever run into a host that prefers long long to long in this + case, we'll need another configure-time test. Problem reported by + Jim Meyering. + +2006-07-01 Paul Eggert + + * stdint_.h (_GL_STDINT_H): Renamed from _STDINT_H, to avoid + possible collision with system files. + (, , ) [defined __cplusplus && ! defined + __STDC_CONSTANT_MACROS)]: Do not include, since we don't need + WCHAR_MIN and WCHAR_MAX in this case. + (): Do not include; no longer needed. + (): Include if @HAVE_SYS_TYPES_H@, not if + (defined(__OpenBSD__) || defined(__bsdi__) || defined(__sgi)). + (): Include if @HAVE_SYS_INTTYPES_H@ && + !@HAVE_INTTYPES_H@, not if (defined(__FreeBSD__) + && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4)). + (__STDINT_H__) [@HAVE_STDINT_H@ && defined __sgi && ! defined + __c99]: Define, to work around IRIX incompatibility. + (@FULL_PATH_STDINT_H@) [!(defined(__sgi) && @HAVE_INTTYPES_H@ && + !defined(__c99))]: Include in this case too, since it's harmless + now. + () [@HAVE_INTTYPES_H@]: Include, since it's no longer + dangerous to do so. + (@FULL_PATH_INTTYPES_H@) [(defined(__hpux) || defined(_AIX)) && + @HAVE_INTTYPES_H@]: Do not include, since we now include . + (_STDINT_MIN, _STDINT_MAX): New macros. + (int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t): + (uint64_t, int_least8_t, uint_least8_t, int_least16_t): + (uint_least16_t, int_least32_t, uint_least32_t, int_least64_t): + (uint_least64_t, int_fast8_t, uint_fast8_t, int_fast16_t): + (uint_fast16_t, int_fast32_t, uint_fast32_t, int_fast64_t): + (uint_fast64_t, intptr_t, uintptr_t, intmax_t, uintmax_t): Now + macros, not typedefs; this simplifies things quite a bit. + Use long int for all types narrower than int64_t. + (intmax_t, uintmax_t, INTMAX_C, UINTMAX_C): + Define in terms of long long int or int64_t or long int, + not int64_t or int32_t. This saves some compile-time testing. + (INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX, UINT16_MAX): + (INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN, INT64_MAX): + (UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX, UINT_LEAST8_MAX): + (INT_LEAST16_MIN, INT_LEAST16_MAX, UINT_LEAST16_MAX): + (INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): + (INT_LEAST64_MIN, INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST8_MIN): + (INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN, INT_FAST16_MAX): + (UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX, UINT_FAST32_MAX): + (INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX, INTPTR_MIN): + (INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX): + (PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX): + (SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX): + undef any previous version and define our own version, for + simplicity and consistency with the new macros for types. + (PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX): + (SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX): + Simplify definitions by using _STDINT_MIN and _STDINT_MAX + where appropriate. Rely on new symbols @PTRDIFF_T_SUFFIX@, + @SIG_ATOMIC_T_SUFFIX@, @SIZE_T_SUFFIX@, @WCHAR_T_SUFFIX@, + @WINT_T_SUFFIX@ to keep things simple here. + (UINT8_C, UINT16_C, UINT32_C, INT64_C, UINT64_C): + Simplify by assuming typical 8/16/32/64 host, since we're + already doing that elsewhere anyway. + Use (LONG_MAX >> 31 >> 31 == 1) rather than @HAVE_LONG_64BIT@, + and assume long long int is 64 bits if available. This + speeds up 'configure'. + +2006-06-30 Jim Hyslop (tiny change) + + * getaddrinfo.c: fixed typo + +2006-06-29 Eric Blake + + * stat_.h (rpl_mkdir): Declare inline, to avoid warnings about + unused static function. + +2006-06-29 Eric Blake + + * stat_.h: New file. + +2006-06-29 Derek R. Price + + * strftime.c: Assume strftime() exists. + +2006-06-28 Bruno Haible + + * getaddrinfo.h: Fix POSIX URL. + * getaddrinfo.c (WIN32_NATIVE): New macro. Use it instead of _WIN32. + (use_win32_p): Make static. + (getaddrinfo): Reject service name if it is empty or does not consist + solely of decimal digits, or if its value is > 65535. + (getnameinfo): Remove useless casts. + +2006-06-28 Derek R. Price + + * savedir.c (CLOSEDIR): Remove. All uses changed to closedir. + Autoconf 2.60 says this stuff was obsolete. + +2006-05-12 Bruno Haible + + * mkdtemp.c [MINGW]: Include . + (mkdir): Define using _mkdir. + +2006-06-28 Bruno Haible + + * wcwidth.h: Declare nothing if !HAVE_WCHAR_T. Provide a fallback + declaration for wcwidth. + * mbswidth.c: Restore the includes of and . + +2006-06-28 Eric Blake + + * xvasprintf.h: Fix comments. + +2006-06-28 Eric Blake + + * mbchar.h (wcwidth): Include wcwidth.h. + * mbswidth.c (wcwidth): Move from here... + * wcwidth.h: ...to this new file. + +2006-06-28 Simon Josefsson + + * getaddrinfo.c: Try to load ws2_32.dll on Windows, to find the + functions there. It will succeed on Windows XP, but on Windows + 2000 and (presumably) earlier, it will fail, and use the internal + re-implementation. + (use_win32_p): New function. + (getaddrinfo): Use strtoul on servname, to support numeric ports. + Support AI_NUMERICSERV to disable getservbyname. + (getnameinfo): New function, only supports + NI_NUMERICHOST|NI_NUMERICSERV for now. + + * getaddrinfo.h: Test and check for AI_* flags separately, MinGW + only have some of them. Add AI_NUMERICSERV. Add prototype for + getnameinfo. + +2006-06-27 Bruno Haible + + * stdint_.h (intmax_t, uintmax_t): Undefine before typedef. + +2006-06-26 Paul Eggert + + * base64.c (B64): Use _ as the formal parameter, not x, to avoid + bug in IBM C V6 for AIX. Problem reported by Larry Jones in + . + 2006-06-26 Bruno Haible - * stdlib_.h: Don't include when using the SGI C compiler + * stdint_.h: Include if necessary for WCHAR_MIN or + WCHAR_MAX. + Reported by Mark D. Baushke and Larry Jones. + +2006-06-26 Bruno Haible + + * stdint_.h: Don't include when using the SGI C compiler in pre-C99 mode. Suggested by Mark D. Baushke and Larry Jones. 2006-06-23 Mark D. Baushke - * stdlib_.h: Treat BSD/OS like OpenBSD. + * stdint_.h: Treat BSD/OS like OpenBSD. 2006-06-23 Bruno Haible - * stdlib_.h: Treat IRIX like OpenBSD. + * stdint_.h: Treat IRIX like OpenBSD. 2006-06-23 Bruno Haible - * stdlib_.h (UINT8_C, UINT16_C, UINT32_C): Define according to + * stdint_.h (UINT8_C, UINT16_C, UINT32_C): Define according to ISO C 99 Technical Corrigendum 1. 2006-06-22 Paul Eggert @@ -90,7 +833,7 @@ reported by Andreas Schwab. 2006-05-30 Ralf Wildenhues - Bruno Haible + Bruno Haible * strndup.c (strndup) [!_LIBC]: Don't undefine macro definition. @@ -446,7 +1189,7 @@ (re_acquire_state_context): Likewise. 2006-03-29 Mark D. Baushke - Bruno Haible + Bruno Haible * stdint_.h: On OpenBSD, don't redefine types already included in and .