gnulib.git
16 years agoRename signal_.h to signal.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:26:06 +0000 (00:26 +0200)]
Rename signal_.h to signal.in.h.

16 years agoRename search_.h to search.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:24:48 +0000 (00:24 +0200)]
Rename search_.h to search.in.h.

16 years agoRename poll_.h to poll.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:23:40 +0000 (00:23 +0200)]
Rename poll_.h to poll.in.h.

16 years agoRename netinet_in_.h to netinet_in.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:22:31 +0000 (00:22 +0200)]
Rename netinet_in_.h to netinet_in.in.h.

16 years agoRename math_.h to math.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:21:15 +0000 (00:21 +0200)]
Rename math_.h to math.in.h.

16 years agoRename locale_.h to locale.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:19:59 +0000 (00:19 +0200)]
Rename locale_.h to locale.in.h.

16 years agoRename inttypes_.h to inttypes.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:18:55 +0000 (00:18 +0200)]
Rename inttypes_.h to inttypes.in.h.

16 years agoRename iconv_.h to iconv.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:17:23 +0000 (00:17 +0200)]
Rename iconv_.h to iconv.in.h.

16 years agoRename glob_.h to glob.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:16:21 +0000 (00:16 +0200)]
Rename glob_.h to glob.in.h.

16 years agoRename getopt_.h to getopt.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:14:33 +0000 (00:14 +0200)]
Rename getopt_.h to getopt.in.h.

16 years agoRename fnmatch_.h to fnmatch.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:13:04 +0000 (00:13 +0200)]
Rename fnmatch_.h to fnmatch.in.h.

16 years agoRename float_.h to float.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:11:20 +0000 (00:11 +0200)]
Rename float_.h to float.in.h.

16 years agoRename fcntl_.h to fcntl.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:10:04 +0000 (00:10 +0200)]
Rename fcntl_.h to fcntl.in.h.

16 years agoRename dirent_.h to dirent.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:08:48 +0000 (00:08 +0200)]
Rename dirent_.h to dirent.in.h.

16 years agoRename byteswap_.h to byteswap.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:07:19 +0000 (00:07 +0200)]
Rename byteswap_.h to byteswap.in.h.

16 years agoRename argz_.h to argz.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:05:40 +0000 (00:05 +0200)]
Rename argz_.h to argz.in.h.

16 years agoRename alloca_.h to alloca.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:03:53 +0000 (00:03 +0200)]
Rename alloca_.h to alloca.in.h.

16 years agoIgnore files created by makeinfo or texi2dvi.
Bruno Haible [Sun, 30 Sep 2007 23:06:50 +0000 (01:06 +0200)]
Ignore files created by makeinfo or texi2dvi.

16 years agoMake the test compile on BeOS.
Bruno Haible [Sun, 30 Sep 2007 13:54:30 +0000 (15:54 +0200)]
Make the test compile on BeOS.

16 years agoUse check_PROGRAMS instead of noinst_PROGRAMS.
Bruno Haible [Sun, 30 Sep 2007 11:15:40 +0000 (13:15 +0200)]
Use check_PROGRAMS instead of noinst_PROGRAMS.

16 years agoTweak doc of getdelim and getline declarations.
Bruno Haible [Sun, 30 Sep 2007 03:53:48 +0000 (05:53 +0200)]
Tweak doc of getdelim and getline declarations.

16 years agoChange xreadlink module to use areadlink.
Bruno Haible [Sun, 30 Sep 2007 02:17:42 +0000 (04:17 +0200)]
Change xreadlink module to use areadlink.

16 years agom4 macro indentation.
Bruno Haible [Sat, 29 Sep 2007 23:23:51 +0000 (01:23 +0200)]
m4 macro indentation.

16 years agoRemove execute permission.
Bruno Haible [Sat, 29 Sep 2007 23:06:17 +0000 (01:06 +0200)]
Remove execute permission.

