gnulib.git
19 years ago(futimens): Account for the fact that futimes
Paul Eggert [Tue, 18 Jan 2005 22:06:23 +0000 (22:06 +0000)]
(futimens): Account for the fact that futimes
can also fail with errno == ENOENT or errno == ENOSYS.

19 years ago* modules/chdir-long, modules/openat: New files.
Paul Eggert [Tue, 18 Jan 2005 21:58:11 +0000 (21:58 +0000)]
* modules/chdir-long, modules/openat: New files.
* modules/save-cwd (Depends-on): Depend on chdir-long.
(Makefile.am): Remove lib_SOURCES; now handled by AC_LIBSOURCES.
* lib/save-cwd.c: Include "save-cwd.h" before other include files.
(O_DIRECTORY): Remove; not needed here, since "." must be
a directory.  All uses removed.
(save_cwd): Use __sgi || __sun, not sun || __sun.  __sun is
universal on Suns, and we also need to test for IRIX.
Revamp code to use 'if' rather than '#if'.
Avoid unnecessary comparison of cwd->desc to 0.

Change the name of the robust chdir function from chdir to chdir_long.
* lib/save-cwd.c: Include chdir-long.h rather than chdir.h.
(restore_cwd): Use chdir_long, not chdir.
* lib/chdir-long.c: Renamed from chdir.c.
* lib/chdir-long.h: Renamed from chdir.h.
[!defined PATH_MAX]: Define chdir_long to chdir on systems like the Hurd.

* m4/chdir-long.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.

19 years agoMerge changes from coreutils.
Paul Eggert [Tue, 18 Jan 2005 21:09:14 +0000 (21:09 +0000)]
Merge changes from coreutils.
[DEFAULT_ALIGNMENT]: Use an intermediate type to simplify
offsetof() macro construct to avoid compile failure with native HP-UX
11.0 ANSI C compiler.

19 years agoUse an all-permissive copyright notice.
Bruno Haible [Tue, 18 Jan 2005 13:11:07 +0000 (13:11 +0000)]
Use an all-permissive copyright notice.

19 years agoUse an all-permissive copyright notice, recommended by RMS.
Bruno Haible [Tue, 18 Jan 2005 13:07:56 +0000 (13:07 +0000)]
Use an all-permissive copyright notice, recommended by RMS.

19 years agoMove some conditionals from the .c file to the .m4 file.
Bruno Haible [Mon, 17 Jan 2005 13:15:19 +0000 (13:15 +0000)]
Move some conditionals from the .c file to the .m4 file.

19 years agoUpdate from gettext.
Bruno Haible [Mon, 17 Jan 2005 13:06:34 +0000 (13:06 +0000)]
Update from gettext.

19 years agoCopyright years.
Bruno Haible [Mon, 17 Jan 2005 12:58:13 +0000 (12:58 +0000)]
Copyright years.

19 years agoThe fwriteerror() function now needs to fclose() the stream,
Bruno Haible [Mon, 17 Jan 2005 12:56:47 +0000 (12:56 +0000)]
The fwriteerror() function now needs to fclose() the stream,
otherwise it cannot detect write failure reliably on NFS.

19 years agoDeclare environ; not all systems declare it.
Bruno Haible [Mon, 17 Jan 2005 12:55:00 +0000 (12:55 +0000)]
Declare environ; not all systems declare it.

19 years ago.
Karl Berry [Sat, 15 Jan 2005 17:16:25 +0000 (17:16 +0000)]
.

19 years agoautoupdate from libtool
Karl Berry [Wed, 12 Jan 2005 13:44:47 +0000 (13:44 +0000)]
autoupdate from libtool

19 years agoautoupdate
Karl Berry [Wed, 12 Jan 2005 13:43:11 +0000 (13:43 +0000)]
autoupdate

19 years agoUpdated
Sergey Poznyakoff [Tue, 11 Jan 2005 10:10:01 +0000 (10:10 +0000)]
Updated

