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
Bruno Haible [Fri, 4 Jul 2003 14:27:29 +0000 (14:27 +0000)]
spelling.
Karl Berry [Thu, 3 Jul 2003 12:23:08 +0000 (12:23 +0000)]
config.guess from prep
Paul Eggert [Tue, 1 Jul 2003 21:07:13 +0000 (21:07 +0000)]
* lib/xreadlink.c: Include <sys/types.h> unconditionally, instead of
having it depend on HAVE_SYS_TYPES_H.
* m4/xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
xreadlink.c now includes it unconditionally.
Patch proposed in
<http://mail.gnu.org/archive/html/bug-gnulib/2003-06/msg00167.html>.
Bruno Haible [Tue, 1 Jul 2003 10:28:31 +0000 (10:28 +0000)]
Ignore <unistd.h>.
Bruno Haible [Mon, 30 Jun 2003 09:52:51 +0000 (09:52 +0000)]
Partial doc of xalloc module, taken from GSS project.
Karl Berry [Fri, 27 Jun 2003 07:19:35 +0000 (07:19 +0000)]
.
Karl Berry [Thu, 26 Jun 2003 12:22:18 +0000 (12:22 +0000)]
copyright update from automake
Bruno Haible [Thu, 26 Jun 2003 11:03:35 +0000 (11:03 +0000)]
Provide the correct errno.
Bruno Haible [Thu, 26 Jun 2003 10:36:04 +0000 (10:36 +0000)]
Module 'human' now depends on module 'stdbool'.
Karl Berry [Thu, 26 Jun 2003 07:12:21 +0000 (07:12 +0000)]
.
Bruno Haible [Wed, 25 Jun 2003 20:54:21 +0000 (20:54 +0000)]
New module 'readlink'.
Bruno Haible [Wed, 25 Jun 2003 20:33:15 +0000 (20:33 +0000)]
Test for ssize_t. Needed for portability to mingw32.
Bruno Haible [Wed, 25 Jun 2003 09:20:53 +0000 (09:20 +0000)]
Test for ssize_t. Needed for portability to mingw32.
Karl Berry [Sun, 22 Jun 2003 22:47:40 +0000 (22:47 +0000)]
update mkinstalldirs from automake
Bruno Haible [Fri, 20 Jun 2003 20:55:34 +0000 (20:55 +0000)]
Assume ANSI C.
Karl Berry [Wed, 18 Jun 2003 12:27:31 +0000 (12:27 +0000)]
update from prep
Jim Meyering [Wed, 18 Jun 2003 06:03:55 +0000 (06:03 +0000)]
*** empty log message ***
Jim Meyering [Wed, 18 Jun 2003 06:03:29 +0000 (06:03 +0000)]
Merge changes from coreutils.
Include <string.h> and <stdlib.h> unconditionally.
Remove explicit declarations of xmalloc and realloc.
Include xalloc.h.
(read_utmp): Remove anachronistic cast of xmalloc.
Paul Eggert [Wed, 18 Jun 2003 05:52:19 +0000 (05:52 +0000)]
Assume C89, so PARAMS isn't needed.
Bruno Haible [Thu, 12 Jun 2003 11:12:14 +0000 (11:12 +0000)]
Add a note about empty files.
Karl Berry [Thu, 12 Jun 2003 07:12:13 +0000 (07:12 +0000)]
.
Bruno Haible [Wed, 11 Jun 2003 18:57:06 +0000 (18:57 +0000)]
Fix typo in Makefile.am snippet.
Bruno Haible [Wed, 11 Jun 2003 10:57:36 +0000 (10:57 +0000)]
Add a section "how to add a new module", suggested by Simon Josefsson.
Bruno Haible [Wed, 11 Jun 2003 10:42:09 +0000 (10:42 +0000)]
New module 'sysexits'.
Jim Meyering [Wed, 11 Jun 2003 08:50:42 +0000 (08:50 +0000)]
*** empty log message ***
Jim Meyering [Wed, 11 Jun 2003 08:50:33 +0000 (08:50 +0000)]
[LSTAT]: Compile/use slash_aware_lstat only if it is necessary.
Karl Berry [Wed, 11 Jun 2003 07:11:11 +0000 (07:11 +0000)]
.
Bruno Haible [Tue, 10 Jun 2003 12:21:16 +0000 (12:21 +0000)]
New modules strchrnul, argp.
Bruno Haible [Tue, 10 Jun 2003 12:13:31 +0000 (12:13 +0000)]
New module strchrnul.
Bruno Haible [Tue, 10 Jun 2003 11:29:45 +0000 (11:29 +0000)]
New module argp.
Bruno Haible [Tue, 10 Jun 2003 11:19:46 +0000 (11:19 +0000)]
argp facility from glibc-
20030610.