16 years agoAdd CVS checkout update instructions.
Bruno Haible [Sat, 29 Sep 2007 22:59:45 +0000 (00:59 +0200)]
Add CVS checkout update instructions.

16 years agoProvide move-if-change.
Eric Blake [Fri, 28 Sep 2007 22:51:52 +0000 (16:51 -0600)]
Provide move-if-change.

* build-aux/move-if-change: New file, based on best practice
rather than any canonical upstream location.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix canonicalize loop-detection corner case.
Jim Meyering [Fri, 28 Sep 2007 21:26:49 +0000 (23:26 +0200)]
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.

16 years agoEnforce that AC_REPLACE_FUNCS files exist.
Eric Blake [Tue, 25 Sep 2007 13:11:35 +0000 (07:11 -0600)]
Enforce that AC_REPLACE_FUNCS files exist.

* gnulib-tool (func_emit_initmacro_done): Make AC_LIBSOURCES
override check for typos.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoGive proper credit.
Eric Blake [Fri, 28 Sep 2007 13:16:44 +0000 (07:16 -0600)]
Give proper credit.

16 years agoFix test-closein on Solaris 10.
Eric Blake [Fri, 28 Sep 2007 12:33:50 +0000 (06:33 -0600)]
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.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years ago* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Fix typo in comment.
Jim Meyering [Fri, 28 Sep 2007 08:38:32 +0000 (10:38 +0200)]
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Fix typo in comment.

16 years agoMention that the file-set and hash-triple modules come from coreutils.
Jim Meyering [Thu, 27 Sep 2007 09:39:36 +0000 (11:39 +0200)]
Mention that the file-set and hash-triple modules come from coreutils.

16 years agocanonicalize: Avoid a false-positive cycle failure.
Jim Meyering [Mon, 24 Sep 2007 11:39:37 +0000 (13:39 +0200)]
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.

16 years agoNew module, file-set.
Jim Meyering [Tue, 25 Sep 2007 20:17:24 +0000 (22:17 +0200)]
New module, file-set.

* modules/file-set: Define it.
* lib/file-set.c, lib/file-set.h: Implement.

16 years agoNew module, hash-triple.
Jim Meyering [Tue, 25 Sep 2007 20:11:42 +0000 (22:11 +0200)]
New module, hash-triple.

* modules/hash-triple: Define it.
* lib/hash-triple.c, lib/hash-triple.h: Implement.

16 years agoFix strerror on Interix.
Eric Blake [Tue, 25 Sep 2007 16:40:16 +0000 (10:40 -0600)]
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.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoExplain how to get a read-write checkout of gnulib.
Bruno Haible [Tue, 25 Sep 2007 00:05:06 +0000 (02:05 +0200)]
Explain how to get a read-write checkout of gnulib.

16 years agoRevert fpending breakage from 2007-09-08.
Eric Blake [Mon, 24 Sep 2007 22:13:39 +0000 (16:13 -0600)]
Revert fpending breakage from 2007-09-08.

* m4/fpending.m4 (gl_FUNC_FPENDING): Don't require existence of
__fpending.c.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agofilenamecat.c: Add a test.
Jim Meyering [Mon, 24 Sep 2007 11:43:03 +0000 (13:43 +0200)]
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.

16 years agotests/test-canonicalize.sh: Turn on executable bit.
Simon Josefsson [Fri, 21 Sep 2007 13:02:37 +0000 (15:02 +0200)]
tests/test-canonicalize.sh: Turn on executable bit.

16 years ago* README: Update CVS instructions.
Eric Blake [Wed, 19 Sep 2007 20:55:30 +0000 (14:55 -0600)]
* README: Update CVS instructions.

16 years agoNew module 'areadlink'. cvs-readonly
Bruno Haible [Tue, 18 Sep 2007 22:04:19 +0000 (22:04 +0000)]
New module 'areadlink'.

16 years agoNew module 'areadlink'. File based on lib/xreadlink.c.
Bruno Haible [Tue, 18 Sep 2007 22:03:42 +0000 (22:03 +0000)]
New module 'areadlink'. File based on lib/xreadlink.c.

