gnulib.git
17 years ago* lib/acl.h: Include sys/types.h and sys/stat.h, for mode_t and
Paul Eggert [Fri, 29 Dec 2006 19:33:46 +0000 (19:33 +0000)]
* lib/acl.h: Include sys/types.h and sys/stat.h, for mode_t and
struct stat.  Problem reported by Henning Nielsen Lund.
* lib/acl.c: Include acl.h first, to check interface.  Don't
bother to include sys/types.h and sys/stat.h again.

17 years ago.
Karl Berry [Fri, 29 Dec 2006 09:11:41 +0000 (09:11 +0000)]
.

17 years agoImport the following change from libc; problem reported by
Paul Eggert [Thu, 28 Dec 2006 23:36:43 +0000 (23:36 +0000)]
Import the following change from libc; problem reported by
Sven Verdoolaege.

2005-10-13  Ulrich Drepper  <drepper@redhat.com>

[BZ #1373]
* lib/argp.h: Remove __NTH for __argp_usage inline function.

17 years ago* build-aux/announce-gen: Do not assume that the package
Jim Meyering [Thu, 28 Dec 2006 19:28:49 +0000 (19:28 +0000)]
* build-aux/announce-gen: Do not assume that the package
builds any of tar.gz, tar.bz2, and .xdelta files.
Suggestion from Simon Josefsson.

17 years agoAdd announce-gen module file.
Simon Josefsson [Thu, 28 Dec 2006 18:27:21 +0000 (18:27 +0000)]
Add announce-gen module file.

17 years ago.
Karl Berry [Thu, 28 Dec 2006 09:11:27 +0000 (09:11 +0000)]
.

17 years ago* lib/mbchar.h: Just include <wctype.h>; the wctype module
Paul Eggert [Wed, 27 Dec 2006 19:54:25 +0000 (19:54 +0000)]
* lib/mbchar.h: Just include <wctype.h>; the wctype module
handles its gotchas now.
* lib/mbswidth.c: Likewise.
* lib/wcwidth.h: Likewise.
* m4/mbchar.m4 (gl_MBCHAR): Don't bother checking for wctype.h
and iswcntrl; the wctype module does this stuff now.
* m4/mbswidth.m4 (gl_MBSWIDTH): Likewise.
* m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
* modules/mbchar (Depends-on): Add wctype.
* modules/mbswidth (Depends-on): Likewise.
* modules/wcwidth (Depends-on): Likewise.

17 years ago* lib/fnmatch.c: Reinstate inclusion of <wchar.h>, since this
Eric Blake [Wed, 27 Dec 2006 13:19:04 +0000 (13:19 +0000)]
* lib/fnmatch.c: Reinstate inclusion of <wchar.h>, since this
module uses more than what <wctype.h> is required to provide.

17 years ago.
Karl Berry [Wed, 27 Dec 2006 09:36:02 +0000 (09:36 +0000)]
.

17 years ago* gnulib-tool (sed_extract_prog): Avoid space-tab.
Eric Blake [Tue, 26 Dec 2006 18:46:10 +0000 (18:46 +0000)]
* gnulib-tool (sed_extract_prog): Avoid space-tab.

17 years ago* modules/absolute-header: New module.
Eric Blake [Tue, 26 Dec 2006 18:42:09 +0000 (18:42 +0000)]
* modules/absolute-header: New module.
* modules/fcntl (Depends-on): Depend on it.
* modules/inttypes (Depends-on): Likewise.
* modules/stdint (Depends-on): Likewise.
* modules/sys_stat (Depends-on): Likewise.
* modules/wctype (Depends-on): Likewise.
* MODULES.html.sh (Support for building libraries and
executables): Document it.

17 years agoautoupdate
Karl Berry [Tue, 26 Dec 2006 14:55:51 +0000 (14:55 +0000)]
autoupdate

17 years ago* gnulib-tool (SED): Remove, undoing previous change.
Paul Eggert [Tue, 26 Dec 2006 01:51:36 +0000 (01:51 +0000)]
* gnulib-tool (SED): Remove, undoing previous change.
The problem was that it broke coreutils on Solaris, because
"sed --posix" leaked into a makefile.
(sed): New alias, if 'alias' and GNU sed.

17 years agoautoupdate
Karl Berry [Mon, 25 Dec 2006 14:25:35 +0000 (14:25 +0000)]
autoupdate

17 years ago.
Karl Berry [Mon, 25 Dec 2006 09:08:05 +0000 (09:08 +0000)]
.

17 years agoWork around an fchownat bug in glibc-2.4:
Jim Meyering [Sun, 24 Dec 2006 17:08:04 +0000 (17:08 +0000)]
Work around an fchownat bug in glibc-2.4:
http://lists.ubuntu.com/archives/ubuntu-users/2006-September/093218.html
This bug would cause "chown -RP ... DIR" to follow symlinks in DIR,
in spite of the -P option.
* m4/openat.m4 (gl_FUNC_FCHOWNAT, gl_FUNC_FCHOWNAT_DEREF_BUG):
New macros.
(gl_PREREQ_OPENAT): Require gl_FUNC_FCHOWNAT.
* modules/openat (Files): Add lib/fchownat.c.
* lib/openat.c (fchownat): Don't define here.  Move to...
* lib/fchownat.c: ...this new file.

17 years ago.
Karl Berry [Sun, 24 Dec 2006 09:10:58 +0000 (09:10 +0000)]
.

17 years agoFix bug reported by Bruno Haible in
Paul Eggert [Sun, 24 Dec 2006 07:55:08 +0000 (07:55 +0000)]
Fix bug reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00228.html>
where quotearg.c didn't compile on Mac OS X 10.2 because it
lacks <wchar.h> and wint_t.
* lib/wctype_.h (__wctype_wint_t): New type.
Include <stdio.h>, <time.h>, <wchar.h> only if HAVE_WINT_T.
(iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph):
(iswlower, iswprint, iswpunct, iswspace, iswupper, ixwxdigit):
Arg is now of type __wctype_wint_t, not wint_t.
* m4/wctype.m4 (gl_WCTYPE_H): Require gt_TYPE_WINT_T, and
substitute HAVE_WINT_T.
* modules/wctype (Files): Add m4/wint_t.m4.
(wctype.h): Substitute HAVE_WINT_T.

17 years ago* lib/safe-read.h [C++]: Wrap declarations in extern "C".
Jim Meyering [Sat, 23 Dec 2006 21:31:59 +0000 (21:31 +0000)]
* lib/safe-read.h [C++]: Wrap declarations in extern "C".
From Bruno Haible.

17 years agoupdate from texinfo
Karl Berry [Sat, 23 Dec 2006 21:28:00 +0000 (21:28 +0000)]
update from texinfo

17 years agoTest HAVE_READLINK instead of S_ISLNK.
Bruno Haible [Sat, 23 Dec 2006 15:43:03 +0000 (15:43 +0000)]
Test HAVE_READLINK instead of S_ISLNK.

17 years ago.
Karl Berry [Sat, 23 Dec 2006 09:10:04 +0000 (09:10 +0000)]
.

17 years agoPreserve ACLs while copying.
Bruno Haible [Fri, 22 Dec 2006 18:56:01 +0000 (18:56 +0000)]
Preserve ACLs while copying.

17 years agoautoupdate
Karl Berry [Fri, 22 Dec 2006 18:03:23 +0000 (18:03 +0000)]
autoupdate

17 years agoupdate from texinfo
Karl Berry [Fri, 22 Dec 2006 17:25:43 +0000 (17:25 +0000)]
update from texinfo

17 years agoAdd comments.
Bruno Haible [Fri, 22 Dec 2006 16:27:26 +0000 (16:27 +0000)]
Add comments.

17 years agoChange order of sections.
Bruno Haible [Fri, 22 Dec 2006 13:03:25 +0000 (13:03 +0000)]
Change order of sections.

17 years agoUse "sed --posix" instead of "sed" when possible.
Bruno Haible [Fri, 22 Dec 2006 12:49:38 +0000 (12:49 +0000)]
Use "sed --posix" instead of "sed" when possible.

17 years agoNew module 'no-c++'.
Bruno Haible [Fri, 22 Dec 2006 12:46:48 +0000 (12:46 +0000)]
New module 'no-c++'.

17 years ago.
Karl Berry [Fri, 22 Dec 2006 09:24:17 +0000 (09:24 +0000)]
.

17 years ago* m4/mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf.
Paul Eggert [Fri, 22 Dec 2006 08:53:57 +0000 (08:53 +0000)]
* m4/mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf.
Include <limits.h>, and use its INT_MAX to rewrite the
j loop so that it does not overflow 'int'.  Problem reported by
Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
Play it safe by shifting left by 1 rather than multiplying by 2,
as GCC is less likely to optimize this away when the value
is signed (when it assumes overflow leads to undefined behavior).
Also, don't assume time_t uses two's complement.

17 years ago* MODULES.html.sh: New module wctype.
Paul Eggert [Fri, 22 Dec 2006 00:21:54 +0000 (00:21 +0000)]
* MODULES.html.sh: New module wctype.
* lib/wctype_.h, m4/wctype.m4, modules/wctype: New files.
* lib/fnmatch.c: Don't bother to include <wchar.h> before
<wctype.h>, since the new wctype module should fix this.
* lib/quotearg.c: Include <wctype.h> unconditionally, since
the wctype module should arrange for it.
* lib/regex_internal.h: Likewise.
* m4/quotearg.m4 (gl_QUOTEARG): Don't check for wctype.h or iswprint,
since the wctype module should handle this now.
* m4/regex.m4 (gl_PREREQ_REGEX): Don't check for wctype.h.
* modules/fnmatch (Depends-on): Add wctype.
* modules/quotearg (Depends-on): Likewise.
* modules/regex (Depends-on): Likewise.

17 years agogzip uses gnulib now as well.
Bruno Haible [Wed, 20 Dec 2006 21:01:57 +0000 (21:01 +0000)]
gzip uses gnulib now as well.

17 years agoMake it usable in C++ mode.
Bruno Haible [Tue, 19 Dec 2006 17:17:04 +0000 (17:17 +0000)]
Make it usable in C++ mode.

17 years ago.
Karl Berry [Tue, 19 Dec 2006 09:04:08 +0000 (09:04 +0000)]
.

17 years ago* modules/savewd (Depends-on): Fix dependency on fcntl.
Ralf Wildenhues [Tue, 19 Dec 2006 05:38:34 +0000 (05:38 +0000)]
* modules/savewd (Depends-on): Fix dependency on fcntl.

17 years ago* m4/stdint.m4 (gl_STDINT_H): Set STDINT_H to empty if stdint.h
Paul Eggert [Mon, 18 Dec 2006 22:26:35 +0000 (22:26 +0000)]
* m4/stdint.m4 (gl_STDINT_H): Set STDINT_H to empty if stdint.h
conforms to C99, rather than relying on the user's environment
setting of STDINT_H.

2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>

17 years ago* lib/dirname.h (DOUBLE_SLASH_IS_DISTINCT_ROOT): Default to 0, not 1.
Paul Eggert [Mon, 18 Dec 2006 18:04:20 +0000 (18:04 +0000)]
* lib/dirname.h (DOUBLE_SLASH_IS_DISTINCT_ROOT): Default to 0, not 1.
This is more consistent with the other defines here.
* m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT):
Port to z/OS.  Problem reported by Paul Gilmartin.
Change local vars to use gl_ prefix rather than ac_.
Don't define DOUBLE_SLASH_IS_DISTINCT_ROOT to 0, for consistency
with other defines.
* modules/double-slash-root: New module.
* modules/dirname (Files): Remove m4/double-slash-root.m4.
(Depends-on): Add double-slash-root.
* MODULES.html.sh (File system functions): Mention new module.

