+2007-10-06 Bruno Haible <bruno@clisp.org>
+
+ * modules/freopen-tests: New file.
+ * tests/test-freopen.c: New file.
+
+ * modules/fopen-tests: New file.
+ * tests/test-fopen.c: New file.
+
+ * modules/fopen: New file.
+ * lib/fopen.c: New file.
+ * m4/fopen.m4: New file.
+ * modules/freopen: New file.
+ * lib/freopen.c: New file.
+ * m4/freopen.m4: New file.
+ * lib/stdio.in.h (fopen, freopen): New declarations.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize also GNULIB_FOPEN,
+ GNULIB_FREOPEN, REPLACE_FOPEN, REPLACE_FREOPEN.
+ * modules/stdio (Makefile.am): Substitute also GNULIB_FOPEN,
+ GNULIB_FREOPEN, REPLACE_FOPEN, REPLACE_FREOPEN.
+ * doc/functions/fopen.texi: Mention the 'fopen' module.
+ * doc/functions/freopen.texi: Mention the 'freopen' module.
+
+2007-10-06 Bruno Haible <bruno@clisp.org>
+
+ * modules/open-tests: New file.
+ * tests/test-open.c: New file.
+
+ * modules/open: New file.
+ * lib/open.c: New file.
+ * m4/open.m4: New file.
+ * lib/fchdir.c (open): If the gnulib module 'open' is used, do what
+ lib/open.c does.
+ * lib/fcntl.in.h (open): Declare also if replaced by the 'open' module.
+ * m4/fcntl_h.m4 (gl_FCNTL_MODULE_INDICATOR, gl_FCNTL_H_DEFAULTS): New
+ macros.
+ (gl_FCNTL_H): Require gl_FCNTL_H_DEFAULTS.
+ * modules/fcntl (Makefile.am): Also substitute GNULIB_OPEN and
+ REPLACE_OPEN.
+ * doc/functions/open.texi: Mention the 'open' module.
+
+2007-10-04 Bruno Haible <bruno@clisp.org>
+
+ * modules/ceill-tests: New file.
+ * tests/test-ceill.c: New file.
+
+ * modules/ceill: New file.
+ * lib/ceill.c: Replace entire file.
+ * m4/ceill.m4: New file.
+ * lib/math.in.h (ceill): Replace declaration.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_CEILL.
+ * modules/math (Makefile.am): Substitute also GNULIB_CEILL.
+ * doc/functions/ceill.texi: Mention the 'ceill' module.
+ * modules/mathl (Files): Remove lib/ceill.c.
+ (Depends-on): Add ceill.
+
+2007-10-04 Bruno Haible <bruno@clisp.org>
+
+ * modules/ceilf-tests: New file.
+ * tests/test-ceilf.c: New file.
+
+ * modules/ceilf: New file.
+ * lib/ceil.c: New file.
+ * lib/ceilf.c: New file.
+ * m4/ceilf.m4: New file.
+ * lib/math.in.h (ceilf): New declaration.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_CEILF and
+ HAVE_DECL_CEILF.
+ * modules/math (Makefile.am): Substitute also GNULIB_CEILF and
+ HAVE_DECL_CEILF.
+ * doc/functions/ceilf.texi: Mention the 'ceilf' module.
+
+2007-10-04 Bruno Haible <bruno@clisp.org>
+
+ * modules/floorl-tests: New file.
+ * tests/test-floorl.c: New file.
+
+ * modules/floorl: New file.
+ * lib/floorl.c: Replace entire file.
+ * m4/floorl.m4: New file.
+ * lib/math.in.h (floorl): Replace declaration.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FLOORL.
+ * modules/math (Makefile.am): Substitute also GNULIB_FLOORL.
+ * doc/functions/floorl.texi: Mention the 'floorl' module.
+ * modules/mathl (Files): Remove lib/floorl.c.
+ (Depends-on): Add floorl.
+
+2007-10-04 Bruno Haible <bruno@clisp.org>
+
+ * modules/floorf-tests: New file.
+ * tests/test-floorf.c: New file.
+
+ * modules/floorf: New file.
+ * lib/floor.c: New file.
+ * lib/floorf.c: New file.
+ * m4/floorf.m4: New file.
+ * lib/math.in.h (floorf): New declaration.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_FLOORF and
+ HAVE_DECL_FLOORF.
+ * modules/math (Makefile.am): Substitute also GNULIB_FLOORF and
+ HAVE_DECL_FLOORF.
+ * doc/functions/floorf.texi: Mention the 'floorf' module.
+
+2007-10-04 Benoit Sigoure <tsuna@lrde.epita.fr>
+ Bruno Haible <bruno@clisp.org>
+
+ Advertise for the Git server instead of the CVS server.
+ * doc/gnulib-intro.texi (Steady Development): Mention the Git
+ repository instead of the CVS one.
+ * doc/gnulib-tool.texi (VCS Issues): Renamed from "CVS Issues". Talk
+ about all VCS systems generically.
+ * doc/gnulib.texi (Introduction): Capitalize `Git'.
+
+2007-10-04 Bruno Haible <bruno@clisp.org>
+
+ * doc/gnulib.texi (Function Substitutes): Explain what an absent module
+ means.
+ Reported by BenoƮt Sigoure <tsuna@lrde.epita.fr>.
+
+2007-10-04 Bruno Haible <bruno@clisp.org>
+
+ * modules/truncl-tests: New file.
+ * tests/test-truncl.c: New file.
+
+ * modules/truncl: New file.
+ * lib/truncl.c: New file.
+ * m4/truncl.m4: New file.
+ * lib/math.in.h (truncl): New declaration.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_TRUNCL and
+ HAVE_DECL_TRUNCL.
+ * modules/math (Makefile.am): Substitute also GNULIB_TRUNCL and
+ HAVE_DECL_TRUNCL.
+ * doc/functions/truncl.texi: Mention the 'truncl' module.
+
+2007-10-04 Bruno Haible <bruno@clisp.org>
+
+ * modules/truncf-tests: New file.
+ * tests/test-truncf.c: New file.
+
+ * modules/truncf: New file.
+ * lib/trunc.c: Make paramerizable through USE_* macros.
+ * lib/truncf.c: New file.
+ * m4/truncf.m4: New file.
+ * lib/math.in.h (truncf): New declaration.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_TRUNCF and
+ HAVE_DECL_TRUNCF.
+ * modules/math (Makefile.am): Substitute also GNULIB_TRUNCF and
+ HAVE_DECL_TRUNCF.
+ * doc/functions/truncf.texi: Mention the 'truncf' module.
+
+2007-10-03 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_get_automake_snippet): Synthesize an EXTRA_DIST
+ augmentation also for tests modules.
+ * modules/argp-tests (Makefile.am): Remove EXTRA_DIST augmentation.
+ * modules/atexit-tests (Makefile.am): Likewise.
+ * modules/binary-io-tests (Makefile.am): Likewise.
+ * modules/c-strcase-tests (Makefile.am): Likewise.
+ * modules/canonicalize-lgpl-tests (Makefile.am): Likewise.
+ * modules/canonicalize-tests (Makefile.am): Likewise.
+ * modules/closein-tests (Makefile.am): Likewise.
+ * modules/fprintf-posix-tests (Makefile.am): Likewise.
+ * modules/freadahead-tests (Makefile.am): Likewise.
+ * modules/fseek-tests (Makefile.am): Likewise.
+ * modules/fseeko-tests (Makefile.am): Likewise.
+ * modules/ftell-tests (Makefile.am): Likewise.
+ * modules/ftello-tests (Makefile.am): Likewise.
+ * modules/isnanl-nolibm-tests (Makefile.am): Likewise.
+ * modules/isnanl-tests (Makefile.am): Likewise.
+ * modules/lseek-tests (Makefile.am): Likewise.
+ * modules/mbscasecmp-tests (Makefile.am): Likewise.
+ * modules/mbscasestr-tests (Makefile.am): Likewise.
+ * modules/mbschr-tests (Makefile.am): Likewise.
+ * modules/mbscspn-tests (Makefile.am): Likewise.
+ * modules/mbsncasecmp-tests (Makefile.am): Likewise.
+ * modules/mbspbrk-tests (Makefile.am): Likewise.
+ * modules/mbspcasecmp-tests (Makefile.am): Likewise.
+ * modules/mbsrchr-tests (Makefile.am): Likewise.
+ * modules/mbsspn-tests (Makefile.am): Likewise.
+ * modules/mbsstr-tests (Makefile.am): Likewise.
+ * modules/printf-posix-tests (Makefile.am): Likewise.
+ * modules/snprintf-posix-tests (Makefile.am): Likewise.
+ * modules/sprintf-posix-tests (Makefile.am): Likewise.
+ * modules/tsearch-tests (Makefile.am): Likewise.
+ * modules/uniname/uniname-tests (Makefile.am): Likewise.
+ * modules/unistdio/u16-vasnprintf-tests (Makefile.am): Likewise.
+ * modules/unistdio/u32-vasnprintf-tests (Makefile.am): Likewise.
+ * modules/unistdio/u8-vasnprintf-tests (Makefile.am): Likewise.
+ * modules/unistdio/ulc-vasnprintf-tests (Makefile.am): Likewise.
+ * modules/vasnprintf-posix-tests (Makefile.am): Likewise.
+ * modules/vfprintf-posix-tests (Makefile.am): Likewise.
+ * modules/vprintf-posix-tests (Makefile.am): Likewise.
+ * modules/vsnprintf-posix-tests (Makefile.am): Likewise.
+ * modules/vsprintf-posix-tests (Makefile.am): Likewise.
+ * modules/xstrtoimax-tests (Makefile.am): Likewise.
+ * modules/xstrtol-tests (Makefile.am): Likewise.
+ * modules/xstrtoumax-tests (Makefile.am): Likewise.
+ * modules/yesno-tests (Makefile.am): Likewise.
+
+2007-10-03 Bruno Haible <bruno@clisp.org>
+
+ * modules/trunc-tests: New file.
+ * tests/test-trunc.c: New file.
+
+ * modules/trunc: New file.
+ * lib/trunc.c: New file.
+ * m4/trunc.m4: New file.
+ * lib/math.in.h (trunc): New declaration.
+ * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_TRUNC and
+ HAVE_DECL_TRUNC.
+ * modules/math (Makefile.am): Substitute also GNULIB_TRUNC and
+ HAVE_DECL_TRUNC.
+ * doc/functions/trunc.texi: Mention the 'trunc' module.
+
+2007-10-03 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-fpending.c: New file, mostly copied
+ from coreutils/lib/t-fpending.c.
+ * modules/fpending-tests: New file.
+
+2007-10-03 Bruno Haible <bruno@clisp.org>
+
+ Port the stdio extensions to QNX (untested).
+ * lib/fseterr.c (fseterr): Add support for QNX.
+ * lib/fbufmode.c (fbufmode): Likewise.
+ * lib/freadable.c (freadable): Likewise.
+ * lib/fwritable.c (fwritable): Likewise.
+ * lib/freading.c (freading): Likewise.
+ * lib/fwriting.c (fwriting): Likewise.
+ * lib/freadahead.c (freadahed): Likewise.
+ * lib/fpurge.c (fpurge): Likewise.
+ * lib/fseeko.c (rpl_fseeko): Likewise.
+
+2007-10-03 Bruno Haible <bruno@clisp.org>
+ Jim Meyering <jim@meyering.net>
+ Eric Blake <ebb9@byu.net>
+
+ * doc/relocatable.texi: Use @command instead of @program.
+
+2007-10-02 Jim Meyering <jim@meyering.net>
+
+ Perform one more "_.h" -> ".in.h" substitution.
+ * modules/unistd (Makefile.am) [unistd.h]: Use unistd.h.in
+ instead of unistd_.h here, too.
+
+2007-10-01 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_emit_initmacro_done): Special case for alloca.c.
+ Needed for the alloca-opt module.
+
+2007-09-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/alloca.in.h: Renamed from lib/alloca_.h.
+ * modules/alloca-opt (Files, Makefile.am): Use alloca.in.h instead of
+ alloca_.h.
+ * lib/argz.in.h: Renamed from lib/argz_.h.
+ * modules/argz (Files, Makefile.am): Use argz.in.h instead of argz_.h.
+ * lib/byteswap.in.h: Renamed from lib/byteswap_.h.
+ * modules/byteswap (Files, Makefile.am): Use byteswap.in.h instead of
+ byteswap_.h.
+ * lib/dirent.in.h: Renamed from lib/dirent_.h.
+ * modules/fchdir (Files, Makefile.am): Use dirent.in.h instead of
+ dirent_.h.
+ * lib/fcntl.in.h: Renamed from lib/fcntl_.h.
+ * modules/fcntl (Files, Makefile.am): Use fcntl.in.h instead of
+ fcntl_.h.
+ * lib/float.in.h: Renamed from lib/float_.h.
+ * modules/float (Files, Makefile.am): Use float.in.h instead of
+ float_.h.
+ * lib/fnmatch.in.h: Renamed from lib/fnmatch_.h.
+ * modules/fnmatch (Files, Makefile.am): Use fnmatch.in.h instead of
+ fnmatch_.h.
+ * lib/getopt.in.h: Renamed from lib/getopt_.h.
+ * modules/getopt (Files, Makefile.am): Use getopt.in.h instead of
+ getopt_.h.
+ * lib/glob.in.h: Renamed from lib/glob_.h.
+ * modules/glob (Files, Makefile.am): Use glob.in.h instead of glob_.h.
+ * lib/iconv.in.h: Renamed from lib/iconv_.h.
+ * modules/iconv_open (Files, Makefile.am): Use iconv.in.h instead of
+ iconv_.h.
+ * lib/inttypes.in.h: Renamed from lib/inttypes_.h.
+ * modules/inttypes (Files, Makefile.am): Use inttypes.in.h instead of
+ inttypes_.h.
+ * lib/locale.in.h: Renamed from lib/locale_.h.
+ * modules/locale (Files, Makefile.am): Use locale.in.h instead of
+ locale_.h.
+ * lib/math.in.h: Renamed from lib/math_.h.
+ * modules/math (Files, Makefile.am): Use math.in.h instead of math_.h.
+ * lib/netinet_in.in.h: Renamed from lib/netinet_in_.h.
+ * modules/netinet_in (Files, Makefile.am): Use netinet_in.in.h instead
+ of netinet_in_.h. Add dependency.
+ * lib/poll.in.h: Renamed from lib/poll_.h.
+ * modules/poll (Files, Makefile.am): Use poll.in.h instead of poll_.h.
+ * lib/search.in.h: Renamed from lib/search_.h.
+ * modules/search (Files, Makefile.am): Use search.in.h instead of
+ search_.h.
+ * lib/signal.in.h: Renamed from lib/signal_.h.
+ * modules/signal (Files, Makefile.am): Use signal.in.h instead of
+ _signal.h.
+ * lib/stdbool.in.h: Renamed from lib/stdbool_.h.
+ * modules/stdbool (Files, Makefile.am): Use stdbool.in.h instead of
+ stdbool_.h.
+ * lib/stdint.in.h: Renamed from lib/stdint_.h.
+ * modules/stdint (Files, Makefile.am): Use stdint.in.h instead of
+ stdint_.h.
+ * lib/stdio.in.h: Renamed from lib/stdio_.h.
+ * modules/stdio (Files, Makefile.am): Use stdio.in.h instead of
+ stdio_.h.
+ * lib/stdlib.in.h: Renamed from lib/stdlib_.h.
+ * modules/stdlib (Files, Makefile.am): Use stdlib.in.h instead of
+ stdlib_.h.
+ * lib/string.in.h: Renamed from lib/string_.h.
+ * modules/string (Files, Makefile.am): Use string.in.h instead of
+ string_.h.
+ * doc/gnulib-tool.texi (Initial import): Update.
+ * lib/sys_select.in.h: Renamed from lib/sys_select_.h.
+ * modules/sys_select (Files, Makefile.am): Use sys_select.in.h instead
+ of sys_select_.h. Add dependency.
+ * lib/sys_socket.in.h: Renamed from lib/sys_socket_.h.
+ * modules/sys_socket (Files, Makefile.am): Use sys_socket.in.h instead
+ of sys_socket_.h.
+ * lib/sys_stat.in.h: Renamed from lib/sys_stat_.h.
+ * modules/sys_stat (Files, Makefile.am): Use sys_stat.in.h instead of
+ sys_stat_.h.
+ * lib/sys_time.in.h: Renamed from lib/sys_time_.h.
+ * modules/sys_time (Files, Makefile.am): Use sys_time.in.h instead of
+ sys_time_.h.
+ * lib/sysexits.in.h: Renamed from lib/sysexits_.h.
+ * modules/sysexits (Files, Makefile.am): Use sysexits.in.h instead of
+ sysexits_.h.
+ * lib/time.in.h: Renamed from lib/time_.h.
+ * modules/time (Files, Makefile.am): Use time.in.h instead of time_.h.
+ * lib/unistd.in.h: Renamed from lib/unistd_.h.
+ * modules/unistd (Files, Makefile.am): Use unistd.in.h instead of
+ unistd_.h.
+ * lib/wchar.in.h: Renamed from lib/wchar_.h.
+ * modules/wchar (Files, Makefile.am): Use wchar.in.h instead of
+ wchar_.h.
+ * lib/wctype.in.h: Renamed from lib/wctype_.h.
+ * modules/wctype (Files, Makefile.am): Use wctype.in.h instead of
+ wctype_.h.
+ * build-aux/bootstrap (slurp): Update.
+ * lib/.cppi-disable: Update.
+
+2007-09-30 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-getaddrinfo.c (AF_UNSPEC): Provide a fallback definition.
+ Needed on BeOS.
+
+2007-09-30 Bruno Haible <bruno@clisp.org>
+
+ * modules/dirname-tests (check_PROGRAMS): Renamed from noinst_PROGRAMS.
+
+2007-09-29 Bruno Haible <bruno@clisp.org>
+
+ * lib/stdio_.h (getdelim, getline): Add identifiers. Doc tweak.
+
+2007-09-29 Bruno Haible <bruno@clisp.org>
+
+ * lib/xreadlink.c (xreadlink): Simplify to a wrapper around areadlink.
+ * modules/xreadlink (Depends-on): Add areadlink, remove readlink etc.
+ * build-aux/install-reloc: Compile also areadlink.c.
+ * modules/relocatable-prog-wrapper (Files): Add lib/areadlink.[hc].
+
+2007-09-29 Bruno Haible <bruno@clisp.org>
+
+ * gnulib-tool (func_emit_initmacro_done): Indentation.
+
+2007-09-29 Bruno Haible <bruno@clisp.org>
+
+ * README: Add CVS checkout update instructions.
+ Info from Bob Proulx <bob@proulx.com>.
+
+2007-09-28 Eric Blake <ebb9@byu.net>
+
+ Provide move-if-change.
+ * build-aux/move-if-change: New file, based on best practice
+ rather than any canonical upstream location.
+
+2007-09-28 Jim Meyering <jim@meyering.net>
+
+ Fix canonicalize loop-detection corner case.
+ Do not attempt to stat the symlink values stored via seen_triple.
+ Without this, coreutils' tests/misc/readlink-fp-loop test would fail
+ on linux-2.6.18, (but not 2.6.22).
+ * lib/canonicalize.c (seen_triple): Use triple_compare_ino_str, not
+ triple_compare. The former compares dev,ino,filename, while the latter
+ would actually stat dirname(filename) when dev and ino were equal.
+ * lib/hash-triple.c: Install <string.h>.
+ (STREQ): Define.
+ (triple_compare_ino_str): New function.
+ * lib/hash-triple.h (triple_compare_ino_str): Declare it.
+
+2007-09-28 Eric Blake <ebb9@byu.net>
+
+ Enforce that AC_REPLACE_FUNCS files exist.
+ * gnulib-tool (func_emit_initmacro_done): Make AC_LIBSOURCES
+ override check for typos.
+
+ Fix test-closein on Solaris 10.
+ * tests/test-closein.c (main): Don't assume stdin can be inherited
+ closed on all systems.
+ * tests/test-closein.sh: Likewise.
+ Reported by Piotr Tarnowski.
+
+2007-09-28 Jim Meyering <jim@meyering.net>
+
+ * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Fix typo in comment.
+
+2007-09-27 Jim Meyering <jim@meyering.net>
+
+ canonicalize: Avoid a false-positive cycle failure.
+ * modules/canonicalize (Depends-on): Add file-set and hash-triple.
+ Sort. Remove cycle-check.
+ * lib/canonicalize.c: Include file-set.h and hash-triple.h,
+ not cycle-check.h.
+ (seen_triple): New function.
+ (canonicalize_filename_mode): Use it instead of cycle-check.
+ * tests/test-canonicalize.c: Add a test for this bug.
+ * tests/test-canonicalize.sh: Set up and run the test.
+
+ New module, file-set, from coreutils.
+ * modules/file-set: Define it.
+ * lib/file-set.c, lib/file-set.h: Implement.
+
+ New module, hash-triple, from coreutils.
+ * modules/hash-triple: Define it.
+ * lib/hash-triple.c, lib/hash-triple.h: Implement.
+
+2007-09-25 Eric Blake <ebb9@byu.net>
+
+ Fix strerror on Interix.
+ * lib/string_.h (strerror): Declare replacement.
+ * doc/functions/strerror.texi (strerror): Document the Interix
+ shortcoming.
+ * modules/string (Makefile.am): Support new hooks.
+ * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Add new hooks.
+ * m4/strerror.m4 (gl_FUNC_STRERROR): Defer to
+ gl_FUNC_STRERROR_SEPARATE.
+ (gl_FUNC_STRERROR_SEPARATE): Check for Interix bug.
+ * lib/strerror.c (rpl_strerror): Provide replacement.
+ * modules/strerror (Depends-on): Add string.
+ (configure.ac): Detect use of module.
+ * tests/test-strerror.c: New file.
+ * modules/strerror-tests: New test module.
+ * modules/argp (Depends-on): Add strerror.
+ * modules/error (Depends-on): Likewise.
+ Reported by Martin Koeppe.
+
+2007-09-24 Bruno Haible <bruno@clisp.org>
+
+ * README: Update git instructions.
+
+2007-09-24 Eric Blake <ebb9@byu.net>
+
+ Revert fpending breakage from 2007-09-08.
+ * m4/fpending.m4 (gl_FUNC_FPENDING): Don't require existence of
+ __fpending.c.
+
+2007-09-24 Jim Meyering <jim@meyering.net>
+
+ filenamecat.c: Add a test.
+ * lib/filenamecat.c (main) [TEST_FILE_NAME_CONCAT]: Add a test
+ showing how the function works when DIR is the empty string.
+
2007-09-21 Simon Josefsson <simon@josefsson.org>
* tests/test-canonicalize.sh: Turn on executable bit.