16 years ago* lib/savewd.c (ESTALE) [!defined]: Define.
Jim Meyering [Mon, 17 Sep 2007 16:51:01 +0000 (16:51 +0000)]
* lib/savewd.c (ESTALE) [!defined]: Define.
Reported to be required on Interix by Martin Koeppe.

16 years agoMake "gnulib-tool --version" work in git-cvsserver checkout.
Bruno Haible [Mon, 17 Sep 2007 10:26:32 +0000 (10:26 +0000)]
Make "gnulib-tool --version" work in git-cvsserver checkout.

16 years agoMake the buffer large enough, to avoid a buffer overflow.
Bruno Haible [Sun, 16 Sep 2007 11:42:32 +0000 (11:42 +0000)]
Make the buffer large enough, to avoid a buffer overflow.

16 years agoTry harder to enable the alias for 'sed'.
Bruno Haible [Sun, 16 Sep 2007 00:41:34 +0000 (00:41 +0000)]
Try harder to enable the alias for 'sed'.

16 years ago* ChangeLog: Remove conflict markers.
Eric Blake [Thu, 13 Sep 2007 13:52:18 +0000 (13:52 +0000)]
* ChangeLog: Remove conflict markers.

16 years ago(gc_hash_open): Catch NULL calloc return value.
Simon Josefsson [Thu, 13 Sep 2007 11:53:38 +0000 (11:53 +0000)]
(gc_hash_open): Catch NULL calloc return value.
Reported by Bruno Haible <bruno@clisp.org>.

16 years agoAvoid defining AC_USE_SYSTEM_EXTENSIONS here.
Bruno Haible [Wed, 12 Sep 2007 23:24:15 +0000 (23:24 +0000)]
Avoid defining AC_USE_SYSTEM_EXTENSIONS here.

16 years agoTrack CVS Autoconf on AC_USE_SYSTEM_EXTENSIONS.
Eric Blake [Wed, 12 Sep 2007 15:59:57 +0000 (15:59 +0000)]
Track CVS Autoconf on AC_USE_SYSTEM_EXTENSIONS.
* m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Update to CVS
Autoconf definition.
* modules/euidaccess (Depends-on): Add extensions, for
AC_USE_SYSTEM_EXTENSIONS with autoconf <= 2.59.
* modules/fnmatch (Depends-on): Likewise.
* modules/getaddrinfo (Depends-on): Likewise.
* modules/getdelim (Depends-on): Likewise.
* modules/getline (Depends-on): Likewise.
* modules/getsubopt (Depends-on): Likewise.
* modules/gettext (Depends-on): Likewise.
* modules/group-member (Depends-on): Likewise.
* modules/mbchar (Depends-on): Likewise.
* modules/memmem (Depends-on): Likewise.
* modules/mempcpy (Depends-on): Likewise.
* modules/memrchr (Depends-on): Likewise.
* modules/pagealign_alloc (Depends-on): Likewise.
* modules/readutmp (Depends-on): Likewise.
* modules/stpcpy (Depends-on): Likewise.
* modules/stpncpy (Depends-on): Likewise.
* modules/strchrnul (Depends-on): Likewise.
* modules/strndup (Depends-on): Likewise.
* modules/strsep (Depends-on): Likewise.
* modules/strverscmp (Depends-on): Likewise.
* modules/vasprintf (Depends-on): Likewise.
* modules/wcwidth (Depends-on): Likewise.
* m4/euidaccess.m4 (gl_FUNC_EUIDACCESS): AC_GNU_SOURCE will be
obsolete in Autoconf 2.62; use AC_USE_SYSTEM_EXTENSIONS instead.
* m4/fnmatch.m4 (gl_FUNC_FNMATCH_GNU): Likewise.
* m4/getaddrinfo.m4 (gl_PREREQ_GETADDR_INFO): Likewise.
* m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise.
* m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
* m4/getsubopt.m4 (gl_FUNC_GETSUBOPT): Likewise.
* m4/glob.m4 (gl_PREREQ_GLOB): Likewise.
* m4/group-member.m4 (gl_FUNC_GROUP_MEMBER): Likewise.
* m4/mbchar.m4 (gl_MBCHAR): Likewise.
* m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise.
* m4/mempcpy.m4 (gl_FUNC_MEMPCPY): Likewise.
* m4/memrchr.m4 (gl_FUNC_MEMRCHR): Likewise.
* m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Likewise.
* m4/pagealign_alloc.m4 (gl_PAGEALIGN_ALLOC): Likewise.
* m4/readutmp.m4 (gl_READUTMP): Likewise.
* m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
* m4/stpcpy.m4 (gl_FUNC_STPCPY): Likewise.
* m4/stpncpy.m4 (gl_FUNC_STPNCPY): Likewise.
* m4/strchrnul.m4 (gl_FUNC_STRCHRNUL): Likewise.
* m4/strndup.m4 (gl_FUNC_STRNDUP): Likewise.
* m4/strnlen.m4 (gl_FUNC_STRNLEN): Likewise.
* m4/strsep.m4 (gl_FUNC_STRSEP): Likewise.
* m4/strverscmp.m4 (gl_FUNC_STRVERSCMP): Likewise.
* m4/vasprintf.m4 (gl_PREREQ_VASPRINTF_H): Likewise.
* m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
* m4/lock.m4 (gl_LOCK_EARLY_BODY): Likewise, but provide fallback,
so that lock.m4 can be used in gettext without extensions module.

