Paul Eggert [Sat, 16 Aug 2003 08:28:42 +0000 (08:28 +0000)]
[__GLIBC__]: GNU libc's statvfs stats each mount point in
/proc/mounts until it finds one with matching device number. This is
unnecessary when the FILE argument *is* a mount point. No stat call
is necessary in that case. So, disable the statvfs-testing code on
systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
as RedHat bug# 84846.
Karl Berry [Sat, 16 Aug 2003 07:09:56 +0000 (07:09 +0000)]
.
Paul Eggert [Sat, 16 Aug 2003 07:04:42 +0000 (07:04 +0000)]
#else #if -> #elif
Paul Eggert [Sat, 16 Aug 2003 06:58:50 +0000 (06:58 +0000)]
Include <stdlib.h>.
(xghostname): Don't exit for anything other than memory-related
failure; just return NULL.
Paul Eggert [Sat, 16 Aug 2003 06:25:29 +0000 (06:25 +0000)]
Accept `.' as a separator only in pre-POSIX-200112 mode.
Paul Eggert [Sat, 16 Aug 2003 06:19:01 +0000 (06:19 +0000)]
Use #elif rather than #else #if.
Paul Eggert [Sat, 16 Aug 2003 05:38:25 +0000 (05:38 +0000)]
Merge from coreutils.
Paul Eggert [Sat, 16 Aug 2003 04:05:01 +0000 (04:05 +0000)]
Merge frem coreutils.
Paul Eggert [Sat, 16 Aug 2003 03:57:54 +0000 (03:57 +0000)]
Append 2003 to copyright dates.
Paul Eggert [Sat, 16 Aug 2003 03:51:49 +0000 (03:51 +0000)]
Merge from coreutils.
Paul Eggert [Fri, 15 Aug 2003 18:04:34 +0000 (18:04 +0000)]
Use three spaces, rather than tab, after '#'
in shell-script copyright notices.
Suggested by Bruno Haible.
Karl Berry [Fri, 15 Aug 2003 07:13:02 +0000 (07:13 +0000)]
.
Paul Eggert [Fri, 15 Aug 2003 06:03:15 +0000 (06:03 +0000)]
Use the `$(VAR)' notation for AC_REPLACED variable names, rather than @VAR@.
Use `$@' in the commands, in place of the three copies of the literal target.
Paul Eggert [Fri, 15 Aug 2003 03:23:11 +0000 (03:23 +0000)]
Merge in portability changes from gcc/libiberty
to support AIX, IRIX, Tru64, and Windows. See the ChangeLog there
for credits and details. Thanks to Kaveh Ghazi for helping
to keep these files in sync.
(ARRAY_SIZE): Define it.
(physmem_total, physmem_available): Add comments. From Kaveh Ghazi.
Paul Eggert [Fri, 15 Aug 2003 03:12:34 +0000 (03:12 +0000)]
White-space changes only; from coreutils.
Paul Eggert [Thu, 14 Aug 2003 23:38:10 +0000 (23:38 +0000)]
Merges from coreutils
Paul Eggert [Thu, 14 Aug 2003 23:34:39 +0000 (23:34 +0000)]
Merge mountlist changes from coreutils.
Paul Eggert [Thu, 14 Aug 2003 23:27:24 +0000 (23:27 +0000)]
* memcasecmp.c: Remove unnecessary parentheses after 'defined'.
(memcasecmp): Don't assume size_t fits in unsigned int.
Remove casts and duplicate code.
Paul Eggert [Thu, 14 Aug 2003 23:12:50 +0000 (23:12 +0000)]
Merge from coreutils.
Paul Eggert [Thu, 14 Aug 2003 23:07:29 +0000 (23:07 +0000)]
(CLEANUP_CWD): Report an error if we failed to return to the initial
working directory. Preserve errno for caller.
Paul Eggert [Thu, 14 Aug 2003 23:03:13 +0000 (23:03 +0000)]
Include "xalloc.h"
(xmalloc, xrealloc): Remove decls.
(getuser): Remove casts no longer required in C89.
Paul Eggert [Thu, 14 Aug 2003 23:00:25 +0000 (23:00 +0000)]
Include stdio.h, for sprintf.
Paul Eggert [Thu, 14 Aug 2003 22:56:12 +0000 (22:56 +0000)]
Include "xalloc.h".
(xmalloc, xrealloc): Remove decls.
(get_group_info): Remove casts no longer required in C89.
Paul Eggert [Thu, 14 Aug 2003 22:04:35 +0000 (22:04 +0000)]
(readname): Remove casts no longer required in C89.
Paul Eggert [Thu, 14 Aug 2003 21:59:28 +0000 (21:59 +0000)]
Add wrappers for gmtime and tzset, too.
Paul Eggert [Thu, 14 Aug 2003 21:50:36 +0000 (21:50 +0000)]
Whitespace fix, from coreutils.
Paul Eggert [Wed, 13 Aug 2003 23:44:25 +0000 (23:44 +0000)]
Fix typo in previous change; it mishandled the case when line_end was
neither a space nor NUL.
Paul Eggert [Wed, 13 Aug 2003 23:15:00 +0000 (23:15 +0000)]
Ignore trailing white space and empty lines
in files containing patterns to exclude.
Paul Eggert [Wed, 13 Aug 2003 20:23:14 +0000 (20:23 +0000)]
Leave whitespace alone when importing, undoing that part of yesterday's
changes.
Karl Berry [Wed, 13 Aug 2003 07:22:54 +0000 (07:22 +0000)]
.
Paul Eggert [Wed, 13 Aug 2003 07:04:57 +0000 (07:04 +0000)]
Add first line of copyright notice -- the most important part!
Paul Eggert [Wed, 13 Aug 2003 06:48:58 +0000 (06:48 +0000)]
Normalize leading white space and remove trailing white space.
Paul Eggert [Wed, 13 Aug 2003 05:07:54 +0000 (05:07 +0000)]
Sync with texinfo.
Paul Eggert [Tue, 12 Aug 2003 23:39:50 +0000 (23:39 +0000)]
Merge euidaccess etc. from coreutils.
Paul Eggert [Tue, 12 Aug 2003 23:31:50 +0000 (23:31 +0000)]
Add printf-args.h, printf-parse.h, stdbool_.h, vasnprintf.h, vasprintf.h.
Remove strdup.c, gettext.h.
Paul Eggert [Tue, 12 Aug 2003 23:27:26 +0000 (23:27 +0000)]
White space fixes from coreutils.
Paul Eggert [Tue, 12 Aug 2003 21:16:52 +0000 (21:16 +0000)]
Get m4 files from the gettext distribution.
Karl Berry [Tue, 12 Aug 2003 14:33:10 +0000 (14:33 +0000)]
vasnprintf.c changed locally
Karl Berry [Tue, 12 Aug 2003 07:11:17 +0000 (07:11 +0000)]
.
Jim Meyering [Mon, 11 Aug 2003 18:47:19 +0000 (18:47 +0000)]
s/fileutils, sh-utils, textutils/coreutils/
Paul Eggert [Mon, 11 Aug 2003 17:45:27 +0000 (17:45 +0000)]
Remove the gnu-source module.
Bruno Haible [Mon, 11 Aug 2003 13:02:26 +0000 (13:02 +0000)]
Work around the lack of wcslen() on Solaris 2.5.1.
Bruno Haible [Mon, 11 Aug 2003 12:34:07 +0000 (12:34 +0000)]
Use a trick to ensure that _Bool can remain an enum and still promote
to 'int'.
Karl Berry [Sun, 10 Aug 2003 13:54:55 +0000 (13:54 +0000)]
update regex.h from libc
Paul Eggert [Sat, 9 Aug 2003 20:04:56 +0000 (20:04 +0000)]
regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371".
Paul Eggert [Sat, 9 Aug 2003 20:04:34 +0000 (20:04 +0000)]
(jm_INCLUDED_REGEX): Change "\201" to "\371"; apparently Emacs's
Unicode mode got confused before my 2003-08-05 checkin .
Jim Meyering [Sat, 9 Aug 2003 13:12:30 +0000 (13:12 +0000)]
white space
Paul Eggert [Sat, 9 Aug 2003 08:57:49 +0000 (08:57 +0000)]
Merge from coreutils.
Karl Berry [Sat, 9 Aug 2003 07:12:12 +0000 (07:12 +0000)]
.
Paul Eggert [Fri, 8 Aug 2003 20:15:52 +0000 (20:15 +0000)]
New module 'extensions', used by timespec and unlocked-io
for portability to Solaris.
Karl Berry [Fri, 8 Aug 2003 07:12:50 +0000 (07:12 +0000)]
.
Paul Eggert [Thu, 7 Aug 2003 19:33:14 +0000 (19:33 +0000)]
Add 'restrict' module.
Bruno Haible [Thu, 7 Aug 2003 10:49:28 +0000 (10:49 +0000)]
Make the module 'getndelim2' compatible with the module 'getline'.
Karl Berry [Wed, 6 Aug 2003 07:13:36 +0000 (07:13 +0000)]
.
Paul Eggert [Wed, 6 Aug 2003 06:32:34 +0000 (06:32 +0000)]
regex.m4: Replace a single non-ASCII byte with "\201".
Paul Eggert [Wed, 6 Aug 2003 06:27:39 +0000 (06:27 +0000)]
Whoops; it was \201, not \371.
Paul Eggert [Wed, 6 Aug 2003 06:13:54 +0000 (06:13 +0000)]
(jm_INCLUDED_REGEX): Don't use Latin-1 in C source code; use \371
instead.
Paul Eggert [Wed, 6 Aug 2003 04:34:47 +0000 (04:34 +0000)]
Log yesterday's merge from coreutils.
Paul Eggert [Wed, 6 Aug 2003 03:52:46 +0000 (03:52 +0000)]
Remove bumpalloc.
Bruno Haible [Tue, 5 Aug 2003 19:29:51 +0000 (19:29 +0000)]
Extend the comment.
Paul Eggert [Tue, 5 Aug 2003 05:29:41 +0000 (05:29 +0000)]
Include "xalloc.h" instead of declaring xalloc fns; from Dmitry V. Levin.
Remove anachronistic cast of xrealloc.
Paul Eggert [Tue, 5 Aug 2003 05:14:20 +0000 (05:14 +0000)]
(date): Also accept dates like May-23-2003; suggestion
from Karl Berry, implemented by Jim Meyering.
Paul Eggert [Mon, 4 Aug 2003 23:23:27 +0000 (23:23 +0000)]
(NEW_PATTERN): Cast alloca return value to proper type.
Otherwise, it wouldn't compile with at least /bin/cc on
ymp-cray-unicos9.0.2.X.
Combine two mostly-identical uses of alloca into one.
Paul Eggert [Mon, 4 Aug 2003 23:22:47 +0000 (23:22 +0000)]
(__const): Remove. Use 'const'.
Paul Eggert [Mon, 4 Aug 2003 22:46:12 +0000 (22:46 +0000)]
[!USE_IN_LIBIO]: Omit this case; assume USE_IN_LIBIO is 1.
This merges changes from glibc (merge done by Jim Meyering for coreutils).
Paul Eggert [Mon, 4 Aug 2003 20:22:52 +0000 (20:22 +0000)]
* getloadavg.c: Sync with Emacs and then change to conform to GNU coding style.
Paul Eggert [Mon, 4 Aug 2003 20:21:41 +0000 (20:21 +0000)]
Change copyright notice and spacing to conform to GNU coding style.
Paul Eggert [Mon, 4 Aug 2003 20:12:16 +0000 (20:12 +0000)]
Sync with Emacs. From Dave Love.
Karl Berry [Mon, 4 Aug 2003 12:59:57 +0000 (12:59 +0000)]
really update from automake
Karl Berry [Sun, 3 Aug 2003 13:09:08 +0000 (13:09 +0000)]
depcomp update from automake
Paul Eggert [Sun, 3 Aug 2003 07:13:25 +0000 (07:13 +0000)]
* stdbool_.h (_Bool): Make it signed char, instead of an enum type.
Paul Eggert [Sun, 3 Aug 2003 07:12:50 +0000 (07:12 +0000)]
(_Bool): Make it signed char instead of an enum type.
Karl Berry [Fri, 1 Aug 2003 07:12:35 +0000 (07:12 +0000)]
.
Bruno Haible [Thu, 31 Jul 2003 14:51:31 +0000 (14:51 +0000)]
Add a TODO.
Bruno Haible [Thu, 31 Jul 2003 14:47:20 +0000 (14:47 +0000)]
New module 'getpass-gnu'.
Karl Berry [Thu, 31 Jul 2003 12:40:42 +0000 (12:40 +0000)]
update from texinfo
Paul Eggert [Thu, 31 Jul 2003 07:29:30 +0000 (07:29 +0000)]
* strerror.c: Include config.h, limits.h. Declare sprintf.
(strerror): Don't assume that a printable int fits in 14 bytes.
Paul Eggert [Thu, 31 Jul 2003 07:28:59 +0000 (07:28 +0000)]
Include config.h, limits.h. Declare sprintf.
(strerror): Don't assume that a printable int fits in 14 bytes.
Paul Eggert [Thu, 31 Jul 2003 06:27:05 +0000 (06:27 +0000)]
Fix comments to identify Solaris versions using the same version
numbers that Sun does.
Karl Berry [Mon, 28 Jul 2003 18:42:31 +0000 (18:42 +0000)]
update from texinfo
Karl Berry [Mon, 28 Jul 2003 00:00:37 +0000 (00:00 +0000)]
update from texinfo
Bruno Haible [Thu, 24 Jul 2003 15:23:15 +0000 (15:23 +0000)]
Change getline and getdelim return type to ssize_t.
Karl Berry [Thu, 24 Jul 2003 15:07:08 +0000 (15:07 +0000)]
update from texinfo
Karl Berry [Thu, 24 Jul 2003 12:35:30 +0000 (12:35 +0000)]
update from automake, really update config.sub
Karl Berry [Thu, 24 Jul 2003 00:42:09 +0000 (00:42 +0000)]
update from texinfo
Karl Berry [Thu, 24 Jul 2003 00:40:07 +0000 (00:40 +0000)]
update from texinfo
Karl Berry [Wed, 23 Jul 2003 13:02:13 +0000 (13:02 +0000)]
update from prep
Bruno Haible [Wed, 23 Jul 2003 11:12:40 +0000 (11:12 +0000)]
Doc about Solaris versions.
Bruno Haible [Wed, 23 Jul 2003 11:08:01 +0000 (11:08 +0000)]
Bump serial number, for last change.
Karl Berry [Wed, 23 Jul 2003 07:10:38 +0000 (07:10 +0000)]
.
Paul Eggert [Tue, 22 Jul 2003 22:56:34 +0000 (22:56 +0000)]
Correct SunOS and Solaris version number notation to match Sun's usage.
Paul Eggert [Tue, 22 Jul 2003 22:10:55 +0000 (22:10 +0000)]
Sync with coreutils xalloc.h, xmalloc.c, xmemcoll.h, xmemcoll.c.
Karl Berry [Mon, 21 Jul 2003 07:19:28 +0000 (07:19 +0000)]
.
Jim Meyering [Sun, 20 Jul 2003 15:51:26 +0000 (15:51 +0000)]
(Depends-on): Add exitfail.
Jim Meyering [Sun, 20 Jul 2003 15:50:17 +0000 (15:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 20 Jul 2003 15:49:59 +0000 (15:49 +0000)]
(close_stdout_set_status, close_stdout_status): Remove.
Include "closeout.h" right after config.h,
to test that it can stand by itself. Include "exitfail.h".
Clients should set exit_failure instead.
(EXIT_FAILURE): Remove; no longer needed. Do not include <stdlib.h>.
Jim Meyering [Sun, 20 Jul 2003 15:49:08 +0000 (15:49 +0000)]
(close_stdout_set_status, close_stdout_status): Remove.
Karl Berry [Sat, 19 Jul 2003 12:39:23 +0000 (12:39 +0000)]
config.sub update from prep
Karl Berry [Sat, 19 Jul 2003 07:15:55 +0000 (07:15 +0000)]
.
Paul Eggert [Fri, 18 Jul 2003 17:51:30 +0000 (17:51 +0000)]
memcoll.c (memcoll) [!HAVE_STRCOLL]: Clear errno.