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.
Paul Eggert [Fri, 18 Jul 2003 17:49:25 +0000 (17:49 +0000)]
(memcoll) [!HAVE_STRCOLL]: Clear errno.
Bruno Haible [Fri, 18 Jul 2003 16:58:06 +0000 (16:58 +0000)]
New module 'getndelim2'.
Karl Berry [Fri, 18 Jul 2003 07:11:53 +0000 (07:11 +0000)]
.
Bruno Haible [Thu, 17 Jul 2003 16:44:39 +0000 (16:44 +0000)]
Remove obsolete Makefile.
Bruno Haible [Thu, 17 Jul 2003 16:23:52 +0000 (16:23 +0000)]
New module 'getnline'.
Karl Berry [Thu, 17 Jul 2003 13:09:27 +0000 (13:09 +0000)]
update from prep
Bruno Haible [Thu, 17 Jul 2003 10:53:03 +0000 (10:53 +0000)]
Remove obsolete files.
Bruno Haible [Thu, 17 Jul 2003 10:48:32 +0000 (10:48 +0000)]
Fix an HTML bug.
Bruno Haible [Thu, 17 Jul 2003 10:46:31 +0000 (10:46 +0000)]
New module 'mempcpy'.
Karl Berry [Wed, 16 Jul 2003 12:47:48 +0000 (12:47 +0000)]
do not run fixlicense twice, it messed up texinfo.tex.
Karl Berry [Wed, 16 Jul 2003 07:10:14 +0000 (07:10 +0000)]
.
Jim Meyering [Wed, 16 Jul 2003 06:06:07 +0000 (06:06 +0000)]
*** empty log message ***
Jim Meyering [Wed, 16 Jul 2003 06:05:59 +0000 (06:05 +0000)]
Depend on xgetcwd. From Derek Price.
Paul Eggert [Tue, 15 Jul 2003 20:21:27 +0000 (20:21 +0000)]
srclist.txt: Gettext files from other directory.
srclist-update: Fix grep pattern again.
Paul Eggert [Tue, 15 Jul 2003 20:21:02 +0000 (20:21 +0000)]
Get the following files from gettext-runtime/intl
instead: config.charset, localcharset.c, localcharset.h, ref-add.sin,
ref-del.sin. From Bruno Haible.
Paul Eggert [Tue, 15 Jul 2003 20:20:39 +0000 (20:20 +0000)]
(fixfile): Change grep pattern again, since the
previous fix didn't work (there was another trailing $). Use
'[$]' to escape the $s.
Jim Meyering [Tue, 15 Jul 2003 19:27:49 +0000 (19:27 +0000)]
*** empty log message ***
Jim Meyering [Tue, 15 Jul 2003 19:27:40 +0000 (19:27 +0000)]
Don't depend on error. From Derek Price.
Karl Berry [Tue, 15 Jul 2003 12:47:54 +0000 (12:47 +0000)]
.
Karl Berry [Tue, 15 Jul 2003 12:47:27 +0000 (12:47 +0000)]
(fixfile): grep for $Id:, not $Id$, since the
latter gets expanded.
Karl Berry [Tue, 15 Jul 2003 12:42:06 +0000 (12:42 +0000)]
karl srclist envvars, vasnprintf
Karl Berry [Tue, 15 Jul 2003 07:29:47 +0000 (07:29 +0000)]
.
Jim Meyering [Tue, 15 Jul 2003 07:02:15 +0000 (07:02 +0000)]
*** empty log message ***
Jim Meyering [Tue, 15 Jul 2003 07:01:49 +0000 (07:01 +0000)]
(make_path): Enclose diagnostic in _(...).
Paul Eggert [Mon, 14 Jul 2003 22:44:04 +0000 (22:44 +0000)]
Update gettext source files from gettext automatically, using srclist-update.
Jim Meyering [Mon, 14 Jul 2003 18:58:43 +0000 (18:58 +0000)]
*** empty log message ***
Jim Meyering [Mon, 14 Jul 2003 18:57:53 +0000 (18:57 +0000)]
(restore_cwd): Update prototype.
Jim Meyering [Mon, 14 Jul 2003 18:54:52 +0000 (18:54 +0000)]
Don't emit diagnostics. Let callers do that.
Don't include "error.h".
(save_cwd): Don't call error. Ensure that errno is valid
when returning nonzero.
(restore_cwd): Remove two parameters.
Simplify. Don't call error upon failure. Let callers do that.
(save_cwd): Mention that Irix 5.3 has the same problem as SunOS4
when auditing is enabled. But don't bother updating the #if.
Bruno Haible [Mon, 14 Jul 2003 18:50:59 +0000 (18:50 +0000)]
New module 'mempcpy'.
Paul Eggert [Mon, 14 Jul 2003 16:36:07 +0000 (16:36 +0000)]
Switch from LGPL to GPL.
Paul Eggert [Mon, 14 Jul 2003 16:31:05 +0000 (16:31 +0000)]
* modules/getdate, modules/posixtm: Depend on mktime.
Paul Eggert [Fri, 11 Jul 2003 23:34:03 +0000 (23:34 +0000)]
* obstack.h (__INT_TO_PTR): Revert change of 2003-03-13;
it breaks C++ compilation.
[!__GNUC__ || !__STDC__] (obstack_finish): Cast result to void*.
Paul Eggert [Fri, 11 Jul 2003 23:33:34 +0000 (23:33 +0000)]
(__INT_TO_PTR): Revert change of 2003-03-13; it breaks C++ compilation.
[!__GNUC__ || !__STDC__] (obstack_finish): Cast result to void*.
Jim Meyering [Thu, 10 Jul 2003 20:11:35 +0000 (20:11 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 20:11:28 +0000 (20:11 +0000)]
(Makefile.am): Add strchrnul.h.
Jim Meyering [Thu, 10 Jul 2003 11:17:46 +0000 (11:17 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 11:17:36 +0000 (11:17 +0000)]
Remove trailing blanks.
Make cpp indentation consistent.
Jim Meyering [Thu, 10 Jul 2003 09:42:42 +0000 (09:42 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Jul 2003 09:42:11 +0000 (09:42 +0000)]
Remove trailing blank.
Paul Eggert [Thu, 10 Jul 2003 05:08:48 +0000 (05:08 +0000)]
This file is now automatically regenerated from libc; regenerate it.
Paul Eggert [Thu, 10 Jul 2003 05:07:45 +0000 (05:07 +0000)]
Sort sublists. Add $LIBCSRC/sysdeps/generic/strtoul.c.
In comments, add more libc files that differ from gnulib for one
reason or another; we'd like this list to be smaller but for now
let's document what we have.
Paul Eggert [Wed, 9 Jul 2003 23:46:58 +0000 (23:46 +0000)]
* alloca_.h, euidaccess.c, getpass.c, memrchr.c, obstack.h,
posixver.c, strftime.c, strnlen.c, strverscmp.c:
Switch from LGPL to GPL.
Paul Eggert [Wed, 9 Jul 2003 22:48:52 +0000 (22:48 +0000)]
Switch from LGPL to GPL.
Jim Meyering [Wed, 9 Jul 2003 17:52:55 +0000 (17:52 +0000)]
remove trailing blanks
Paul Eggert [Tue, 8 Jul 2003 23:33:45 +0000 (23:33 +0000)]
* srclist-update: Port to POSIX 1003.1-2001 hosts by avoiding the
use of GNU extensions. Change "x=`eval echo $x`" to the shorter
and sweeter "eval x=$x".
Paul Eggert [Tue, 8 Jul 2003 23:25:13 +0000 (23:25 +0000)]
Get lib/argp* from glibc.
Paul Eggert [Mon, 7 Jul 2003 23:12:25 +0000 (23:12 +0000)]
* mktime.c: Fix some boundary cases and remove need for floating point.
Paul Eggert [Mon, 7 Jul 2003 23:11:52 +0000 (23:11 +0000)]
Fix some boundary cases and remove need for floating point.
Issue a compile-time diagnostic if time_t is floating point, or if
two's complement arithmetic is not in effect, or if arithmetic
right shift does not propagate the sign. These assumptions were
all in the original code but they weren't checked.
(TIME_T_MIDPOINT, verify): New macros.
(__isleap): Remove; it has integer overflow problems.
(leapyear): New function, without those problems.
(ydhms_tm_diff): Remove; splitting into two parts.
(ydhms_diff): New function, containing the arithmetic part of
the old ydhms_tm_diff function. Issue a compile-time
diagnostic if we are not using C99 integer division.
Avoid casts when possible.
(guess_time_tm): New function, containing the checking part of
the old ydhms_tm_diff function. Return the new value, rather than
the difference between it and the old. Accept a new argument T
so that *T specifies the old value. Check for overflow in the result.
(__mktime_internal): Use a time_t offset, not a long int offset.
This undoes the 2003-06-04 change, which is no longer needed now
that we have better overflow checking.
(localtime_offset): Likewise.
(__mktime_internal): Avoid harmful overflow on hosts where time_t
and long are 64-bit but int is only 32-bit.
(ydhms_diff): Use long int to store year1 and yday1.
Issue a compile-time diagnostic if long int is not wide enough.
(__mktime_internal): Use long int to store adjusted year and yday.
Use plain C rather than preprocessor commands, if that doesn't
affect efficiency.
Check for overflow (and try to repair) after each probe
rather than checking only at the very end. This avoids some bugs
(e.g., southern hemisphere, behind GMT, and GMT offset at minimum time
does not equal GMT offset at maximum time).
Use integer to check for overflow rather than floating point; this
is more portable to non-IEEE hosts, and is a tad faster.
When we detect that we are oscillating between two values,
don't check whether tm_isdst has the requested value, since
we already know the answer. When tm_isdst has the wrong value,
use a different heuristic to find the right one, based on the
extreme values actually observed in practice in tz2003a,
rather than the (overly optimistic) "previous 3 calendar quarters".
(not_equal_tm, print_tm, check_result): Use "const T" rather than
"T const" to accommodate glibc style.
(check_result): Use less-confusing report format. "long" -> "long int.
(main): Likewise.
Don't loop if the iteration overflows time_t.
Allow a negative step in the iteration.
Karl Berry [Sun, 6 Jul 2003 21:36:06 +0000 (21:36 +0000)]
update