16 years agoRemove old, obsolete isc-posix.m4.
Bruno Haible [Tue, 11 Sep 2007 23:07:45 +0000 (23:07 +0000)]
Remove old, obsolete isc-posix.m4.

16 years ago* ChangeLog: Restore lines accidentally truncated 2007-04-06.
Eric Blake [Tue, 11 Sep 2007 15:58:09 +0000 (15:58 +0000)]
* ChangeLog: Restore lines accidentally truncated 2007-04-06.

16 years agoFix typo in error message.
Bruno Haible [Tue, 11 Sep 2007 00:40:16 +0000 (00:40 +0000)]
Fix typo in error message.

16 years agoautoupdate
Karl Berry [Mon, 10 Sep 2007 16:39:13 +0000 (16:39 +0000)]
autoupdate

16 years agoautoupdate
Karl Berry [Mon, 10 Sep 2007 13:18:03 +0000 (13:18 +0000)]
autoupdate

16 years agoOops, avoid an infinite recursion.
Bruno Haible [Sun, 9 Sep 2007 17:38:23 +0000 (17:38 +0000)]
Oops, avoid an infinite recursion.

16 years agoUpdate portability list.
Bruno Haible [Sun, 9 Sep 2007 17:14:46 +0000 (17:14 +0000)]
Update portability list.

16 years agoOops, invert the direction of the test.
Bruno Haible [Sun, 9 Sep 2007 17:10:10 +0000 (17:10 +0000)]
Oops, invert the direction of the test.

16 years ago* lib/hash.c (hash_initialize): Detect calloc failure.
Jim Meyering [Sun, 9 Sep 2007 14:48:10 +0000 (14:48 +0000)]
* lib/hash.c (hash_initialize): Detect calloc failure.

Reported by Bruno Haible.

16 years agoSet errno to ENOMEM when malloc/realloc fails. Needed on mingw.
Bruno Haible [Sun, 9 Sep 2007 14:32:21 +0000 (14:32 +0000)]
Set errno to ENOMEM when malloc/realloc fails. Needed on mingw.

16 years agoAdd dependencies to malloc-posix, realloc-posix.
Bruno Haible [Sun, 9 Sep 2007 14:27:39 +0000 (14:27 +0000)]
Add dependencies to malloc-posix, realloc-posix.

