gnulib.git
20 years agoDon't trash errno when a read fails.
Paul Eggert [Mon, 15 Sep 2003 22:34:18 +0000 (22:34 +0000)]
Don't trash errno when a read fails.

20 years agoSort dependencies by importance, not alphabetically.
Paul Eggert [Mon, 15 Sep 2003 20:40:48 +0000 (20:40 +0000)]
Sort dependencies by importance, not alphabetically.

20 years agoNew module 'fwriteerror'.
Bruno Haible [Mon, 15 Sep 2003 19:15:22 +0000 (19:15 +0000)]
New module 'fwriteerror'.

20 years agotypo
Bruno Haible [Mon, 15 Sep 2003 09:42:28 +0000 (09:42 +0000)]
typo

20 years agono strdup.c sync any more
Karl Berry [Sun, 14 Sep 2003 13:54:17 +0000 (13:54 +0000)]
no strdup.c sync any more

20 years ago.
Jim Meyering [Sat, 13 Sep 2003 22:14:56 +0000 (22:14 +0000)]
.

20 years ago.
Jim Meyering [Sat, 13 Sep 2003 22:14:02 +0000 (22:14 +0000)]
.

20 years agoCorrect cpp indentation.
Jim Meyering [Sat, 13 Sep 2003 22:13:36 +0000 (22:13 +0000)]
Correct cpp indentation.

20 years agoremove trailing newline
Jim Meyering [Sat, 13 Sep 2003 11:52:51 +0000 (11:52 +0000)]
remove trailing newline

20 years ago.
Karl Berry [Sat, 13 Sep 2003 07:14:01 +0000 (07:14 +0000)]
.

20 years agoMore changes, mostly C89 related.
Paul Eggert [Fri, 12 Sep 2003 22:38:25 +0000 (22:38 +0000)]
More changes, mostly C89 related.

20 years agoDepend on 'exit'.
Paul Eggert [Fri, 12 Sep 2003 22:36:46 +0000 (22:36 +0000)]
Depend on 'exit'.

20 years ago(jm_PREREQ_ADDEXT): Remove. All uses removed.
Paul Eggert [Fri, 12 Sep 2003 20:31:05 +0000 (20:31 +0000)]
(jm_PREREQ_ADDEXT): Remove.  All uses removed.
This macro has been superseded by gl_BACKUPFILE.

