Paul Eggert [Tue, 9 Sep 2003 23:25:33 +0000 (23:25 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 23:00:43 +0000 (23:00 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 22:41:13 +0000 (22:41 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 22:27:55 +0000 (22:27 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 22:22:46 +0000 (22:22 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 21:51:00 +0000 (21:51 +0000)]
Include <stdlib.h>.
(free): Remove decl.
Paul Eggert [Tue, 9 Sep 2003 21:46:50 +0000 (21:46 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 21:22:08 +0000 (21:22 +0000)]
New section: portability guidelines.
Paul Eggert [Tue, 9 Sep 2003 20:09:53 +0000 (20:09 +0000)]
Include <sys/types.h>, so that this file is self-contained.
Paul Eggert [Tue, 9 Sep 2003 20:06:56 +0000 (20:06 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 19:37:26 +0000 (19:37 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 19:31:20 +0000 (19:31 +0000)]
Include <sys/types.h>, so that it's self-contained.
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.
Paul Eggert [Tue, 9 Sep 2003 19:23:55 +0000 (19:23 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 18:42:46 +0000 (18:42 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 18:36:53 +0000 (18:36 +0000)]
Remove K&R cruft in getopt.
Paul Eggert [Tue, 9 Sep 2003 17:44:20 +0000 (17:44 +0000)]
Remove K&R cruft.
Bruno Haible [Tue, 9 Sep 2003 09:18:52 +0000 (09:18 +0000)]
Reorder comments.
Paul Eggert [Tue, 9 Sep 2003 07:31:58 +0000 (07:31 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 07:27:10 +0000 (07:27 +0000)]
(getloadavg, main): Define via prototypes.
Karl Berry [Tue, 9 Sep 2003 07:14:03 +0000 (07:14 +0000)]
.
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
Paul Eggert [Tue, 9 Sep 2003 07:02:31 +0000 (07:02 +0000)]
Remove K&R cruft (alloca.m4 through getdate.m4).
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.
Paul Eggert [Tue, 9 Sep 2003 06:54:11 +0000 (06:54 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 06:48:57 +0000 (06:48 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 06:37:10 +0000 (06:37 +0000)]
Remove K&R cruft.
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.
Paul Eggert [Tue, 9 Sep 2003 06:23:53 +0000 (06:23 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 03:34:40 +0000 (03:34 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 03:15:05 +0000 (03:15 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 03:08:14 +0000 (03:08 +0000)]
(main): Define with a prototype.
Paul Eggert [Mon, 8 Sep 2003 23:26:06 +0000 (23:26 +0000)]
Remove K&R cruft.
Paul Eggert [Mon, 8 Sep 2003 23:18:35 +0000 (23:18 +0000)]
Remove K&R cruft.
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'.
Paul Eggert [Mon, 8 Sep 2003 23:08:47 +0000 (23:08 +0000)]
Remove K&R cruft.
Paul Eggert [Mon, 8 Sep 2003 23:03:20 +0000 (23:03 +0000)]
(atexit): Define using a prototype.
Paul Eggert [Mon, 8 Sep 2003 22:58:10 +0000 (22:58 +0000)]
Remove K&R cruft.
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.
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'.
Karl Berry [Mon, 8 Sep 2003 21:00:16 +0000 (21:00 +0000)]
update config from savannah
Karl Berry [Mon, 8 Sep 2003 20:52:42 +0000 (20:52 +0000)]
update from savannah config project
Karl Berry [Mon, 8 Sep 2003 09:43:39 +0000 (09:43 +0000)]
update from automake
Karl Berry [Mon, 8 Sep 2003 07:20:57 +0000 (07:20 +0000)]
.
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.
Karl Berry [Sun, 7 Sep 2003 07:12:10 +0000 (07:12 +0000)]
.
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.
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>.
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.
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?).
Karl Berry [Tue, 2 Sep 2003 07:15:31 +0000 (07:15 +0000)]
.
Bruno Haible [Mon, 1 Sep 2003 17:47:35 +0000 (17:47 +0000)]
New module 'timegm'.
Bruno Haible [Mon, 1 Sep 2003 17:32:24 +0000 (17:32 +0000)]
Forgot to distribute strndup.h.
Miles Bader [Mon, 1 Sep 2003 15:45:56 +0000 (15:45 +0000)]
Add arch taglines
Karl Berry [Sun, 31 Aug 2003 13:07:02 +0000 (13:07 +0000)]
update from libc
Bruno Haible [Thu, 28 Aug 2003 19:38:48 +0000 (19:38 +0000)]
Avoid havoc with AIX 3.2.5 xlc.
Bruno Haible [Thu, 28 Aug 2003 13:59:25 +0000 (13:59 +0000)]
Avoid warning on QNX.
Jim Meyering [Wed, 27 Aug 2003 11:13:28 +0000 (11:13 +0000)]
.
Jim Meyering [Wed, 27 Aug 2003 11:13:17 +0000 (11:13 +0000)]
Require that the system mkstemp be able to create
70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
would fail after 32. Reported by Danny Levinson. Details here:
http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
Bruno Haible [Mon, 25 Aug 2003 11:04:49 +0000 (11:04 +0000)]
Make it work with MSVC.
Bruno Haible [Fri, 22 Aug 2003 13:57:09 +0000 (13:57 +0000)]
progname in gettext has changed.
Bruno Haible [Fri, 22 Aug 2003 13:56:46 +0000 (13:56 +0000)]
No need to include <stdio.h>.
Bruno Haible [Fri, 22 Aug 2003 13:56:32 +0000 (13:56 +0000)]
Tweak comments.
Karl Berry [Thu, 21 Aug 2003 07:26:43 +0000 (07:26 +0000)]
.
Bruno Haible [Wed, 20 Aug 2003 19:45:05 +0000 (19:45 +0000)]
New module 'progname'.
Karl Berry [Wed, 20 Aug 2003 12:59:01 +0000 (12:59 +0000)]
.
Karl Berry [Wed, 20 Aug 2003 12:56:20 +0000 (12:56 +0000)]
update from gettext
Jim Meyering [Tue, 19 Aug 2003 16:57:57 +0000 (16:57 +0000)]
*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 16:57:41 +0000 (16:57 +0000)]
Revert yesterday's change, per Bruno's request here:
http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
Bruno Haible [Tue, 19 Aug 2003 11:32:28 +0000 (11:32 +0000)]
Assume <string.h> exists,
Karl Berry [Tue, 19 Aug 2003 07:29:03 +0000 (07:29 +0000)]
.
Paul Eggert [Mon, 18 Aug 2003 22:55:55 +0000 (22:55 +0000)]
* modules/stdbool: Add BUILT_SOURCES. Prefer $@ to target name
in makefile rules.
Bruno Haible [Mon, 18 Aug 2003 17:03:09 +0000 (17:03 +0000)]
Update.
Bruno Haible [Mon, 18 Aug 2003 17:01:23 +0000 (17:01 +0000)]
Part of 'argp' module.
Jim Meyering [Mon, 18 Aug 2003 15:27:43 +0000 (15:27 +0000)]
Use [\t ], not [ \t] (where \t is a literal TAB).
Jim Meyering [Mon, 18 Aug 2003 08:57:44 +0000 (08:57 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 08:57:28 +0000 (08:57 +0000)]
Indent nested cpp directive.
Jim Meyering [Mon, 18 Aug 2003 08:54:13 +0000 (08:54 +0000)]
*** empty log message ***
Jim Meyering [Mon, 18 Aug 2003 08:52:17 +0000 (08:52 +0000)]
Remove trailing blanks.
Karl Berry [Mon, 18 Aug 2003 07:10:08 +0000 (07:10 +0000)]
.
Bruno Haible [Sun, 17 Aug 2003 16:05:16 +0000 (16:05 +0000)]
Add an include file to module 'strndup'.
New module 'xstrndup'.
Bruno Haible [Sun, 17 Aug 2003 15:25:00 +0000 (15:25 +0000)]
Avoid autoconf/autoheader warning
"AC_COMPILE_IFELSE was called before gl_USE_SYSTEM_EXTENSIONS"
Bruno Haible [Sun, 17 Aug 2003 14:34:12 +0000 (14:34 +0000)]
Update files list.
Karl Berry [Sun, 17 Aug 2003 08:15:24 +0000 (08:15 +0000)]
.
Paul Eggert [Sun, 17 Aug 2003 06:53:30 +0000 (06:53 +0000)]
(jm_MACROS): Fix typo: gl_list_mounted_fs -> gl_cv_list_mounted_fs.
Paul Eggert [Sun, 17 Aug 2003 05:30:20 +0000 (05:30 +0000)]
Undo white space changes of 2003-08-12, allowing us to sync more files
from glibc.
Paul Eggert [Sun, 17 Aug 2003 05:15:54 +0000 (05:15 +0000)]
Document merges from coreutils.
Paul Eggert [Sun, 17 Aug 2003 05:14:54 +0000 (05:14 +0000)]
Document merge from coreutils.
Paul Eggert [Sun, 17 Aug 2003 05:08:45 +0000 (05:08 +0000)]
Merge with coreutils.
Paul Eggert [Sun, 17 Aug 2003 03:17:36 +0000 (03:17 +0000)]
Add BUILT-SOURCES.
Paul Eggert [Sun, 17 Aug 2003 03:00:14 +0000 (03:00 +0000)]
utimes merge from coreutils
Paul Eggert [Sun, 17 Aug 2003 00:15:43 +0000 (00:15 +0000)]
(gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
Paul Eggert [Sun, 17 Aug 2003 00:09:27 +0000 (00:09 +0000)]
(AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
to 1MB, so as not to render systems with no stack size limit (e.g.,
linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
Include <unistd.h>. On some systems,
it is required for the definition of _SC_PAGESIZE.
Paul Eggert [Sat, 16 Aug 2003 09:44:37 +0000 (09:44 +0000)]
Merge from coreutils, etc.
Paul Eggert [Sat, 16 Aug 2003 09:43:33 +0000 (09:43 +0000)]
More merges from coreutils, etc.
Paul Eggert [Sat, 16 Aug 2003 09:40:57 +0000 (09:40 +0000)]
(gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE, fixing a typo.
Paul Eggert [Sat, 16 Aug 2003 09:37:15 +0000 (09:37 +0000)]
(GL_FUNC_READDIR): Change name to have GL_ (not jm_)
prefix. Adjust cache variables similarly. Create 500 rather than
just 300 files, to exercise bug on Darwin6.5, too.
Paul Eggert [Sat, 16 Aug 2003 09:25:58 +0000 (09:25 +0000)]
(gl_SYS__SYSTEM_CONFIGURATION): New macro.
(gl_PHYSMEM): Use it.
Also check for `table' function.
Check for new headers and functions.
Add check for sys/sysmp.h.
With suggestions from Kaveh Ghazi.
Ignore headers that are present but cannot be compiled. This
avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
C 5.4.
Paul Eggert [Sat, 16 Aug 2003 09:09:23 +0000 (09:09 +0000)]
(jm_PERL): Use $am_missing_run, not undefined $missing_dir.
Paul Eggert [Sat, 16 Aug 2003 09:04:11 +0000 (09:04 +0000)]
Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
Reported by mkc@mathdogs.com.
Also change use of $am_cv_sys_posix_termios
to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.