16 years agoAdd dependency to realloc-posix.
Bruno Haible [Sun, 9 Sep 2007 14:27:13 +0000 (14:27 +0000)]
Add dependency to realloc-posix.

16 years agoAdd dependency to malloc-posix.
Bruno Haible [Sun, 9 Sep 2007 14:26:55 +0000 (14:26 +0000)]
Add dependency to malloc-posix.

16 years agoNew chapter "POSIX Substitutes Library".
Bruno Haible [Sun, 9 Sep 2007 13:20:45 +0000 (13:20 +0000)]
New chapter "POSIX Substitutes Library".

16 years agoSimplify the malloc/realloc/calloc macrology.
Bruno Haible [Sun, 9 Sep 2007 13:19:42 +0000 (13:19 +0000)]
Simplify the malloc/realloc/calloc macrology.

16 years agoSimplify the malloc/realloc/calloc macrology.
Bruno Haible [Sun, 9 Sep 2007 13:07:55 +0000 (13:07 +0000)]
Simplify the malloc/realloc/calloc macrology.

16 years agoNew module 'malloc-posix'.
Bruno Haible [Sun, 9 Sep 2007 13:01:44 +0000 (13:01 +0000)]
New module 'malloc-posix'.

16 years agoNew module 'realloc-posix'.
Bruno Haible [Sun, 9 Sep 2007 12:56:27 +0000 (12:56 +0000)]
New module 'realloc-posix'.

16 years agoNew module 'calloc-posix'.
Bruno Haible [Sun, 9 Sep 2007 12:29:37 +0000 (12:29 +0000)]
New module 'calloc-posix'.

16 years agoAllow for modules to show an arbitrary notice.
Bruno Haible [Sun, 9 Sep 2007 12:17:35 +0000 (12:17 +0000)]
Allow for modules to show an arbitrary notice.

16 years agoNew options --verbose, --quiet.
Bruno Haible [Sun, 9 Sep 2007 11:49:57 +0000 (11:49 +0000)]
New options --verbose, --quiet.

16 years agoPrefer rsync over wget when available.
Bruno Haible [Sat, 8 Sep 2007 23:07:48 +0000 (23:07 +0000)]
Prefer rsync over wget when available.

16 years agoAdd --help and --version option processing.
Bruno Haible [Sat, 8 Sep 2007 22:45:08 +0000 (22:45 +0000)]
Add --help and --version option processing.

16 years agoScript to print the POSIX substitutes modules.
Bruno Haible [Sat, 8 Sep 2007 22:27:19 +0000 (22:27 +0000)]
Script to print the POSIX substitutes modules.

16 years agoRemove extra @code.
Bruno Haible [Sat, 8 Sep 2007 21:36:51 +0000 (21:36 +0000)]
Remove extra @code.

16 years agoRename __fpending.c -> fpending.c and __fpending.h -> fpending.h
Jim Meyering [Sat, 8 Sep 2007 19:25:52 +0000 (19:25 +0000)]
Rename __fpending.c -> fpending.c and __fpending.h -> fpending.h

* lib/fpending.h: Rename from __fpending.h.
* lib/fpending.c: Rename from __fpending.c.
Include "fpending.h", not "__fpending.h".
* lib/__fpending.h, lib/__fpending.c: Remove files.
* modules/fpending (Files): Reflect new file names.
* lib/close-stream.c: Include "fpending.h", not "__fpending.h".

16 years agoRemove old stub file.
Bruno Haible [Sat, 8 Sep 2007 12:16:39 +0000 (12:16 +0000)]
Remove old stub file.

16 years agodoc/headers/stdint.texi: Discuss #include_next issue.
Simon Josefsson [Fri, 7 Sep 2007 10:33:34 +0000 (10:33 +0000)]
doc/headers/stdint.texi: Discuss #include_next issue.

16 years ago* build-aux/bootstrap: Remove obsolete comment about wget --help.
Paul Eggert [Thu, 6 Sep 2007 18:14:05 +0000 (18:14 +0000)]
* build-aux/bootstrap: Remove obsolete comment about wget --help.