17 years ago* lib/yesno.c [!ENABLE_NLS]: Don't include getline.h.
Paul Eggert [Thu, 14 Dec 2006 18:47:36 +0000 (18:47 +0000)]
* lib/yesno.c [!ENABLE_NLS]: Don't include getline.h.
(yesno) [!ENABLE_NLS]: Don't invoke getline or rpmatch.
This is for the benefit of gzip, which doesn't do i18n.

17 years ago* m4/acl.m4 (gl_ACL_GET_FILE): Fix logic error.
Jim Meyering [Tue, 12 Dec 2006 15:30:05 +0000 (15:30 +0000)]
* m4/acl.m4 (gl_ACL_GET_FILE): Fix logic error.
Reported by Andreas Schwab <schwab@suse.de>.

17 years agoMerge changes from the haible-private branch.
Bruno Haible [Tue, 12 Dec 2006 12:50:14 +0000 (12:50 +0000)]
Merge changes from the haible-private branch.

17 years ago* m4/openat.m4 (gl_FUNC_OPENAT): Don't compile mkdirat
Paul Eggert [Tue, 12 Dec 2006 07:37:26 +0000 (07:37 +0000)]
* m4/openat.m4 (gl_FUNC_OPENAT): Don't compile mkdirat
and fchmodat unconditionally, since glibc 2.4 has them.
Problem reported by Arkadiusz Miskiewicz.

