X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ChangeLog;h=73f9634d8338004807a3f66aa1a9be49313246d0;hb=e71c251fb890ed0fc83108a74c7819cd384e826e;hp=fc66eee55d3762d7fe6a93d45e6905e8f4da6524;hpb=e5cf463ba47a430a4a2509e029222682f974499f;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index fc66eee55..73f9634d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,616 @@ +2006-11-10 Jim Meyering + + * lib/fts.c [FTS_DEBUG]: Don't try to print a pointer via %s. + +2006-11-09 Paul Eggert + + * lib/gettext.h (dgettext, dcgettext, ngettext) [! ENABLE_NLS]: + (dngettext, dcngettext, bindtextdomain) [! ENABLE_NLS]: + (bind_textdomain_codeset) [! ENABLE_NLS]: + Evaluate all the arguments. That way, callers get compatible behavior + if the arguments have side effects. Also, it avoids some GCC + diagnostics in some cases; Joel E. Denny reported problems when Bison + was configured with --enable-gcc-warnigs. + +2006-11-10 Jim Meyering + + * m4/inline.m4 (gl_INLINE): Check with the compiler, not cpp, so that + relevant options in CFLAGS (like -O, -fno-inline) are taken into + account. + +2006-11-10 Jim Meyering + + * modules/inline: New file/module. + * modules/xalloc (Files): Remove m4/inline.m4. + (Depends-on): Add inline, instead. + * modules/oset: Likewise. + * modules/list: Likewise. + +2006-11-09 Paul Eggert + + * lib/stdint_.h (uintmax_t): Fix typo: int64_t -> uint64_t. + Problem reported by Matthew Woehlke. + +2006-11-09 Bruno Haible + + * lib/tempname.c (gen_tempname): Remove variant that invokes + __gen_tempname. + * m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Don't test for + __gen_tempname. + +2006-11-08 Bruno Haible + + * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Set ac_cv_type_long_long_int + to 'yes' instead of 'cross-compiling'. + +2006-11-08 Paul Eggert + + * lib/quotearg.h (quotearg_free): New decl. + * lib/quotearg.c (quotearg_free): New function. + (slot0, nslots, slotvec0, slotvec): + Now file-scope so that quotearg_free can get at them. + +2006-11-08 Ralf Wildenhues + + Sync from Automake. + * build-aux/gnupload: Add missing 'gnu' to example URL. + Report by Karl Berry. + +2006-11-08 Bruno Haible + + * m4/inline.m4 (gl_INLINE): Also test __NO_INLINE__. + Suggested by Paul Eggert. + +2006-11-08 Jim Meyering + + * lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice. + It's already included if !_LIBC. + (fts_safe_changedir): Add a comment. + +2006-11-07 Paul Eggert + + * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in + Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by + Matthew Woehlke. + + * lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Move + definitions up, to avoid colliding with change below. + (static_inline) [HAVE_INLINE]: New macro. + (xnmalloc, xnrealloc, x2nrealloc, xcharalloc): + Provide extern decls when !HAVE_INLINE. Do not define unless + static_inline is defined, either by us or by xmalloc.c. Use + static_inline rather than static inline. + (XCALLOC): Optimize sizeof(T) = 1 case. + * lib/xmalloc.c (static_inline) [!HAVE_INLINE]: New macro. + +2006-11-07 Bruno Haible + + * lib/xalloc.h (XNMALLOC): Restore optimization of sizeof(T) = 1 case. + * m4/xalloc.m4 (gl_PREREQ_XALLOC): Require gl_INLINE instead of + AC_C_INLINE. + * modules/xalloc (Files): Add m4/inline.m4. + +2006-11-07 Ralf Wildenhues + + * README: Fix typo. + * doc/gnulib.texi (Miscellaneous Notes): Likewise, rename... + (Miscellanous Notes): ...from this. + +2006-11-07 Paul Eggert + + * m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER): + Mention that offsetof should be used instead of sizeof. + From Bruno Haible. + +2006-11-07 Bruno Haible + + * lib/w32spawn.h (prepare_spawn): Use XNMALLOC instead of xmalloc. + +2006-11-06 Paul Eggert + + Simplify xmalloc expressions. Add overflow check in xmalloc arguments. + * lib/gl_anyavltree_list2.h (create_subtree_with_contents): + (gl_tree_create, gl_tree_add_first, gl_tree_add_last): + (gl_tree_add_before, gl_tree_add_after): + Use XMALLOC instead of xmalloc, and XCALLOC instead of xzalloc. + * lib/gl_anyhash_list2.h (hash_resize): Likewise. + * lib/gl_anylinked_list2.h (gl_linked_create_empty, gl_linked_create): + (gl_linked_add_first, gl_linked_add_last, gl_linked_add_before): + (gl_linked_add_after, gl_linked_add_at): Likewise. + * lib/gl_anyrbtree_list2.h (create_subtree_with_contents): + (gl_tree_create, gl_tree_add_first, gl_tree_add_last): + (gl_tree_add_before, gl_tree_add_after): Likewise. + * lib/gl_anytree_list2.h (gl_tree_create_empty): Likewise. + * lib/gl_anytree_oset.h (gl_tree_create_empty): Likewise. + * lib/gl_anytreehash_list1.h (add_to_bucket): Likewise. + +2006-11-06 Ralf Wildenhues + + * lib/gl_oset.h: Use C comment style, not C++ comment style. + +2006-11-06 Bruno Haible + + * m4/inline.m4: New file. + * m4/gl_list.m4 (gl_LIST): Require gl_INLINE. + * modules/list (Files): Add m4/inline.m4. + * modules/oset (Files): Likewise. + +2006-11-06 Paul Eggert + + * lib/idcache.c: Include , for offsetof. + (struct userid.name): Change from char * to a flexible array member. + All uses changed. + * modules/idcache (Depends-on): Add flexmember. + + * MODULES.html.sh (Core language properties): New module flexmember. + * modules/flexmember, m4/flexmember.m4: New files. + + * lib/xalloc.h (xnmalloc, xnrealloc, x2nrealloc): Now static + inline functions that are identical with the old xnmalloc_inline, + xnrealloc_inline, x2nrealloc_inline of lib/xmalloc.c. This is so + that we can avoid some unnecessary integer multiplications and + divisions in the common case where the element size is known at + compile time. + (XNMALLOC) [HAVE_INLINE]: Remove special case, which is no longer + needed. + (xnboundedmalloc): Remove. + (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Use lower-case letters for + arguments, for consistency with rest of this header. + (xcharalloc): Rewrite using XNMALLOC. + * lib/xmalloc.c (xnmalloc_inline, xnmalloc, xnrealloc_inline): + (xnrealloc, x2nrealloc_inline, x2nrealloc): Remove. The *_inline + versions have been moved to lib/xalloc.h and renamed to be the + non-*_inline versions. + (xmalloc, xrealloc): Implement without reference to the xnmalloc + and xnrealloc functions, since those functions are now inline and + now call us. + (x2realloc): Invoke x2realloc, not x2realloc_inline, to accommodate + renaming described above. + * m4/xalloc.m4 (gl_PREREQ_XMALLOC): Remove AC_C_INLINE since + xmalloc.c no longer uses inline directly. gl_PREREQ_XALLOC now + captures the dependency in AC_C_INLINE. + + New module canonicalize-lgpl, proposed by Charles Wilson in + + with a few small changes afterwards. + * MODULES.html.sh (File system functions): New module + canonicalize-lgpl. + * lib/canonicalize.h: Add comments for canonicalize_filename_mode + and canonicalize_file_name. + * lib/canonicalize-lgpl.c, m4/canonicalize-lgpl.m4: + * modules/canonicalize-lgpl: New files. + +2006-11-05 Bruno Haible + + * gnulib-tool (func_import, func_create_testdir): Create directories + also for files in subdirectories of lib/. + +2006-11-05 Bruno Haible + + * lib/gl_array_list.c (gl_array_iterator_next): Make pointer decrement + ANSI C compliant. + +2006-11-03 Bruno Haible + + Simplify xmalloc expressions. Add overflow check in xmalloc arguments. + * m4/xalloc.m4 (gl_PREREQ_XALLOC): Require AC_C_INLINE. + * lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): New macros. + (xnboundedmalloc): New inline function. + * lib/classpath.c (new_classpath): Use XNMALLOC instead of xmalloc. + * lib/clean-temp.c (create_temp_dir): Use XNMALLOC, XMALLOC instead of + xmalloc. + * lib/concatpath.c (concatenated_pathname): Use XNMALLOC instead of + xmalloc. + * lib/fatal-signal.c (at_fatal_signal): Use XNMALLOC instead of xmalloc. + * lib/findprog.c (find_in_path): Use XNMALLOC instead of xmalloc. + * lib/gl_array_list.c (gl_array_create_empty): Use XMALLOC instead of + xmalloc. + (gl_array_create): Use XNMALLOC, XMALLOC instead of xmalloc. + * lib/gl_array_oset.c (gl_array_create_empty): Use XNMALLOC instead of + xmalloc. + * lib/gl_avltree_oset.c (gl_tree_add_first, gl_tree_add_before, + gl_tree_add_after): Use XMALLOC instead of xmalloc. + * lib/gl_carray_list.c (gl_carray_create_empty): Use XMALLOC instead of + xmalloc. + (gl_carray_create): Use XNMALLOC, XMALLOC instead of xmalloc. + * lib/gl_rbtree_oset.c (gl_tree_add_first, gl_tree_add_before, + gl_tree_add_after): Use XMALLOC instead of xmalloc. + * lib/gl_sublist.c (gl_sublist_create): Use XMALLOC instead of xmalloc. + * lib/pagealign_alloc.c (new_memnode): Use XMALLOC instead of xmalloc. + * lib/sh-quote.c (shell_quote_argv): Use XNMALLOC instead of xmalloc. + * lib/xvasprintf.c (xstrcat): Use XNMALLOC instead of xmalloc. + +2006-11-03 Bruno Haible + + * lib/c-ctype.h [C++]: Define functions without name mangling. + * lib/fwriteerror.h [C++]: Likewise. + * lib/gcd.h [C++]: Likewise. + * lib/linebreak.h [C++]: Likewise. + +2006-11-03 Paul Eggert + + * lib/canonicalize.h: (canonicalize_mode_t, CAN_EXISTING): + (CAN_ALL_BUT_LAST, CAN_MISSING, canonicalize_filename_mode): + Define only if PROVIDE_CANONICALIZE_FILENAME_MODE is defined. + * m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): + Check for functions and headers just once. + Check for declaration of canonicalize_file_name. + Define PROVIDE_CANONICALIZE_FILENAME_MODE. + +2006-11-02 Charles Wilson + + * gnulib-tool (func_import): Fix typo in actioncmd. + +2006-11-02 Bruno Haible + + * gnulib-tool (func_get_automake_snippet): Interpret a backslash- + newline sequence in the Makefile.am snippet as a space, like "make" + does. + Reported by Roger Persson . + +2006-11-01 Bruno Haible + + * m4/strcase.m4 (gl_FUNC_STRNCASECMP): Check whether strncasecmp is + already declared in . + * lib/strcase.h (strncasecmp): Don't declare it if yes. + +2006-11-01 Bruno Haible + + * m4/strcase.m4 (gl_FUNC_STRCASECMP): Don't define strcasecmp here. + * lib/strcase.h: Include . + (strcasecmp): Define to rpl_strcasecmp here. + +2006-11-01 Bruno Haible + + * lib/printf-parse.c (PRINTF_PARSE): Cast malloc/realloc results. + +2006-11-01 Eric Blake + + * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation. + + * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration. + +2006-10-29 Bruno Haible + + Make it compile in C++ mode. + * lib/full-write.c (full_rw): Add a cast. + +2006-11-01 Bruno Haible + + * gnulib-tool (func_get_automake_snippet): Change sed_combine_lines to + be POSIX compliant. + Reported by Roger Persson . + +2006-11-01 Eric Blake + + * lib/getopt_.h: Fix comments. + +2006-10-31 Eric Blake + + * modules/tmpdir (Depends-on): Add sys_stat. + * modules/mkdtemp (Depends-on): Add tempname, drop unistd. + * lib/mkdtemp.c (gen_tempname): Remove; tempname covers this. + * lib/tmpdir.c (S_ISDIR): Simplify, thanks to sys_stat. + * m4/mkdtemp.m4 (gl_PREREQ_MKDTEMP): Simplify, thanks to + tempname. + +2006-10-31 Paul Eggert + + Avoid some C++ diagnostics reported by Bruno Haible. + * lib/quotearg.c (clone_quoting_options): Use xmemdup rather than + xmalloc. + (quotearg_alloc): Use xcharalloc rather than xmalloc. + (struct slotvec): Move to top level. + (quotearg_n_options): Rewrite to avoid xmalloc. + * lib/xalloc.h (xcharalloc): New function. + * (xrealloc, xnrealloc, x2realloc, x2nrealloc, xmemdup): + [defined __cplusplus]: Add function template that provides result + type propagation. This part of the change is from Bruno Haible. + +2006-10-29 Bruno Haible + + Make it compile in C++ mode. + * lib/striconv.c (mem_cd_iconv): Cast malloc/realloc result. + * lib/strnlen1.c (strnlen1): Cast memchr result. + * lib/mbchar.h (mb_copy): Rename arguments to 'new_mbc', 'old_mbc'. + * lib/clean-temp.c (string_equals, string_hash): Add casts. + (create_temp_dir): Rename local variable 'template'. + (compile_csharp_using_sscli): Add cast. + * lib/fatal-signal.c (at_fatal_signal): Cast xmalloc result. + * lib/findprog.c (find_in_path): Likewise. + * lib/linebreak.c (mbs_width_linebreaks): Cast malloc result. + * lib/wait-process.c (register_slave_subprocess): Likewise. + +2006-10-22 Bruno Haible + + * modules/tsearch: New file. + * lib/tsearch.h: New file. + * lib/tsearch.c: New file, from glibc-2.5 with small modifications. + * m4/tsearch.m4: New file. + * MODULES.html.sh (Support for systems lacking POSIX:2001): Add tsearch. + +2006-10-29 Eric Blake + + * lib/arcfour.c: Assume config.h. + * lib/arctwo.c: Likewise. + * lib/base64.c: Likewise. + * lib/check-version.c: Likewise. + * lib/crc.c: Likewise. + * lib/des.c: Likewise. + * lib/gc-gnulib.c: Likewise. + * lib/gc-libgcrypt.c: Likewise. + * lib/gc-pbkdf2-sha1.c: Likewise. + * lib/getaddrinfo.c: Likewise. + * lib/getdelim.c: Likewise. + * lib/getline.c: Likewise. + * lib/hmac-md5.c: Likewise. + * lib/hmac-sha1.c: Likewise. + * lib/iconvme.c: Likewise. + * lib/md2.c: Likewise. + * lib/md4.c: Likewise. + * lib/memxor.c: Likewise. + * lib/read-file.c: Likewise. + * lib/readline.c: Likewise. + * lib/rijndael-alg-fst.c: Likewise. + * lib/rijndael-api-fst.c: Likewise. + * lib/xgetdomainname.c: Likewise. + +2006-10-28 Eric Blake + + * lib/xstrndup.c: Assume config.h. + +2006-10-27 Paul Eggert + + Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h. + stat-macros.h is now for our own macros, whereas stat_h is for + macros in the name space. + * lib/stat-macros.h: Remove copyright notice, as this file is now tiny. + (STAT_MACROS_H): Remove. + (S_IFMT, S_ISBLK, S_ISCHR, S_ISDIR, S_ISFIFO, S_ISLNK, S_ISNAM): + (S_ISMPB, S_ISMPC, S_ISNWK, S_ISREG, S_ISSOCK, S_ISDOOR, S_ISPORT): + (S_TYPEISMQ, S_TYPEISTMO, S_TYPEISSEM, S_TYPEISSHM, S_ISCTG, S_ISOFD): + (S_ISOFL, S_ISWHT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRGRP): + (S_IROTH, S_IWUSR, S_IWGRP, S_IWOTH, S_IXUSR, S_IXGRP, S_IXOTH): + (S_IRWXU, S_IRWXG, S_IRWXO, S_IXUGO, S_IRWXUGO): + Move these macros to ... + * lib/stat_.h: here. Don't include stat-macros.h. + * lib/canonicalize.c: Don't include stat-macros.h. + * lib/chown.c: Likewise. + * lib/euidaccess.c: Likewise. + * lib/file-type.c: Likewise. + * lib/filemode.c: Likewise. + * lib/glob.c: Likewise. + * lib/isapipe.c: Likewise. + * lib/lchown.c: Likewise. + * lib/lstat.c: Likewise. + * lib/mkdir-p.c: Likewise. + * lib/rmdir.c: Likewise. + * m4/lchown.m4 (gl_FUNC_LCHOWN): Don't require gl_STAT_MACROS. + * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Don't check for io.h + unless mkdir isn't declared, to speed up 'configure'. + Always create sys/stat.h, since it's unlikely any real sys/stat.h + would define all the S_* symbols. + * modules/canonicalize (Depends-on): + Depend on sys_stat, not stat-macros. + * modules/chown: Likewise. + * modules/euidaccess: Likewise. + * modules/filemode: Likewise. + * modules/file-type: Likewise. + * modules/glob: Likewise. + * modules/isapipe: Likewise. + * modules/lchown: Likewise. + * modules/lstat: Likewise. + * modules/mkancesdirs: Likewise. + * modules/rmdir: Likewise. + * modules/mkdir-p (Depends-on): Also depend on sys_stat. + * modules/modechange: Likewise. + * modules/stat-macros (Files): Remove m4/stat-macros.m4. + (configure.ac): Remove gl_STAT_MACROS. + * modules/sys_stat (Depends-on): Remove stat-macros. + +2006-10-27 Bruno Haible + + * m4/signed.m4: Remove file. + * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_ARGS_: Remove bh_C_SIGNED + invocation. + * modules/vasnprintf (Files): Remove m4/signed.m4. + +2006-10-27 Bruno Haible + + Update to GNU gettext 0.16. + * modules/gettext (Files): Add m4/intl.m4, m4/intldir.m4. Remove + m4/inttypes-h.m4, m4/signed.m4. + * m4/gettext.m4: Update to GNU gettext 0.16. + * m4/intl.m4: New file, from GNU gettext. + * m4/intldir.m4: New file, from GNU gettext. + * config/srclist.txt: Update + +2006-10-27 Eric Blake + + * MODULES.html.sh: Document tempname. + * modules/mkstemp (Depends-on): Add tempname, and drop transitive + dependencies. + (Files): Move lib/tempname.c... + * modules/tempname: ...to this new module. + * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Remove tempname checks. + (gl_PREREQ_TEMPNAME): Move... + * m4/tempname.m4: ...to this new file. + * lib/mkstemp.c (includes) [!_LIBC]: Use tempname.h. + * modules/sys_stat (Depends-on): Add stat-macros. + * lib/stat_.h (includes): Pick up stat macros. + * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Replace + if stat macros are broken. + * lib/tempname.c (includes): No need to include "stat-macros.h". + (__gen_tempname) [!_LIBC]: Expose as gen_tempname. + (direxists, __path_search) [!_LIBC]: Don't compile these in + gnulib; the tmpdir module covers that. + * lib/tempname.h: New file. + +2006-10-26 Paul Eggert + + * COPYING: Explain how gnulib-tool converts licence headers. + Almost all wording by Eric Blake. + +2006-10-25 Paul Eggert + + * lib/mbchar.h (is_basic_table): Make read-only. + * lib/mbchar.c (is_basic_table): Likewise. + Reported by John Darrington. + +2006-10-25 Bruno Haible + + * lib/progname.h (set_program_name): Undefine before defining. + +2006-10-25 Bruno Haible + + * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to + false for non-gcc C++ compilers. + Reported by Nelson H. F. Beebe . + +2006-10-24 Bruno Haible + + * lib/striconv.c (mem_cd_iconv, str_cd_iconv): Treat all non-GNU + iconv implementations like Irix iconv. + +2006-10-24 Paul Eggert + + * modules/vararrays: New file. + * m4/vararrays.m4: New file, taken from diffutils. + * MODULES.html.sh: New module vararrays. + +2006-10-24 Karl Berry + + * doc/gnulib-intro.texi: --- instead of --; non-naive naive. + Don't call GNU Unix. + +2006-10-24 Ralf Wildenhues + + * users.txt: Add Libtool. + + Sync from Libtool: + + 2006-10-24 Paul Eggert + + * lib/argz.c: Remove check for HAVE_CONFIG_H, to conform + to gnulib's policy of including config.h unconditionally. + +2006-10-24 Bruno Haible + + * modules/wcwidth (Files): Add m4/wint_t.m4. + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Require gt_TYPE_WINT_T. + * lib/wcwidth.h (iswprint): Use 'int' if 'wint_t' is not defined. + +2006-10-24 Paul Eggert + + * lib/getdate.y (yyerror): Make the arguments pointer-to-const, + to pacify GCC with some -W flags enabled. Problem reported by + Bruno Haible. + +2006-10-24 Jim Meyering + + * MODULES.html.sh: Remove uinttostr. It's not a module. + Reported by Karl Berry. + +2006-10-23 Bruno Haible + + * lib/fts.c (fts_build): Move variable declaration, for C89 compliance. + +2006-10-24 Bruno Haible + + * lib/gl_list.h: Use C comment style, not C++ comment style. + +2006-10-23 Eric Blake + + * lib/getaddrinfo.c (includes): Add missing include. + +2006-10-23 Bruno Haible + Paul Eggert + + Ability to rename obstack_free. + * lib/obstack.h (__obstack_free): New macro. Declare instead of + obstack_free. + (obstack_free): Invoke the __obstack_free macro. + * lib/obstack.c (obstack_free): Use __obstack_free macro. + +2006-10-23 Bruno Haible + Paul Eggert + + * lib/argp.h (argp_parse, __argp_parse): Comment out the identifiers + __argc, __argv from the declaration. (They are defined as macros on + mingw.) + +2006-10-22 Bruno Haible + + * doc/gnulib-intro.texi: New file. + * doc/gnulib.texi: Include it. + +2006-10-21 Bruno Haible + + * doc/gnulib.texi: Split the chapter "Gnulib" into 3 chapters + "Introduction", "Miscellanous Notes", "Particular Modules". + +2006-10-21 Bruno Haible + + * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): + Change mostlyclean-local rule to avoid sh syntax error from bash + versions 2.00..2.05 when $(MOSTLYCLEANDIRS) is empty. + +2006-10-23 Jim Meyering + + * lib/getaddrinfo.c (getnameinfo): Use new lightweight uinttostr, + in place of snprintf. + + * modules/inttostr (Files): Add lib/uinttostr.c. + * lib/uinttostr.c (inttostr): New file/function. + * lib/inttostr.h (uinttostr): Declare. + * m4/inttostr.m4: Add AC_LIBOBJ([uinttostr]). + * MODULES.html.sh (Numeric conversion functions ): + Add uinttostr. + * modules/getaddrinfo (Depends-on): Remove snprintf. Add inttostr. + +2006-10-21 Paul Eggert + + * lib/canonicalize.c (ELOOP): Define if not already defined. + Problem reported by Bruno Haible in + . + +2006-10-21 Paul Eggert + + * lib/stdint_.h [defined _AIX]: Don't include . + Problem reported by Perry Smith and Ville Laurikari. + + * lib/getndelim2.c (SSIZE_MAX): Use same defn that getdelim.c + uses. + +2006-10-19 Bruno Haible + + * lib/getndelim2.c (SSIZE_MAX): Provide fallback definition. Needed + for mingw. + +2006-10-19 Bruno Haible + + * lib/openat-priv.h (EOPNOTSUPP): Provide fallback definition. + Needed for mingw. + +2006-10-19 Bruno Haible + + * m4/size_max.m4 (gl_SIZE_MAX): Cache the result. + +2006-10-19 Bruno Haible + + * m4/allocsa.m4 (gl_ALLOCSA): Invoke gl_FUNC_ALLOCA, don't AC_REQUIRE + it. + +2006-10-19 Bruno Haible + + * m4/alloca.m4 (gl_FUNC_ALLOCA): Cache the result of the AC_EGREP_CPP + invocation. + +2006-10-19 Bruno Haible + + * gnulib-tool (func_create_testdir): Don't include ftruncate and + mountlist by default. + 2006-10-16 Bruno Haible * lib/c-strstr.c: Include c-strstr.h. @@ -1543,7 +2156,7 @@ * lib/mkdir-p.c: Include dirname.h, for IS_ABSOLUTE_FILE_NAME. (make_dir_parents): Use a subprocess if necessary. New arg WD; all users changed. - * lib/savewd.c, savewd.h: New files. + * lib/savewd.c, lib/savewd.h: New files. 2006-09-15 Jim Meyering @@ -2069,7 +2682,7 @@ 2006-08-29 Paul Eggert - * lib/isapipe.c, isapipe.h: New files. + * lib/isapipe.c, lib/isapipe.h: New files. 2006-08-29 Jim Meyering @@ -3135,7 +3748,7 @@ * m4/cycle-check.m4: New file. Require gl_STRUCT_DEV_INO and gl_SAME_INODE. - * m4/dev-ino.m4, same-inode.m4: New files. + * m4/dev-ino.m4, m4/same-inode.m4: New files. 2006-08-10 Eric Blake @@ -3207,7 +3820,7 @@ 2006-08-08 Eric Blake - * lib/verror.h, verror.c: New files. + * lib/verror.h, lib/verror.c: New files. 2006-08-08 Eric Blake @@ -3548,7 +4161,7 @@ 2006-07-22 Paul Eggert - * lib/close-stream.c, close-stream.h: New files. + * lib/close-stream.c, lib/close-stream.h: New files. 2006-07-22 Bruno Haible @@ -3851,7 +4464,7 @@ * modules/oset: New file. * modules/array-oset: New file. * modules/avltree-oset, modules/avltree-oset-tests: New files. - * modules/rbtree-oset, rbtree-oset-tests: New files. + * modules/rbtree-oset, modules/rbtree-oset-tests: New files. * tests/test-carray_list.c: New file. * tests/test-linked_list.c: New file. * tests/test-avltree_list.c: New file. @@ -3920,8 +4533,8 @@ 2006-07-16 Paul Eggert - * lib/dirchownmod.c, dirchownmod.h, mkancesdirs.c, mkancesdirs.h: - New files. + * lib/dirchownmod.c, lib/dirchownmod.h, lib/mkancesdirs.c: + * lib/mkancesdirs.h: New files. * lib/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. @@ -5359,7 +5972,8 @@ 2006-04-18 Derek Price Paul Eggert - * m4/_inttypes_h.m4, full-header-path.m4, include_next: New files. + * m4/_inttypes_h.m4, m4/full-header-path.m4, m4/include_next.m4: + New files. 2006-04-18 Derek Price Paul Eggert @@ -6570,7 +7184,7 @@ * lib/version-etc.c (COPYRIGHT_YEAR): Update to 2006. - * lib/chdir-safer.h, chdir-safer.c: New files. + * lib/chdir-safer.h, lib/chdir-safer.c: New files. * lib/modechange.c (mode_compile): Reject an invalid mode string that starts with an octal digit. From Andreas Gruenbacher. @@ -6758,7 +7372,7 @@ 2005-12-16 Jim Meyering - * lib/fprintftime.c, fprintftime.h: New files. + * lib/fprintftime.c, lib/fprintftime.h: New files. 2005-12-15 Simon Josefsson @@ -6972,7 +7586,7 @@ * lib/gc-gnulib.c: Add MD2. Implement gc_hash_* API. - * lib/md2.h, md2.c: New files. + * lib/md2.h, lib/md2.c: New files. 2005-10-28 Paul Eggert @@ -7080,13 +7694,13 @@ 2005-10-21 Simon Josefsson - * lib/des.h, des.c: New files. + * lib/des.h, lib/des.c: New files. * lib/gc-gnulib.c: Support DES.c 2005-10-21 Simon Josefsson - * lib/arctwo.h, arctwo.c: New files. + * lib/arctwo.h, lib/arctwo.c: New files. * lib/gc-gnulib.c: Support ARCTWO. @@ -7183,7 +7797,7 @@ 2005-10-18 Simon Josefsson - * lib/md4.h, md4.c: New files, based on md5.?. + * lib/md4.h, lib/md4.c: New files, based on md5.?. 2005-10-17 Stepan Kasal @@ -7262,9 +7876,9 @@ 2005-10-15 Simon Josefsson - * lib/rijndael-api-fst.h, rijndael-api-fst.c: New files. + * lib/rijndael-api-fst.h, lib/rijndael-api-fst.c: New files. - * lib/rijndael-alg-fst.h, rijndael-alg-fst.c: New files. + * lib/rijndael-alg-fst.h, lib/rijndael-alg-fst.c: New files. 2005-10-14 Simon Josefsson @@ -7278,7 +7892,7 @@ 2005-10-14 Simon Josefsson - * lib/arcfour.h, arcfour.c: New files. + * lib/arcfour.h, lib/arcfour.c: New files. 2005-10-14 Roland McGrath @@ -7369,7 +7983,7 @@ 2005-10-12 Simon Josefsson - * m4/gc-md5.m4, gc-hmac-md5: New files. + * m4/gc-md5.m4, m4/gc-hmac-md5.m4: New files. * m4/gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5. @@ -7433,7 +8047,7 @@ 2005-10-11 Simon Josefsson - * lib/crc.h, crc.c: New files. + * lib/crc.h, lib/crc.c: New files. * lib/gc.h (gc_hash_buffer): Add doc. @@ -7530,7 +8144,7 @@ * lib/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also . - * lib/memxor.h, memxor.c: New files. + * lib/memxor.h, lib/memxor.c: New files. * lib/getaddrinfo.h: Don't protect sys/types.h with HAVE_SYS_TYPES_H, we assume all systems have it, suggested by Jim Meyering @@ -9123,7 +9737,7 @@ 2005-08-24 Jim Meyering Sync from coreutils. - * lib/fcntl--.h, fcntl-safer.h, open-safer.c: New files. + * lib/fcntl--.h, lib/fcntl-safer.h, lib/open-safer.c: New files. 2005-08-24 Jim Meyering @@ -9668,7 +10282,7 @@ * lib/getline.h, getline.c: Rewrite. - * lib/getdelim.h, getdelim.c: New files, ported from glibc. + * lib/getdelim.h, lib/getdelim.c: New files, ported from glibc. 2005-07-31 Bruno Haible @@ -9900,7 +10514,8 @@ 2005-07-07 Paul Eggert * lib/regex.c, regex.h: Sync from libc. - * lib/regcomp.c, regexec_internal.c, regex_internal.h, regexec.c: + * lib/regcomp.c, lib/regexec_internal.c, lib/regex_internal.h: + * lib/regexec.c: New files, synced from libc, except that regex_internal.h currently has a small porting fix. @@ -10009,7 +10624,7 @@ 2005-06-28 Simon Josefsson - * lib/check-version.h, check-version.c: New files. + * lib/check-version.h, lib/check-version.c: New files. 2005-06-28 Simon Josefsson @@ -10279,7 +10894,7 @@ 2005-05-29 Derek Price Paul Eggert - * lib/glob_.h, glob.c: New files. + * lib/glob_.h, lib/glob.c: New files. 2005-05-27 Paul Eggert @@ -10316,16 +10931,7 @@ 2005-05-25 Derek Price Paul Eggert - * modules/getlogin_r: New files. - -2005-05-25 Derek Price - Paul Eggert - - * m4/getlogin_r.m4: New files. - -2005-05-25 Derek Price - Paul Eggert - + * modules/getlogin_r, m4/getlogin_r.m4: New files. * lib/getlogin_r.c, getlogin_r.h: New files. 2005-05-25 Bruno Haible @@ -10475,7 +11081,7 @@ 2005-05-17 Jim Meyering - * lib/fts.c, fts_.h: New files, from coreutils. + * lib/fts.c, lib/fts_.h: New files, from coreutils. 2005-05-14 Paul Eggert @@ -10485,7 +11091,7 @@ 2005-05-14 Paul Eggert Sync from coreutils. - * lib/unlinkdir.c, unlinkdir.h: New files. + * lib/unlinkdir.c, lib/unlinkdir.h: New files. * lib/gethrxtime.c, lib/gethrxtime.h, lib/getpass.h, lib/mountlist.h, lib/path-concat.c, lib/regex.h, lib/unlocked-io.h, lib/xtime.h: White space changes only. @@ -11357,12 +11963,12 @@ 2005-02-25 Paul Eggert - * m4/gethrxtime.m4, xnanosleep.m4: New files. + * m4/gethrxtime.m4, m4/xnanosleep.m4: New files. * m4/gettime.m4 (gl_GETTIME): Check for nanotime. 2005-02-25 Paul Eggert - * lib/gethrxtime.h, gethrxtime.c, xtime.h: New files. + * lib/gethrxtime.h, lib/gethrxtime.c, lib/xtime.h: New files. * lib/timespec.h (gettime): Return void, since it always succeeds now. All uses changed. * lib/gettime.c (gettime) Likewise. @@ -11415,7 +12021,7 @@ 2005-02-22 Simon Josefsson - * lib/iconvme.h, iconvme.c: New files, from libc. + * lib/iconvme.h, lib/iconvme.c: New files, from libc. 2005-02-22 Simon Josefsson @@ -11692,7 +12298,7 @@ 2005-01-18 Jim Meyering Merge from coreutils. - * m4/chdir-long.m4, openat.m4: New files. + * m4/chdir-long.m4, m4/openat.m4: New files. * m4/save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c, save-cwd.h. Add AC_LIBOBJ for save-cwd. * m4/chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown @@ -12329,7 +12935,7 @@ 2004-11-10 Simon Josefsson - * lib/getaddrinfo.h, getaddrinfo.c: New files. + * lib/getaddrinfo.h, lib/getaddrinfo.c: New files. 2004-11-10 Simon Josefsson @@ -12771,7 +13377,7 @@ 2004-09-30 Simon Josefsson - * lib/snprintf.h, snprintf.c: New files. + * lib/snprintf.h, lib/snprintf.c: New files. 2004-09-30 Sergey Poznyakoff @@ -13086,7 +13692,7 @@ 2004-08-09 Paul Eggert - * m4/uint32_t.m4, uintptr_t.m4: New files. + * m4/uint32_t.m4, m4/uintptr_t.m4: New files. * m4/sha1.m4: Renamed from sha.m4. (gl_SHA1): Renamed from gl_SHA. All uses changed. @@ -13124,7 +13730,7 @@ 2004-08-08 Paul Eggert - * lib/xalloc-die.c: New files. + * lib/xalloc-die.c: New file. * lib/xalloc.h (xalloc_fail_func, xalloc_msg_memory_exhausted): Remove. All uses removed. * lib/xmalloc.c (xalloc_fail_func, xalloc_msg_memory_exhausted): @@ -13169,7 +13775,7 @@ More merge from coreutils. - * m4/utimens.m4, utimecmp.m4: New files. + * m4/utimens.m4, m4/utimecmp.m4: New files. * m4/backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4, fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4, prereq.m4, sha.m4: Import changes from coreutils. @@ -13177,8 +13783,8 @@ 2004-08-06 Paul Eggert More merge from coreutils. - * modules/raise, modules/readtokens0, modules/utimens, - modules/utimecmp, module/xnanosleep: New files. + * modules/raise, modules/readtokens0, modules/utimens: + * modules/utimecmp, module/xnanosleep: New files. * modules/strftime: Add lib/strftime.h. Change include from to "strftime.h". * modules/yesno: Add lib/yesno.h. @@ -13198,9 +13804,9 @@ we don't compile these functions for tar. More merges from coreutils. - * lib/raise.c, lib/readtokens0.h, lib/readtokens0.c, lib/strftime.h, - lib/utimens.h, lib/utimens.c, lib/utimecmp.h, lib/utimecmp.c, - lib/xnanosleep.h, lib/xnanosleep.c, lib/yesno.h: New files. + * lib/raise.c, lib/readtokens0.h, lib/readtokens0.c, lib/strftime.h: + * lib/utimens.h, lib/utimens.c, lib/utimecmp.h, lib/utimecmp.c: + * lib/xnanosleep.h, lib/xnanosleep.c, lib/yesno.h: New files. * lib/addext.c: Remove; no longer needed. * lib/yesno.c, lib/argmatch.h, lib/argmatch.c, lib/backupfile.h, lib/backupfile.c, lib/euidaccess.c, lib/filemode.c, lib/closeout.c, @@ -13233,8 +13839,8 @@ Merge from coreutils. - * m4/c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4: - New files. + * m4/c-strtod.m4, m4/canonicalize.m4, m4/fcntl-safer.m4: + * m4/getcwd-path-max.m4: New files. * m4/dos.m4 (gl_AC_DOS): filesystem -> file system renaming. FILESYSTEM_PREFIX_LEN -> @@ -13254,9 +13860,10 @@ * lib/.gdb-history: Remove; this doesn't belong here. - * lib/c-strtod.c, c-strtod.h, c-strtold.c, cycle-check.c, - cycle-check.h, dev-ino.h, canonicalize.h, canonicalize.c, - fcntl-safer.h, fcntl-safer.c, getcwd.c: New files. + * lib/c-strtod.c, lib/c-strtod.h, lib/c-strtold.c, lib/cycle-check.c: + * lib/cycle-check.h, lib/dev-ino.h, lib/canonicalize.h: + * lib/canonicalize.c, lib/fcntl-safer.h, lib/fcntl-safer.c: + * lib/getcwd.c: New files. * lib/dirname.h: Include . (FILE_SYSTEM_PREFIX_LEN): Renamed from FILESYSTEM_PREFIX_LEN, @@ -13293,8 +13900,8 @@ 2004-08-05 Paul Eggert Merge from coreutils. - * modules/c-strtod, modules/c-strtold, modules/canonicalize, - modules/cycle-check, modules/fcntl-safer, modules/getcwd: New files. + * modules/c-strtod, modules/c-strtold, modules/canonicalize: + * modules/cycle-check, modules/fcntl-safer, modules/getcwd: New files. * modules/path-concat: Don't depend on strdup. 2004-08-03 Simon Josefsson @@ -13391,7 +13998,8 @@ 2004-06-22 Paul Eggert - * lib/argz.c, argz_.h: New files, which are autoupdated from libtool. + * lib/argz.c, lib/argz_.h: New files, which are autoupdated from + libtool. 2004-06-22 Paul Eggert @@ -13790,8 +14398,8 @@ Merge from coreutils. - * lib/imaxtostr.c, inttostr.c, inttostr.h, offtostr.c, umaxtostr.c: - New files. + * lib/imaxtostr.c, lib/inttostr.c, lib/inttostr.h, lib/offtostr.c: + * lib/umaxtostr.c: New files. * lib/getdate.h: Include stdbool.h, and timespec.h instead of the usual dance. @@ -13896,7 +14504,7 @@ Include cloexec.h and xalloc.h. (getloadavg): Restore LC_NUMERIC locale after setting it temporarily. Use set_cloexec_flag rather than rolling our own. - * lib/cloexec.c, cloexec.h: New files. + * lib/cloexec.c, lib/cloexec.h: New files. 2004-03-29 Paul Eggert @@ -13961,7 +14569,7 @@ 2004-02-23 Karl Berry - * doc/maintain.texi, standards.texi, make-stds.texi: new files + * doc/maintain.texi, doc/standards.texi, doc/make-stds.texi: new files (from fencepost.gnu.org:/gd/gnuorg). 2004-02-23 Karl Berry @@ -14124,7 +14732,7 @@ 2004-01-18 Karl Berry - * doc/gpl.texi, lgpl.texi: new files. + * doc/gpl.texi, doc/lgpl.texi: new files. 2004-01-18 Karl Berry @@ -15730,7 +16338,7 @@ 2003-09-06 Paul Eggert - * lib/time_r.c, time_r.h: New files. + * lib/time_r.c, lib/time_r.h: New files. * lib/mktime.c (my_mktime_localtime_r): Remove; all uses changed to __localtime_r. @@ -18981,7 +19589,7 @@ 2002-06-22 Jim Meyering - * lib/c-stack.c, c-stack.h: New files, from diffutils-2.8.2. + * lib/c-stack.c, lib/c-stack.h: New files, from diffutils-2.8.2. * lib/exitfail.c, exitfail.h: Likewise. * lib/Makefile.am (libfetish_a_SOURCES): Add exitfail.c and exitfail.h. @@ -19132,7 +19740,7 @@ 2002-04-28 Paul Eggert - * lib/sig2str.h, sig2str.c: New files. + * lib/sig2str.h, lib/sig2str.c: New files. * lib/Makefile.am (libfetish_a_SOURCES): Add sig2str.h. 2002-04-28 Paul Eggert @@ -19239,7 +19847,7 @@ 2002-02-25 Paul Eggert - * lib/acl.c, acl.h: New files. + * lib/acl.c, lib/acl.h: New files. * lib/Makefile.am (libfetish_a_SOURCES): Add acl.h, acl.c. 2002-02-24 Jim Meyering @@ -19282,7 +19890,7 @@ 2002-02-15 Paul Eggert - * lib/posixver.c, posixver.h: New files. + * lib/posixver.c, lib/posixver.h: New files. * lib/Makefile.am (libfetish_a_SOURCES): Add them. 2002-02-02 Paul Eggert @@ -19318,7 +19926,7 @@ 2002-01-21 Paul Eggert - * lib/xmemcoll.h, xmemcoll.c: New files. + * lib/xmemcoll.h, lib/xmemcoll.c: New files. * lib/Makefile.am (libfetish_a_SOURCES): Add them. * lib/memcoll.c: Include errno.h, and declare errno if not defined. (memcoll): Set errno to zero if there is no error. @@ -19610,7 +20218,7 @@ 2001-11-01 Jim Meyering - * lib/dirfd.c, dirfd.h: New files. + * lib/dirfd.c, lib/dirfd.h: New files. * lib/Makefile.am (libfetish_a_SOURCES): Add dirfd.h. * lib/hash.c (hash_print) [TESTING]: Clean up. @@ -20554,8 +21162,8 @@ Add dup-safer.c, fopen-safer.c. (noinst_HEADERS): Add stdio-safer.h, unistd-safer.h. - * lib/dup-safer.c, lib/fopen-safer.c, lib/stdio-safer.h, - lib/unistd-safer.h: New files. + * lib/dup-safer.c, lib/fopen-safer.c, lib/stdio-safer.h: + * lib/unistd-safer.h: New files. 2001-02-25 Paul Eggert @@ -20588,7 +21196,7 @@ * lib/mkstemp.c (__GT_FILE): Define to zero if not defined. - * lib/mkstemp.c, tempname.c: New files, taken from glibc 2.2.2. + * lib/mkstemp.c, lib/tempname.c: New files, taken from glibc 2.2.2. 2001-02-18 Paul Eggert @@ -20822,7 +21430,7 @@ 2000-12-18 Paul Eggert - * lib/physmem.h, physmem.c: New files. + * lib/physmem.h, lib/physmem.c: New files. * lib/Makefile.am (libfetish_a_SOURCES): Add physmem.c. (noinst_HEADERS): Add physmem.h. @@ -21401,7 +22009,7 @@ * lib/basename.c (base_name): Add an assertion. -2000-07-23 Bruno Haible +2000-07-23 Bruno Haible * lib/quotearg.c: When the system forces us to redefine mbstate_t, shadow its mbsinit function. @@ -22259,7 +22867,7 @@ * lib/config.charset: Output a line containing "Packages using this file". - * lib/ref-add.sed.in, ref-del.sed.in: New files. + * lib/ref-add.sed.in, lib/ref-del.sed.in: New files. * lib/Makefile.am (install-exec-local, uninstall-local, ref-add.sed, ref-del.sed): New rules. @@ -22353,7 +22961,7 @@ * lib/config.charset: New file. * lib/localcharset.c: New file. - * lib/unicodeio.h, unicodeio.c: New files. + * lib/unicodeio.h, lib/unicodeio.c: New files. * lib/Makefile.am (DEFS): Add -DLIBDIR=... (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c. (noinst_HEADERS): Add unicodeio.h.