16 years ago* m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Fix misspelling
Paul Eggert [Thu, 6 Sep 2007 17:52:29 +0000 (17:52 +0000)]
* m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Fix misspelling
in variable name.

16 years agoupdate from texinfo
Karl Berry [Mon, 3 Sep 2007 12:19:53 +0000 (12:19 +0000)]
update from texinfo

16 years agoNew module: git-version-gen.
Jim Meyering [Mon, 3 Sep 2007 10:47:39 +0000 (10:47 +0000)]
New module: git-version-gen.
* modules/git-version-gen: New file.

16 years agoImport changes from coreutils for bootstrap script.
Jim Meyering [Sun, 2 Sep 2007 23:05:26 +0000 (23:05 +0000)]
Import changes from coreutils for bootstrap script.

* build-aux/bootstrap (WGET_COMMAND): Remove code to set this variable.

bootstrap: uses rsync to download the .po files
* build-aux/bootstrap (po_download_command_format): New global.
(download_po_files): Use rsync.
(update_po_files): Don't remove .po files after download,
so future rsync runs can take advantage of the copies.

* build-aux/bootstrap (gnulib_tool): Make sha1sum check quietly.

Solve the unnecessary-.po-file-regeneration problem once and for all.
* build-aux/bootstrap (download_po_files): New function, renamed from
get_translations.  Now, downloads, but doesn't update LINGUAS.
(update_po_files): New function.

bootstrap: Ignore more.
* build-aux/bootstrap (symlink_to_dir): Add a directory name like
uniwidth to e.g., lib/.gitignore.
(slurp): Handle the sys_stat_.h -> sys mapping, too.

* build-aux/bootstrap: New setting: vc_ignore.
(insert_sorted_if_absent): Create $file if absent.
Adapt to new, possibly empty, list: $vc_ignore.

bootstrap: generate more ignorable names
* build-aux/bootstrap (slurp): When generating ignorable names,
also map .sin to .sed, .gperf to .c, and .y to .c.

2007-09-03  Jim Meyering  <jim@meyering.net>

16 years ago* build-aux/git-version-gen: New file, from coreutils. For details, see
Jim Meyering [Sun, 2 Sep 2007 22:42:45 +0000 (22:42 +0000)]
* build-aux/git-version-gen: New file, from coreutils.  For details, see
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=bfe49f506

16 years agomissed commit
Karl Berry [Sun, 2 Sep 2007 21:05:51 +0000 (21:05 +0000)]
missed commit

16 years agoFix mis-recognition of 'mcs' on QNX 6.
Bruno Haible [Sun, 2 Sep 2007 11:13:02 +0000 (11:13 +0000)]
Fix mis-recognition of 'mcs' on QNX 6.

16 years agoAdd double-inclusion guard.
Bruno Haible [Sat, 1 Sep 2007 16:24:55 +0000 (16:24 +0000)]
Add double-inclusion guard.

16 years agoLet linebreak rely on uniwidth/width.
Bruno Haible [Sat, 1 Sep 2007 15:52:06 +0000 (15:52 +0000)]
Let linebreak rely on uniwidth/width.

16 years agofinish mreadlink_with_size rename
Karl Berry [Sat, 1 Sep 2007 14:01:44 +0000 (14:01 +0000)]
finish mreadlink_with_size rename

16 years agoRename mreadlink_with_size to areadlink_with_size.
Jim Meyering [Tue, 28 Aug 2007 09:13:04 +0000 (09:13 +0000)]
Rename mreadlink_with_size to areadlink_with_size.
* NEWS: Document the change.
* lib/mreadlink-with-size.c (mreadlink_with_size): Rename this to...
* lib/areadlink-with-size.c (areadlink_with_size): ...this.
* lib/mreadlink.h: Rename this to...
* lib/areadlink.h: ...this.
* modules/mreadlink-with-size: Rename this to...
* modules/areadlink-with-size: ...this.
* lib/canonicalize.c: Reflect the renaming.
* modules/canonicalize: Likewise.