17 years agoFix 'join' invocation.
Bruno Haible [Mon, 11 Dec 2006 18:19:59 +0000 (18:19 +0000)]
Fix 'join' invocation.

17 years agoDon't show the includes for modules that were not explicitly specified.
Bruno Haible [Mon, 11 Dec 2006 12:41:09 +0000 (12:41 +0000)]
Don't show the includes for modules that were not explicitly specified.

17 years agoautoupdate
Karl Berry [Sat, 9 Dec 2006 14:37:43 +0000 (14:37 +0000)]
autoupdate

17 years agoAmend prev. message.
Jim Meyering [Fri, 8 Dec 2006 17:40:39 +0000 (17:40 +0000)]
Amend prev. message.

17 years ago* build-aux/announce-gen ($VERSION): Don't use of $Revision...$.
Jim Meyering [Fri, 8 Dec 2006 17:37:36 +0000 (17:37 +0000)]
* build-aux/announce-gen ($VERSION): Don't use of $Revision...$.
Instead, use Emacs' time-stamp write hook.

17 years agoautoupdate
Karl Berry [Fri, 8 Dec 2006 14:48:05 +0000 (14:48 +0000)]
autoupdate

17 years ago* build-aux/announce-gen: Add two new options, both optional:
Jim Meyering [Fri, 8 Dec 2006 09:28:23 +0000 (09:28 +0000)]
* build-aux/announce-gen: Add two new options, both optional:
--bootstrap-tools=TOOL_LIST
      a comma-separated list of tools, e.g.,
      autoconf,automake,bison,gnulib