19 years agoDepend on vsnprintf
Sergey Poznyakoff [Tue, 11 Jan 2005 10:07:38 +0000 (10:07 +0000)]
Depend on vsnprintf

19 years ago*** empty log message ***
Jim Meyering [Mon, 10 Jan 2005 15:43:27 +0000 (15:43 +0000)]
*** empty log message ***

19 years ago(Depends-on): Add atexit.
Jim Meyering [Mon, 10 Jan 2005 15:42:34 +0000 (15:42 +0000)]
(Depends-on): Add atexit.

19 years agoPrint #include directives when --import'ing.
Simon Josefsson [Wed, 5 Jan 2005 02:50:04 +0000 (02:50 +0000)]
Print #include directives when --import'ing.

19 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jan 2005 20:24:58 +0000 (20:24 +0000)]
*** empty log message ***

19 years agoChanges imported from coreutils.
Jim Meyering [Tue, 4 Jan 2005 20:22:52 +0000 (20:22 +0000)]
Changes imported from coreutils.

(gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
as the mkstemp template, use a temporary directory and an
8.3-friendly template to avoid trouble on systems like DJGPP.
Remove the temporary directory right away, rather than waiting
for configure's at-exit trap code to do it.
Reported by Juan M. Guerrero via Stepan Kasal.

19 years ago* human.c (SIZE_MAX, UINTMAX_MAX): Move these conditional
Paul Eggert [Tue, 4 Jan 2005 18:46:24 +0000 (18:46 +0000)]
* human.c (SIZE_MAX, UINTMAX_MAX): Move these conditional
definitions to be after all include files, to avoid collisions.

19 years agoautoupdate
Karl Berry [Tue, 4 Jan 2005 17:23:09 +0000 (17:23 +0000)]
autoupdate

19 years agoautoupdate
Karl Berry [Sat, 1 Jan 2005 17:18:07 +0000 (17:18 +0000)]
autoupdate

19 years agostandards update
Karl Berry [Thu, 30 Dec 2004 22:56:28 +0000 (22:56 +0000)]
standards update

19 years ago* error.c: Remove dependency on gettext and libintl.
Paul Eggert [Wed, 29 Dec 2004 05:51:19 +0000 (05:51 +0000)]
* error.c: Remove dependency on gettext and libintl.

19 years ago* modules/error (Depends-on): Remove gettext.
Paul Eggert [Wed, 29 Dec 2004 05:50:55 +0000 (05:50 +0000)]
* modules/error (Depends-on): Remove gettext.

19 years ago(Depends-on): Remove gettext.
Paul Eggert [Wed, 29 Dec 2004 05:50:14 +0000 (05:50 +0000)]
(Depends-on): Remove gettext.

19 years ago[!_LIBC && !ENABLE_NLS]: Do not include "gettext.h";
Paul Eggert [Wed, 29 Dec 2004 05:49:08 +0000 (05:49 +0000)]
[!_LIBC && !ENABLE_NLS]: Do not include "gettext.h";
not needed.  This removes a dependency on the gettext module.
[defined _LIBC]: Do not include <libintl.h>; not needed.

19 years ago* tests/test-base64.c: Include required header files. Remove
Simon Josefsson [Tue, 28 Dec 2004 02:36:14 +0000 (02:36 +0000)]
* tests/test-base64.c: Include required header files.  Remove
unused variables.

19 years agoautoupdate
Karl Berry [Fri, 24 Dec 2004 14:00:46 +0000 (14:00 +0000)]
autoupdate

19 years ago* c-strtod.m4 (gl_C99_STRTOLD): New macro.
Paul Eggert [Fri, 24 Dec 2004 08:36:54 +0000 (08:36 +0000)]
* c-strtod.m4 (gl_C99_STRTOLD): New macro.
(gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).

19 years ago(gl_C99_STRTOLD): New macro.
Paul Eggert [Fri, 24 Dec 2004 08:36:41 +0000 (08:36 +0000)]
(gl_C99_STRTOLD): New macro.
(gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).

19 years ago* c-strtod.c (STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
Paul Eggert [Fri, 24 Dec 2004 08:36:15 +0000 (08:36 +0000)]
* c-strtod.c (STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.

19 years ago(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
Paul Eggert [Fri, 24 Dec 2004 08:35:58 +0000 (08:35 +0000)]
(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.

19 years ago(parser_init): Omit unnecessary alignments, and comment the alignments.
Paul Eggert [Fri, 24 Dec 2004 08:07:29 +0000 (08:07 +0000)]
(parser_init): Omit unnecessary alignments, and comment the alignments.

19 years agoInclude <stddef.h>.
Paul Eggert [Fri, 24 Dec 2004 08:02:03 +0000 (08:02 +0000)]
Include <stddef.h>.
(alignof, alignto): New macros.
(parser_init): Don't assume that void * is aligned sufficiently
for struct option.

19 years ago* getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
Paul Eggert [Fri, 24 Dec 2004 06:06:57 +0000 (06:06 +0000)]
* getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.

19 years ago(gl_GETDATE): Remove AC_FUNC_ALLOCA.
Paul Eggert [Fri, 24 Dec 2004 06:06:43 +0000 (06:06 +0000)]
(gl_GETDATE): Remove AC_FUNC_ALLOCA.

19 years ago* modules/getdate (Depends-on): Remove alloca-opt.
Paul Eggert [Fri, 24 Dec 2004 06:06:17 +0000 (06:06 +0000)]
* modules/getdate (Depends-on): Remove alloca-opt.

19 years ago(Depends-on): Remove alloca-opt.
Paul Eggert [Fri, 24 Dec 2004 06:06:01 +0000 (06:06 +0000)]
(Depends-on): Remove alloca-opt.

19 years ago* getdate.y (YYSTACK_USE_ALLOCA): Define to 0, since there's no
Paul Eggert [Fri, 24 Dec 2004 05:29:34 +0000 (05:29 +0000)]
* getdate.y (YYSTACK_USE_ALLOCA): Define to 0, since there's no
need to extend the stack.

19 years ago(YYSTACK_USE_ALLOCA): Define to 0, since there's no need to extend the
Paul Eggert [Fri, 24 Dec 2004 05:29:20 +0000 (05:29 +0000)]
(YYSTACK_USE_ALLOCA): Define to 0, since there's no need to extend the
stack.

19 years ago* getdate.y (YYINITDEPTH): New macro.
Paul Eggert [Fri, 24 Dec 2004 05:21:23 +0000 (05:21 +0000)]
* getdate.y (YYINITDEPTH): New macro.

19 years ago(YYINITDEPTH): New macro, so that the initial stack is small too.
Paul Eggert [Fri, 24 Dec 2004 05:21:05 +0000 (05:21 +0000)]
(YYINITDEPTH): New macro, so that the initial stack is small too.

19 years agoUpdated
Sergey Poznyakoff [Wed, 22 Dec 2004 09:51:09 +0000 (09:51 +0000)]
Updated

19 years ago(parser_init): Avoid arithmetics on void pointers.
Sergey Poznyakoff [Wed, 22 Dec 2004 09:50:38 +0000 (09:50 +0000)]
(parser_init): Avoid arithmetics on void pointers.

19 years agoFix typo in comment in previous change.
Paul Eggert [Mon, 20 Dec 2004 08:08:51 +0000 (08:08 +0000)]
Fix typo in comment in previous change.

19 years ago* modules/regex (lib_SOURCES): Undo previous change.
Paul Eggert [Mon, 20 Dec 2004 04:26:40 +0000 (04:26 +0000)]
* modules/regex (lib_SOURCES): Undo previous change.

19 years agoUndo previous change.
Paul Eggert [Mon, 20 Dec 2004 04:25:22 +0000 (04:25 +0000)]
Undo previous change.

19 years ago* modules/getdate: Depend on alloca-opt, not alloca.
Paul Eggert [Sun, 19 Dec 2004 13:45:43 +0000 (13:45 +0000)]
* modules/getdate: Depend on alloca-opt, not alloca.

19 years agoDepend on alloca-opt, not alloca.
Paul Eggert [Sun, 19 Dec 2004 13:45:27 +0000 (13:45 +0000)]
Depend on alloca-opt, not alloca.

19 years ago* alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
Paul Eggert [Sun, 19 Dec 2004 13:41:34 +0000 (13:41 +0000)]
* alloca_.h: Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
Remove now-obsolete comment about AIX.
* getdate.y: Include <alloca.h> only if HAVE_ALLOCA.
(YYSTACK_USE_ALLOCA): Define to 0 if !HAVE_ALLOCA.
(YYMAXDEPTH): New macro.

19 years agoPortability fix: Don't assume sigaction(). (mingw doesn't have it.)
Bruno Haible [Sat, 18 Dec 2004 18:27:48 +0000 (18:27 +0000)]
Portability fix: Don't assume sigaction(). (mingw doesn't have it.)

19 years agoSignals whose handler is set to SIG_IGN are not fatal.
Bruno Haible [Sat, 18 Dec 2004 18:20:45 +0000 (18:20 +0000)]
Signals whose handler is set to SIG_IGN are not fatal.

19 years agoDocumentation of 'alloca' and 'alloca-opt' modules.
Bruno Haible [Sat, 18 Dec 2004 16:27:31 +0000 (16:27 +0000)]
Documentation of 'alloca' and 'alloca-opt' modules.

19 years ago* modules/alloca: Depend on alloca-opt, instead of duplicating it.
Simon Josefsson [Sat, 18 Dec 2004 15:16:09 +0000 (15:16 +0000)]
* modules/alloca: Depend on alloca-opt, instead of duplicating it.

19 years agoupdate scriptversion, but not copyright date
Jim Meyering [Fri, 17 Dec 2004 08:41:23 +0000 (08:41 +0000)]
update scriptversion, but not copyright date

19 years ago*** empty log message ***
Jim Meyering [Fri, 17 Dec 2004 08:13:00 +0000 (08:13 +0000)]
*** empty log message ***

19 years agoUse `(exit N); exit N', not `(exit N); exit'.
Jim Meyering [Fri, 17 Dec 2004 08:12:52 +0000 (08:12 +0000)]
Use `(exit N); exit N', not `(exit N); exit'.
Otherwise, install-sh could exit with improper exit status when
exiting via a trapped interrupt.  Thanks to a report from Bob Proulx.

19 years agoTypo.
Simon Josefsson [Thu, 16 Dec 2004 01:32:32 +0000 (01:32 +0000)]
Typo.

19 years agoAdd license.
Simon Josefsson [Thu, 16 Dec 2004 01:22:30 +0000 (01:22 +0000)]
Add license.

19 years ago* gnulib-tool (func_emit_lib_Makefile_am): Shorten a long sed command.
Paul Eggert [Wed, 15 Dec 2004 22:31:17 +0000 (22:31 +0000)]
* gnulib-tool (func_emit_lib_Makefile_am): Shorten a long sed command.

19 years ago(func_emit_lib_Makefile_am): Shorten a long sed command.
Paul Eggert [Wed, 15 Dec 2004 22:31:01 +0000 (22:31 +0000)]
(func_emit_lib_Makefile_am): Shorten a long sed command.

19 years ago.
Karl Berry [Mon, 13 Dec 2004 13:26:32 +0000 (13:26 +0000)]
.

19 years agoFix typo in previous change.
Paul Eggert [Sun, 12 Dec 2004 23:19:40 +0000 (23:19 +0000)]
Fix typo in previous change.

19 years ago(Files): Add m4/d-ino.m4
Paul Eggert [Sun, 12 Dec 2004 23:19:21 +0000 (23:19 +0000)]
(Files): Add m4/d-ino.m4

19 years ago* modules/getcwd (Depends-on): Add m4/d-ino.m4.
Paul Eggert [Sun, 12 Dec 2004 23:18:48 +0000 (23:18 +0000)]
* modules/getcwd (Depends-on): Add m4/d-ino.m4.

19 years agotexmfroot
Karl Berry [Sun, 12 Dec 2004 14:39:22 +0000 (14:39 +0000)]
texmfroot

19 years agoautoupdate
Karl Berry [Thu, 9 Dec 2004 13:37:56 +0000 (13:37 +0000)]
autoupdate

19 years agoMerge from coreutils.
Paul Eggert [Wed, 8 Dec 2004 22:25:43 +0000 (22:25 +0000)]
Merge from coreutils.

19 years ago* ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change: spurious "-l"s.
Paul Eggert [Tue, 7 Dec 2004 18:41:40 +0000 (18:41 +0000)]
* ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change: spurious "-l"s.

19 years ago(AC_FUNC_GETMNTENT): Fix typo in previous change:
Paul Eggert [Tue, 7 Dec 2004 18:41:20 +0000 (18:41 +0000)]
(AC_FUNC_GETMNTENT): Fix typo in previous change:
spurious "-l"s.  Problem reported by Stepan Kasal.

19 years agoFix typo in file name.
Paul Eggert [Mon, 6 Dec 2004 21:53:05 +0000 (21:53 +0000)]
Fix typo in file name.

19 years ago* ls-mnt-fs.m4 (AC_FUNC_GETMNTENT): New macro.
Paul Eggert [Mon, 6 Dec 2004 21:51:44 +0000 (21:51 +0000)]
* ls-mnt-fs.m4 (AC_FUNC_GETMNTENT): New macro.

19 years ago(AC_FUNC_GETMNTENT): New macro, to work around bug
Paul Eggert [Mon, 6 Dec 2004 21:51:24 +0000 (21:51 +0000)]
(AC_FUNC_GETMNTENT): New macro, to work around bug
in Autoconf 2.59.  Problem reported by Mark D. Baushke.

19 years agoautoupdate
Karl Berry [Mon, 6 Dec 2004 21:45:21 +0000 (21:45 +0000)]
autoupdate

19 years ago.
Karl Berry [Mon, 6 Dec 2004 09:30:29 +0000 (09:30 +0000)]
.

19 years ago* modules/hard-locale (Depends-on): Add strdup.
Paul Eggert [Sun, 5 Dec 2004 06:52:28 +0000 (06:52 +0000)]
* modules/hard-locale (Depends-on): Add strdup.

19 years ago(Depends-on): Add strdup.
Paul Eggert [Sun, 5 Dec 2004 06:52:12 +0000 (06:52 +0000)]
(Depends-on): Add strdup.

19 years agoImport chamges from coreutils, so that the code now assumes
Paul Eggert [Sun, 5 Dec 2004 06:50:15 +0000 (06:50 +0000)]
Import chamges from coreutils, so that the code now assumes
that <locale.h> and its functions exist.

19 years agomodules/getaddrinfo (License): Add LGPL, reported by Yoann
Simon Josefsson [Sat, 4 Dec 2004 19:00:45 +0000 (19:00 +0000)]
modules/getaddrinfo (License): Add LGPL, reported by Yoann
Vandoorselaere <yoann@prelude-ids.org>.

19 years ago.
Paul Eggert [Fri, 3 Dec 2004 06:36:56 +0000 (06:36 +0000)]
.

19 years ago* mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,
Paul Eggert [Fri, 3 Dec 2004 06:35:48 +0000 (06:35 +0000)]
* mktime.c (__mktime_internal): If SEC_REQUESTED != SEC,
convert T2, not T.  (Imported from libc.)

19 years ago(__mktime_internal): If SEC_REQUESTED != SEC,
Paul Eggert [Fri, 3 Dec 2004 06:35:31 +0000 (06:35 +0000)]
(__mktime_internal): If SEC_REQUESTED != SEC,
convert T2, not T.  (Imported from libc.)

19 years agoImport getcwd and readutmp changes from coreutils.
Paul Eggert [Wed, 1 Dec 2004 07:31:23 +0000 (07:31 +0000)]
Import getcwd and readutmp changes from coreutils.

19 years agoImport readutmp and getcwd changes from gnulib.
Paul Eggert [Wed, 1 Dec 2004 07:31:00 +0000 (07:31 +0000)]
Import readutmp and getcwd changes from gnulib.

19 years ago(gl_READUTMP): Don't check for sys/param.h.
Paul Eggert [Wed, 1 Dec 2004 07:30:25 +0000 (07:30 +0000)]
(gl_READUTMP): Don't check for sys/param.h.

19 years agoDon't include <errno.h>,
Paul Eggert [Wed, 1 Dec 2004 07:30:05 +0000 (07:30 +0000)]
Don't include <errno.h>,
<sys/param.h>, <time.h>; not needed to establish interface.
(errno): Remove decl.
(HAVE_STRUCT_XTMP_UT_TYPE): Remove; no longer needed.
(UT_TYPE_EQ, UT_TYPE_NOT_DEFINED, UT_TYPE_BOOT_TIME,
UT_TYPE_USER_PROCESS, IS_USER_PROCESS): New macros.

19 years agoInclude readutmp.h first.
Paul Eggert [Wed, 1 Dec 2004 07:29:45 +0000 (07:29 +0000)]
Include readutmp.h first.
Include <errno.h>, since readutmp.h no longer does that.

19 years ago(gl_FUNC_GETCWD_PATH_MAX):
Paul Eggert [Wed, 1 Dec 2004 07:27:18 +0000 (07:27 +0000)]
(gl_FUNC_GETCWD_PATH_MAX):
Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.

19 years ago(is_ENAMETOOLONG): New macro.
Paul Eggert [Wed, 1 Dec 2004 07:26:53 +0000 (07:26 +0000)]
(is_ENAMETOOLONG): New macro.
(__getcwd.c): Don't restore errno; glibc doesn't.
[HAVE_PARTLY_WORKING_GETCWD && !defined AT_FDCWD]: Try system getcwd
first, falling back to our code only if its results look suspicious.
Ensure that the resulting buffer is only as large as necessary.

19 years agoAdd base64.
Simon Josefsson [Tue, 30 Nov 2004 20:46:52 +0000 (20:46 +0000)]
Add base64.

19 years ago(License): Change to LGPL.
Simon Josefsson [Tue, 30 Nov 2004 20:45:22 +0000 (20:45 +0000)]
(License): Change to LGPL.

19 years agoAdd copyright and copying conditions.
Simon Josefsson [Tue, 30 Nov 2004 20:43:32 +0000 (20:43 +0000)]
Add copyright and copying conditions.

19 years agoupdate from gnustandards
Karl Berry [Mon, 29 Nov 2004 18:37:47 +0000 (18:37 +0000)]
update from gnustandards

19 years ago* getcwd.h: New file, which I forgot to check in on 2004-11-25.
Paul Eggert [Sun, 28 Nov 2004 06:09:06 +0000 (06:09 +0000)]
* getcwd.h: New file, which I forgot to check in on 2004-11-25.

19 years agoInitial revision, imported from coreutils.
Paul Eggert [Sun, 28 Nov 2004 06:02:21 +0000 (06:02 +0000)]
Initial revision, imported from coreutils.

19 years agoupdate from texinfo
Karl Berry [Fri, 26 Nov 2004 13:34:22 +0000 (13:34 +0000)]
update from texinfo

19 years agoMerge from coreutils for getcwd and HP-UX 11.
Paul Eggert [Fri, 26 Nov 2004 08:35:29 +0000 (08:35 +0000)]
Merge from coreutils for getcwd and HP-UX 11.

19 years ago*** empty log message ***
Jim Meyering [Tue, 23 Nov 2004 21:43:35 +0000 (21:43 +0000)]
*** empty log message ***