20 years ago(gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
Paul Eggert [Fri, 12 Sep 2003 20:26:54 +0000 (20:26 +0000)]
(gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
and AC_MINIX, too, so that their extensions are available.

20 years ago(LOCALE_PARAM_PROTO): Renamed from LOCALE_PARAM_DECL, for consistency
Paul Eggert [Fri, 12 Sep 2003 20:22:47 +0000 (20:22 +0000)]
(LOCALE_PARAM_PROTO): Renamed from LOCALE_PARAM_DECL, for consistency
with glibc.

20 years agoUse "exit.h" rather than rolling EXIT_FAILURE ourselves in each module.
Paul Eggert [Fri, 12 Sep 2003 20:14:10 +0000 (20:14 +0000)]
Use "exit.h" rather than rolling EXIT_FAILURE ourselves in each module.

20 years agoAssume vprintf.
Paul Eggert [Fri, 12 Sep 2003 19:47:20 +0000 (19:47 +0000)]
Assume vprintf.

20 years agoRemove K&R cruft.
Paul Eggert [Fri, 12 Sep 2003 19:38:19 +0000 (19:38 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Fri, 12 Sep 2003 19:22:07 +0000 (19:22 +0000)]
Remove K&R cruft.

20 years ago(getenv): Remove decl.
Paul Eggert [Fri, 12 Sep 2003 18:28:18 +0000 (18:28 +0000)]
(getenv): Remove decl.

20 years agoRemove K&R cruft.
Paul Eggert [Fri, 12 Sep 2003 18:24:51 +0000 (18:24 +0000)]
Remove K&R cruft.

20 years agosetenv.c and unsetenv.c are modified from gettext now.
Bruno Haible [Thu, 11 Sep 2003 14:12:03 +0000 (14:12 +0000)]
setenv.c and unsetenv.c are modified from gettext now.

20 years agoFix ChangeLog entry.
Bruno Haible [Thu, 11 Sep 2003 09:21:41 +0000 (09:21 +0000)]
Fix ChangeLog entry.

20 years agoRemove K&R cruft.
Paul Eggert [Thu, 11 Sep 2003 08:59:15 +0000 (08:59 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Thu, 11 Sep 2003 08:52:03 +0000 (08:52 +0000)]
Remove K&R cruft.

20 years ago(main): Define with a prototype.
Paul Eggert [Thu, 11 Sep 2003 08:46:51 +0000 (08:46 +0000)]
(main): Define with a prototype.

20 years agoRemove K&R cruft.
Paul Eggert [Thu, 11 Sep 2003 08:43:46 +0000 (08:43 +0000)]
Remove K&R cruft.

20 years agoAssume ANSI C.
Bruno Haible [Wed, 10 Sep 2003 14:52:49 +0000 (14:52 +0000)]
Assume ANSI C.

20 years agoAssume ANSI C <string.h>, <stdlib.h>.
Bruno Haible [Wed, 10 Sep 2003 14:16:32 +0000 (14:16 +0000)]
Assume ANSI C <string.h>, <stdlib.h>.

20 years agoAssume ANSI C.
Bruno Haible [Wed, 10 Sep 2003 14:07:55 +0000 (14:07 +0000)]
Assume ANSI C.

20 years ago.
Jim Meyering [Wed, 10 Sep 2003 08:33:22 +0000 (08:33 +0000)]
.

20 years agoCorrect indentation of cpp directives.
Jim Meyering [Wed, 10 Sep 2003 08:33:11 +0000 (08:33 +0000)]
Correct indentation of cpp directives.

20 years ago(strchrnul): Convert arg to char, not to unsigned char.
Paul Eggert [Wed, 10 Sep 2003 07:28:30 +0000 (07:28 +0000)]
(strchrnul): Convert arg to char, not to unsigned char.

20 years agounsigned char -> char in strchrnul
Paul Eggert [Wed, 10 Sep 2003 07:27:34 +0000 (07:27 +0000)]
unsigned char -> char in strchrnul

20 years agoRemove K&R cruft, day two.
Paul Eggert [Wed, 10 Sep 2003 07:13:02 +0000 (07:13 +0000)]
Remove K&R cruft, day two.

20 years agoRemove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 07:10:43 +0000 (07:10 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 06:53:45 +0000 (06:53 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 06:43:26 +0000 (06:43 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 06:18:22 +0000 (06:18 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 04:22:10 +0000 (04:22 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 03:47:34 +0000 (03:47 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 23:31:14 +0000 (23:31 +0000)]
Remove K&R cruft.

20 years ago(physmem_total, physmem_available, main): Define with prototypes.
Paul Eggert [Tue, 9 Sep 2003 23:28:39 +0000 (23:28 +0000)]
(physmem_total, physmem_available, main): Define with prototypes.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 23:25:33 +0000 (23:25 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 23:00:43 +0000 (23:00 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 22:41:13 +0000 (22:41 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 22:27:55 +0000 (22:27 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 22:22:46 +0000 (22:22 +0000)]
Remove K&R cruft.

20 years agoInclude <stdlib.h>.
Paul Eggert [Tue, 9 Sep 2003 21:51:00 +0000 (21:51 +0000)]
Include <stdlib.h>.
(free): Remove decl.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 21:46:50 +0000 (21:46 +0000)]
Remove K&R cruft.

20 years agoNew section: portability guidelines.
Paul Eggert [Tue, 9 Sep 2003 21:22:08 +0000 (21:22 +0000)]
New section: portability guidelines.

20 years agoInclude <sys/types.h>, so that this file is self-contained.
Paul Eggert [Tue, 9 Sep 2003 20:09:53 +0000 (20:09 +0000)]
Include <sys/types.h>, so that this file is self-contained.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 20:06:56 +0000 (20:06 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 19:37:26 +0000 (19:37 +0000)]
Remove K&R cruft.

20 years agoInclude <sys/types.h>, so that it's self-contained.
Paul Eggert [Tue, 9 Sep 2003 19:31:20 +0000 (19:31 +0000)]
Include <sys/types.h>, so that it's self-contained.

20 years ago(readname, default_index, line_size, readname):
Paul Eggert [Tue, 9 Sep 2003 19:26:25 +0000 (19:26 +0000)]
(readname, default_index, line_size, readname):
Use size_t, not int, for sizes.
(readname): If the size overflows, report an error instead of
looping forever.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 19:23:55 +0000 (19:23 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 18:42:46 +0000 (18:42 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft in getopt.
Paul Eggert [Tue, 9 Sep 2003 18:36:53 +0000 (18:36 +0000)]
Remove K&R cruft in getopt.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 17:44:20 +0000 (17:44 +0000)]
Remove K&R cruft.

20 years agoReorder comments.
Bruno Haible [Tue, 9 Sep 2003 09:18:52 +0000 (09:18 +0000)]
Reorder comments.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 07:31:58 +0000 (07:31 +0000)]
Remove K&R cruft.

20 years ago(getloadavg, main): Define via prototypes.
Paul Eggert [Tue, 9 Sep 2003 07:27:10 +0000 (07:27 +0000)]
(getloadavg, main): Define via prototypes.

20 years ago.
Karl Berry [Tue, 9 Sep 2003 07:14:03 +0000 (07:14 +0000)]
.

20 years agoAssume C89 or better; remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 07:03:51 +0000 (07:03 +0000)]
Assume C89 or better; remove K&R cruft.
Remove getversion.c
Fix !HAVE_UTIMES_NULL case in utime.c

20 years agoRemove K&R cruft (alloca.m4 through getdate.m4).
Paul Eggert [Tue, 9 Sep 2003 07:02:31 +0000 (07:02 +0000)]
Remove K&R cruft (alloca.m4 through getdate.m4).

20 years agoInclude <stddef.h>.
Paul Eggert [Tue, 9 Sep 2003 06:58:13 +0000 (06:58 +0000)]
Include <stddef.h>.
(gethostname): Define with prototype.  Length is size_t, not int.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 06:54:11 +0000 (06:54 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 06:48:57 +0000 (06:48 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 06:37:10 +0000 (06:37 +0000)]
Remove K&R cruft.

20 years agoRemove; was migrated to backupfile.c in 1997.
Paul Eggert [Tue, 9 Sep 2003 06:26:07 +0000 (06:26 +0000)]
Remove; was migrated to backupfile.c in 1997.
getversion.c should have been removed then, but was accidentally
preserved.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 06:23:53 +0000 (06:23 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 03:34:40 +0000 (03:34 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 03:15:05 +0000 (03:15 +0000)]
Remove K&R cruft.

20 years ago(main): Define with a prototype.
Paul Eggert [Tue, 9 Sep 2003 03:08:14 +0000 (03:08 +0000)]
(main): Define with a prototype.

20 years agoRemove K&R cruft.
Paul Eggert [Mon, 8 Sep 2003 23:26:06 +0000 (23:26 +0000)]
Remove K&R cruft.

20 years agoRemove K&R cruft.
Paul Eggert [Mon, 8 Sep 2003 23:18:35 +0000 (23:18 +0000)]
Remove K&R cruft.

20 years agoInclude <stddef.h>.
Paul Eggert [Mon, 8 Sep 2003 23:16:12 +0000 (23:16 +0000)]
Include <stddef.h>.
(bcopy): Define with prototype, using 'const' and 'void' and 'size_t'.

20 years agoRemove K&R cruft.
Paul Eggert [Mon, 8 Sep 2003 23:08:47 +0000 (23:08 +0000)]
Remove K&R cruft.

20 years ago(atexit): Define using a prototype.
Paul Eggert [Mon, 8 Sep 2003 23:03:20 +0000 (23:03 +0000)]
(atexit): Define using a prototype.

20 years agoRemove K&R cruft.
Paul Eggert [Mon, 8 Sep 2003 22:58:10 +0000 (22:58 +0000)]
Remove K&R cruft.

20 years agoAssume C89; don't check for stdlib.h, string.h, genenv, malloc.
Paul Eggert [Mon, 8 Sep 2003 22:52:05 +0000 (22:52 +0000)]
Assume C89; don't check for stdlib.h, string.h, genenv, malloc.

20 years ago[!HAVE_UTIMES_NULL]: Include <sys/stat.h>, <fcntl.h>.
Paul Eggert [Mon, 8 Sep 2003 22:32:00 +0000 (22:32 +0000)]
[!HAVE_UTIMES_NULL]: Include <sys/stat.h>, <fcntl.h>.
(utime_null): Fix typo: 'st' was sometimes called 'sb'.

20 years agoupdate config from savannah
Karl Berry [Mon, 8 Sep 2003 21:00:16 +0000 (21:00 +0000)]
update config from savannah

20 years agoupdate from savannah config project
Karl Berry [Mon, 8 Sep 2003 20:52:42 +0000 (20:52 +0000)]
update from savannah config project

20 years agoupdate from automake
Karl Berry [Mon, 8 Sep 2003 09:43:39 +0000 (09:43 +0000)]
update from automake

20 years ago.
Karl Berry [Mon, 8 Sep 2003 07:20:57 +0000 (07:20 +0000)]
.

20 years ago* modules/time_r: Depend on 'restrict'.
Paul Eggert [Mon, 8 Sep 2003 00:41:37 +0000 (00:41 +0000)]
* modules/time_r: Depend on 'restrict'.
* lib/time_r.c (gmtime_r, localtime_r): Fix silly typo.

20 years ago.
Karl Berry [Sun, 7 Sep 2003 07:12:10 +0000 (07:12 +0000)]
.

20 years agoAdd time_r module. Change timegm, mktime, and strftime to use localtime_r
Paul Eggert [Sat, 6 Sep 2003 21:34:07 +0000 (21:34 +0000)]
Add time_r module.  Change timegm, mktime, and strftime to use localtime_r
and gmtime_r, now supplied by the time_r module.  This fixes some timegm
bugs and cleans up mktime and strftime a bit.

20 years ago(human_readable): Fix bug that rounded 10501 to 10k.
Paul Eggert [Wed, 3 Sep 2003 19:57:54 +0000 (19:57 +0000)]
(human_readable): Fix bug that rounded 10501 to 10k.
Bug reported by Lute Kamstra in
<http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00003.html>.

20 years ago* getdate.y (relative_time_table): Use tDAY_UNIT for "tomorrow",
Paul Eggert [Wed, 3 Sep 2003 07:12:15 +0000 (07:12 +0000)]
* getdate.y (relative_time_table): Use tDAY_UNIT for "tomorrow",
"yesterday", "today", and "now" rather than tMINUTE_UNIT.

20 years ago(relative_time_table): Use tDAY_UNIT for "tomorrow", "yesterday",
Paul Eggert [Wed, 3 Sep 2003 07:11:45 +0000 (07:11 +0000)]
(relative_time_table): Use tDAY_UNIT for "tomorrow", "yesterday",
"today", and "now" rather than tMINUTE_UNIT.  Of course with
correspondingly smaller numbers for tomorrow and yesterday.  From
Tadayoshi Funaba.  Originally installed into sh-utils on 1999-08-07,
but the patch got lost (I guess during the coreutils merge?).

20 years ago.
Karl Berry [Tue, 2 Sep 2003 07:15:31 +0000 (07:15 +0000)]
.

20 years agoNew module 'timegm'.
Bruno Haible [Mon, 1 Sep 2003 17:47:35 +0000 (17:47 +0000)]
New module 'timegm'.

20 years agoForgot to distribute strndup.h.
Bruno Haible [Mon, 1 Sep 2003 17:32:24 +0000 (17:32 +0000)]
Forgot to distribute strndup.h.

20 years agoAdd arch taglines
Miles Bader [Mon, 1 Sep 2003 15:45:56 +0000 (15:45 +0000)]
Add arch taglines

20 years agoupdate from libc
Karl Berry [Sun, 31 Aug 2003 13:07:02 +0000 (13:07 +0000)]
update from libc

20 years agoAvoid havoc with AIX 3.2.5 xlc.
Bruno Haible [Thu, 28 Aug 2003 19:38:48 +0000 (19:38 +0000)]
Avoid havoc with AIX 3.2.5 xlc.

20 years agoAvoid warning on QNX.
Bruno Haible [Thu, 28 Aug 2003 13:59:25 +0000 (13:59 +0000)]
Avoid warning on QNX.