--gnulib-snapshot-date=DATE
      if gnulib is in the bootstrap tool list,
      then report this as the snapshot date.
      If not specified, use the current date/time.
      If you specify a date here, be sure it's UTC.

17 years ago* tests/test-argp-2.sh: Fix test to match actual output.
Ralf Wildenhues [Tue, 5 Dec 2006 22:13:48 +0000 (22:13 +0000)]
* tests/test-argp-2.sh: Fix test to match actual output.
(func_compare): Fix sed script to be portable.

17 years agoupdate from texinfo
Karl Berry [Tue, 5 Dec 2006 19:44:41 +0000 (19:44 +0000)]
update from texinfo

17 years agoPrefer fd < 0 to ! (0 <= fd).
Paul Eggert [Tue, 5 Dec 2006 18:13:50 +0000 (18:13 +0000)]
Prefer fd < 0 to ! (0 <= fd).

17 years ago* lib/utimens.c (futimens) [HAVE_BUGGY_NFS_TIME_STAMPS]: Add a
Paul Eggert [Tue, 5 Dec 2006 18:09:17 +0000 (18:09 +0000)]
* lib/utimens.c (futimens) [HAVE_BUGGY_NFS_TIME_STAMPS]: Add a
workaround for this case.  It is not autoconfigured now; offhand
it's hard to see how to autoconfigure it.

17 years ago* lib/mkdir-p.c (make_dir_parents): Fix race condition when making
Paul Eggert [Mon, 4 Dec 2006 07:23:36 +0000 (07:23 +0000)]
* lib/mkdir-p.c (make_dir_parents): Fix race condition when making
a directory that is about to be chowned.  Such a directory's
initial file permissions should permit the owner only and this
should not be changed until after the chown, since the group and
other bits would be incorrect if they granted permission before
the chown.

17 years agoCredit Georg Schwarz for reporting that last bug.
Paul Eggert [Mon, 4 Dec 2006 06:52:19 +0000 (06:52 +0000)]
Credit Georg Schwarz for reporting that last bug.

17 years ago* lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
Paul Eggert [Mon, 4 Dec 2006 06:41:56 +0000 (06:41 +0000)]
* lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
* lib/regex_internal.h (RE_ENABLE_I18N): Likewise.
* m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for iswctype, too.
* m4/regex.m4 (gl_PREREQ_REGEX): Likewise.

17 years agoprovide more info
Jim Meyering [Sun, 3 Dec 2006 10:30:41 +0000 (10:30 +0000)]
provide more info