16 years agoCare about dangling symbolic links.
Bruno Haible [Sun, 26 Aug 2007 10:36:54 +0000 (10:36 +0000)]
Care about dangling symbolic links.

16 years agoUse test -h, not test -L.
Bruno Haible [Sun, 26 Aug 2007 10:31:22 +0000 (10:31 +0000)]
Use test -h, not test -L.

16 years agolib/readline.c: Don't include getline.h, the prototype is now found in stdio.h.
Simon Josefsson [Thu, 23 Aug 2007 15:44:35 +0000 (15:44 +0000)]
lib/readline.c: Don't include getline.h, the prototype is now found in stdio.h.

16 years agoGetdelim touchup.
Jim Meyering [Thu, 23 Aug 2007 08:33:16 +0000 (08:33 +0000)]
Getdelim touchup.
* lib/getdelim.c (getdelim): Don't bother to save/restore errno
around the funlockfile call, since funlockfile never sets errno.
Don't set errno upon failed realloc.

16 years agoGetline touchups.
Eric Blake [Thu, 23 Aug 2007 02:00:18 +0000 (02:00 +0000)]
Getline touchups.
* lib/getdelim.c (getdelim): Revert regression that required *n to
be 0 when *lineptr is NULL.  Preserve errno across funlockfile.
* m4/getdelim.m4 (gl_FUNC_GETDELIM): Check for declaration of
getdelim, rather than whether implementation is missing.
* m4/getline.m4 (gl_FUNC_GETLINE): Likewise for getline.
* lib/stdio_.h (getline): Also declare if replacement is
required.
* doc/functions/getdelim.texi: New file.
* doc/functions/getline.texi: Likewise.
* doc/gnulib.texi (Function Substitutes): Add new files.
Reported by Bruno Haible.

16 years agoAdd guile.
Bruno Haible [Wed, 22 Aug 2007 22:24:55 +0000 (22:24 +0000)]
Add guile.

16 years ago* tests/test-getdelim.c (main): Use remove, not unlink.
Eric Blake [Wed, 22 Aug 2007 14:04:30 +0000 (14:04 +0000)]
* tests/test-getdelim.c (main): Use remove, not unlink.
* tests/test-getline.c (main): Likewise.

16 years agoMove getline and getdelim into stdio.h, per POSIX 200x.
Eric Blake [Wed, 22 Aug 2007 12:54:21 +0000 (12:54 +0000)]
Move getline and getdelim into stdio.h, per POSIX 200x.
* modules/getline (Files): Remove getline.h.
(Depends-on): Add stdio.
(configure.ac): Add module indicator.
* modules/getdelim (Files): Remove getdelim.h.
(Depends-on): Add stdio.
(configure.ac): Add module indicator.
* modules/stdio (Makefile.am): Work with new indicators.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add new defaults.
* m4/getdelim.m4 (gl_FUNC_GETDELIM): Work with stdio needs.
* m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
* lib/getdelim.h: Delete.
* lib/getline.h: Delete.
* lib/stdio_.h (getdelim, getline): Declare.
* modules/getdelim-tests: New module.
* modules/getline-tests: Likewise.
* tests/test-getdelim.c: New file.
* tests/test-getline.c: Likewise.
* NEWS: Document the change.
* lib/getline.c: Update choice of header.
* lib/csharpcomp.c: Likewise.
* lib/getpass.c: Likewise.
* lib/javacomp.c: Likewise.
* lib/javaversion.c: Likewise.
* lib/yesno.c: Likewise.
* lib/getdelim.c: Likewise.
(getdelim): Set errno on failure, and avoid memory leak.

16 years agoOptimization: no need to flush stdin if we can determine quickly that stdin's
Bruno Haible [Mon, 20 Aug 2007 22:09:08 +0000 (22:09 +0000)]
Optimization: no need to flush stdin if we can determine quickly that stdin's
input buffer is empty.