17 years ago* lib/fts.c (fts_load): Don't set sp->fts_dev here, since
Jim Meyering [Sun, 3 Dec 2006 10:23:10 +0000 (10:23 +0000)]
* lib/fts.c (fts_load): Don't set sp->fts_dev here, since
p->fts_statp may not yet be defined.
(fts_read): Instead, set it in the caller, once p->fts_statp is
sure to be defined, and corresponds to a top-level directory.

17 years ago.
Karl Berry [Sun, 3 Dec 2006 09:02:39 +0000 (09:02 +0000)]
.

17 years agoautoupdate
Karl Berry [Sat, 2 Dec 2006 19:09:16 +0000 (19:09 +0000)]
autoupdate

17 years ago* modules/savewd (Depends-on): Add fcntl_h to avoid self-test
Jim Meyering [Sat, 2 Dec 2006 09:18:36 +0000 (09:18 +0000)]
* modules/savewd (Depends-on): Add fcntl_h to avoid self-test
build failure due to missing definition of HAVE_WORKING_O_NOFOLLOW.
Reported by Simon Josefsson.

17 years agoautoupdate
Karl Berry [Fri, 1 Dec 2006 19:34:34 +0000 (19:34 +0000)]
autoupdate

17 years ago* m4/warning.m4: Use the all-permissive copyright notice
Paul Eggert [Thu, 30 Nov 2006 23:11:30 +0000 (23:11 +0000)]
* m4/warning.m4: Use the all-permissive copyright notice
recommended by RMS (rather than LGPL).
* m4/vararrays.m4: Likewise.
* m4/flexmember.m4: Likewise.

17 years agoFix double initialization of noinst_LTLIBRARIES.
Bruno Haible [Wed, 29 Nov 2006 14:30:01 +0000 (14:30 +0000)]
Fix double initialization of noinst_LTLIBRARIES.

17 years agofix typo: s/gnulig/gnulib/
Jim Meyering [Wed, 29 Nov 2006 09:09:55 +0000 (09:09 +0000)]
fix typo: s/gnulig/gnulib/

17 years ago.
Karl Berry [Wed, 29 Nov 2006 09:03:40 +0000 (09:03 +0000)]
.

17 years ago* README: Advise users that they might find the bug-gnulig@gnu.org
Paul Eggert [Wed, 29 Nov 2006 00:41:00 +0000 (00:41 +0000)]
* README: Advise users that they might find the bug-gnulig@gnu.org
and autotools-announce@gnu.org mailing lists useful.

17 years agoRemove unused file ptrdiff_max.m4.
Bruno Haible [Tue, 28 Nov 2006 14:19:24 +0000 (14:19 +0000)]
Remove unused file ptrdiff_max.m4.

17 years agoUse AC_COMPUTE_INT instead of _AC_COMPUTE_INT.
Bruno Haible [Tue, 28 Nov 2006 14:17:20 +0000 (14:17 +0000)]
Use AC_COMPUTE_INT instead of _AC_COMPUTE_INT.

17 years agos/^ {8}/\t/
Jim Meyering [Tue, 28 Nov 2006 09:23:23 +0000 (09:23 +0000)]
s/^ {8}/\t/

17 years ago* lib/regcomp.c (parse_branch): Rename local, exp->expr, to avoid
Jim Meyering [Tue, 28 Nov 2006 08:35:51 +0000 (08:35 +0000)]
* lib/regcomp.c (parse_branch): Rename local, exp->expr, to avoid
warning from "gcc -Wshadow" about shadowing the builtin.

17 years ago* m4/stdint.m4 (gl_STDINT_BITSIZEOF): Use AC_COMPUTE_INT instead of
Paul Eggert [Mon, 27 Nov 2006 22:58:46 +0000 (22:58 +0000)]
* m4/stdint.m4 (gl_STDINT_BITSIZEOF): Use AC_COMPUTE_INT instead of
_AC_COMPUTE_INT.
(AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.

2006-11-27  Bruno Haible  <bruno@clisp.org>

17 years ago* lib/regex.h (__restrict_arr): Redo logic of #if, for clarity.
Paul Eggert [Mon, 27 Nov 2006 19:41:42 +0000 (19:41 +0000)]
* lib/regex.h (__restrict_arr): Redo logic of #if, for clarity.

17 years agoInitialize also noinst_LTLIBRARIES.
Bruno Haible [Mon, 27 Nov 2006 14:22:11 +0000 (14:22 +0000)]
Initialize also noinst_LTLIBRARIES.

17 years agoAvoid using variable size arrays if gcc does not allow them.
Bruno Haible [Mon, 27 Nov 2006 14:17:38 +0000 (14:17 +0000)]
Avoid using variable size arrays if gcc does not allow them.

17 years agoFix some incompatibilities with gcc -ansi -pedantic.
Paul Eggert [Mon, 27 Nov 2006 07:15:26 +0000 (07:15 +0000)]
Fix some incompatibilities with gcc -ansi -pedantic.
* lib/regex.h (__restrict_arr): Don't use the [restrict] syntax
if compiling pedantically with GCC, unless it's C99 or later.
Don't trust sys/cdefs.h's definition of __restrict_arr, either, as
it mishandles gcc -ansi -pedantic as well.
* lib/regex_internal.h (re_token_t): Don't use enum bitfields
if gcc -pedantic.
* lib/regexec.c (check_node_accept_bytes): Don't use auto
initializers for struct if -pedantic, unless it's C99 or later.

17 years agomake "date User Name <email@addr.dom>" lines more consistent
Jim Meyering [Sat, 25 Nov 2006 19:35:24 +0000 (19:35 +0000)]
make "date  User Name  <email@addr.dom>" lines more consistent

17 years ago* m4/fcntl_h.m4 (gl_FCNTL_H): Test the atime, not the mtime.
Paul Eggert [Sat, 25 Nov 2006 19:29:08 +0000 (19:29 +0000)]
* m4/fcntl_h.m4 (gl_FCNTL_H): Test the atime, not the mtime.
Don't close an fd more than once. Identical atimes indicate
success, not failure.

17 years ago* lib/sincosl.c (kernel_sinl): Fix typo in threshold.
Bruno Haible [Thu, 23 Nov 2006 20:18:34 +0000 (20:18 +0000)]
* lib/sincosl.c (kernel_sinl): Fix typo in threshold.

17 years ago* build-aux/announce-gen: New file. From coreutils.
Jim Meyering [Thu, 23 Nov 2006 15:22:51 +0000 (15:22 +0000)]
* build-aux/announce-gen: New file.  From coreutils.

17 years agoWork around a compile-time error from the HP-UX 11.00 /bin/cc.
Jim Meyering [Wed, 22 Nov 2006 23:48:30 +0000 (23:48 +0000)]
Work around a compile-time error from the HP-UX 11.00 /bin/cc.
* lib/fts.c (enum Fts_stat): Give this previously-anon enum a name.
(fts_read): Use a temporary to narrow the overused st_size member
before using it in a switch statement.  Reported by Matthew Woehlke.

17 years ago* m4/clock_time.m4 (gl_CLOCK_TIME): Quote AC_SUBST argument.
Jim Meyering [Wed, 22 Nov 2006 13:40:25 +0000 (13:40 +0000)]
* m4/clock_time.m4 (gl_CLOCK_TIME): Quote AC_SUBST argument.
* m4/euidaccess.m4 (gl_PREREQ_EUIDACCESS): Likewise.

17 years agoFix bug that caused AM_GNU_GETTEXT([external], [need-formatstring-macros])
Bruno Haible [Tue, 21 Nov 2006 12:38:14 +0000 (12:38 +0000)]
Fix bug that caused AM_GNU_GETTEXT([external], [need-formatstring-macros])
to not recognize glibc or external libintl.

17 years ago* lib/fts.c (fts_safe_changedir): Move a declaration "up",
Jim Meyering [Tue, 21 Nov 2006 09:15:22 +0000 (09:15 +0000)]
* lib/fts.c (fts_safe_changedir): Move a declaration "up",
so as to remain compatible with older compilers.
Patch from Michael Deutschmann.

17 years ago.
Karl Berry [Tue, 21 Nov 2006 09:04:15 +0000 (09:04 +0000)]
.

17 years agoThe beginnings of syntax-related checks for gnulib.
Jim Meyering [Mon, 20 Nov 2006 23:33:31 +0000 (23:33 +0000)]
The beginnings of syntax-related checks for gnulib.
* lib/Makefile: New file.
* lib/t-idcache: New script.  Ensure that the two halves of
idcache.c stay in sync.

17 years ago* MODULES.html.sh (File system functions): Add openat.
Paul Eggert [Mon, 20 Nov 2006 22:07:27 +0000 (22:07 +0000)]
* MODULES.html.sh (File system functions): Add openat.

17 years ago* lib/openat.h (rpl_fstatat): New macro, if
Paul Eggert [Mon, 20 Nov 2006 22:01:30 +0000 (22:01 +0000)]
* lib/openat.h (rpl_fstatat): New macro, if
[HAVE_OPENAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK.
(fstatat): Define to rpl_fstatat under the same conditions,
unless COMPILING_FSTATAT.
* m4/openat.m4 (gl_FUNC_OPENAT): Compile fstatat.c too, if fstatat
seems to have the bug.
* lib/fstatat.c: New file.
* modules/openat (Files): Add it.

17 years agoBeginnings of a Makefile for the gnulib maintainers.
Bruno Haible [Mon, 20 Nov 2006 18:13:41 +0000 (18:13 +0000)]
Beginnings of a Makefile for the gnulib maintainers.

17 years ago* lib/idcache.c: Adjust comments in user- and group- portions to
Jim Meyering [Mon, 20 Nov 2006 13:08:38 +0000 (13:08 +0000)]
* lib/idcache.c: Adjust comments in user- and group- portions to
be more accurate, and to be consistent with one another.

17 years agoAvoid syntax error in test program.
Jim Meyering [Mon, 20 Nov 2006 12:59:11 +0000 (12:59 +0000)]
Avoid syntax error in test program.
* m4/gettext.m4 (AM_GNU_GETTEXT): When inside a [...] context,
quote with "[...]", not "[[...]]".

17 years ago* lib/idcache.c: Restore most of the 2006-11-06 patch, so as to
Jim Meyering [Mon, 20 Nov 2006 10:54:06 +0000 (10:54 +0000)]
* lib/idcache.c: Restore most of the 2006-11-06 patch, so as to
continue using the flexible array member (thus, this module performs
half as many malloc calls), with the addition that...
(getgroup, getuser): Consistently record a non-match via an empty
"name" string, and map an empty string match to a NULL return value.
* modules/idcache (Depends-on): Re-add flexmember.

17 years ago* lib/idcache.c (getuser): Remove all uses of the register keyword.
Jim Meyering [Mon, 20 Nov 2006 09:30:51 +0000 (09:30 +0000)]
* lib/idcache.c (getuser): Remove all uses of the register keyword.
(getuidbyname, getgroup, getgidbyname): Likewise.

17 years agoUse cleaner syntax: NULL rather than 0.
Jim Meyering [Mon, 20 Nov 2006 09:25:38 +0000 (09:25 +0000)]
Use cleaner syntax: NULL rather than 0.
* lib/idcache.c (getuidbyname, getgidbyname): Return NULL, not 0.

17 years ago* lib/idcache.c: Undo most recent patch, dated 2006-11-06.
Paul Eggert [Mon, 20 Nov 2006 09:10:18 +0000 (09:10 +0000)]
* lib/idcache.c: Undo most recent patch, dated 2006-11-06.
It mishandled the case where the group was missing.
Problem reported by Greg Schafer.
* modules/idcache: Likewise.

17 years ago.
Karl Berry [Sun, 19 Nov 2006 09:04:21 +0000 (09:04 +0000)]
.

17 years ago* check-module (%exempt_header): Add exception for some
Jim Meyering [Sat, 18 Nov 2006 11:16:55 +0000 (11:16 +0000)]
* check-module (%exempt_header): Add exception for some
conditionally-included headers.

17 years ago* modules/i-ring (Depends-on): Add verify.
Jim Meyering [Sat, 18 Nov 2006 11:14:13 +0000 (11:14 +0000)]
* modules/i-ring (Depends-on): Add verify.
(License): Change to LGPL.

17 years agoRevert Jim's 2006-10-23 patch.
Simon Josefsson [Fri, 17 Nov 2006 13:47:43 +0000 (13:47 +0000)]
Revert Jim's 2006-10-23 patch.

17 years ago* modules/inline (License): Change from GPL to LGPL.
Paul Eggert [Fri, 17 Nov 2006 08:02:24 +0000 (08:02 +0000)]
* modules/inline (License): Change from GPL to LGPL.