Karl Berry [Sat, 27 Sep 2003 12:44:53 +0000 (12:44 +0000)]
update from texinfo
Paul Eggert [Sat, 27 Sep 2003 05:11:56 +0000 (05:11 +0000)]
* error.c (error_tail): Move some declarations
into inner scope where the local variables are used.
Bruno Haible [Fri, 26 Sep 2003 15:28:49 +0000 (15:28 +0000)]
Better avoid collision with AIX stpncpy().
Bruno Haible [Fri, 26 Sep 2003 15:25:30 +0000 (15:25 +0000)]
Better handling of collision with AIX stpncpy() function.
Bruno Haible [Fri, 26 Sep 2003 14:28:46 +0000 (14:28 +0000)]
Test result on AIX 4.3.3 and AIX 5.1.
Bruno Haible [Fri, 26 Sep 2003 14:28:26 +0000 (14:28 +0000)]
Test result on glibc 2.x.
Bruno Haible [Fri, 26 Sep 2003 14:28:10 +0000 (14:28 +0000)]
Test for stpncpy function.
Karl Berry [Fri, 26 Sep 2003 14:03:13 +0000 (14:03 +0000)]
really install update from automake
Paul Eggert [Fri, 26 Sep 2003 07:43:06 +0000 (07:43 +0000)]
Document recent checkins.
Paul Eggert [Fri, 26 Sep 2003 07:41:40 +0000 (07:41 +0000)]
(SIZE_MAX) [!defined SIZE_MAX]: Define.
(error_tail): Do not loop, reallocating temporary buffer, since
the original size is big enough. This avoids one potential size
overflow calculation. Check for size overflow when calculating
temporary buffer size. Free temporary buffer when done, if
it was allocated with malloc; this closes a memory leak.
Paul Eggert [Fri, 26 Sep 2003 07:35:01 +0000 (07:35 +0000)]
Merge changes from glibc.
Karl Berry [Fri, 26 Sep 2003 07:12:40 +0000 (07:12 +0000)]
.
Bruno Haible [Thu, 25 Sep 2003 14:12:43 +0000 (14:12 +0000)]
New module 'getdomainname'.
Karl Berry [Thu, 25 Sep 2003 12:21:19 +0000 (12:21 +0000)]
updates from libc,automake
Bruno Haible [Thu, 25 Sep 2003 12:01:28 +0000 (12:01 +0000)]
New module 'version-etc-2'.
Bruno Haible [Thu, 25 Sep 2003 11:01:25 +0000 (11:01 +0000)]
Fix comment.
Bruno Haible [Thu, 25 Sep 2003 10:55:09 +0000 (10:55 +0000)]
New modules 'getdomainname', 'xgetdomainname'.
Bruno Haible [Thu, 25 Sep 2003 10:48:39 +0000 (10:48 +0000)]
Return -1/EINVAL when the buffer is too small.
Bruno Haible [Thu, 25 Sep 2003 10:41:15 +0000 (10:41 +0000)]
New modules 'xgetdomainname'.
Bruno Haible [Thu, 25 Sep 2003 10:20:46 +0000 (10:20 +0000)]
New module 'getdomainname'.
Karl Berry [Thu, 25 Sep 2003 07:16:02 +0000 (07:16 +0000)]
.
Paul Eggert [Wed, 24 Sep 2003 21:09:18 +0000 (21:09 +0000)]
Add xgethostname.h.
Paul Eggert [Wed, 24 Sep 2003 20:56:42 +0000 (20:56 +0000)]
(freebuffer): Don't free the argument, just the buffer associated with
the argument. Bug reported by Simon Josefsson.
Paul Eggert [Wed, 24 Sep 2003 20:38:08 +0000 (20:38 +0000)]
* README: Document assumptions that 'int' is at least 32 bits
wide, that integer arithmetic is 2's complement without overflow,
that there are no holes in integer values, that adding sizes of
two nonoverlapping objects can't overflow, and that all-bits-zero
yields scalar zero. Fix spelling and capitalization typos.
Karl Berry [Wed, 24 Sep 2003 17:51:55 +0000 (17:51 +0000)]
update from texinfo
Karl Berry [Mon, 22 Sep 2003 13:41:32 +0000 (13:41 +0000)]
update from texinfo
Karl Berry [Sun, 21 Sep 2003 20:21:06 +0000 (20:21 +0000)]
update from texinfo
Karl Berry [Sun, 21 Sep 2003 13:33:24 +0000 (13:33 +0000)]
.
Karl Berry [Fri, 19 Sep 2003 13:21:16 +0000 (13:21 +0000)]
argp.h update from libc
Karl Berry [Thu, 18 Sep 2003 07:13:35 +0000 (07:13 +0000)]
.
Paul Eggert [Thu, 18 Sep 2003 06:32:11 +0000 (06:32 +0000)]
* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first.
Paul Eggert [Wed, 17 Sep 2003 22:35:01 +0000 (22:35 +0000)]
(gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
to avoid spurious warnings like "AC_RUN_IFELSE was called before
gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
Add copyright notice. Put AC_GNU_SOURCE before AC_AIX (to indicate
relative importance :-).
Paul Eggert [Wed, 17 Sep 2003 18:30:23 +0000 (18:30 +0000)]
Port gnulib-tool to Solaris 8.
Bruno Haible [Wed, 17 Sep 2003 12:46:33 +0000 (12:46 +0000)]
Comment about the validity of errno.
Bruno Haible [Wed, 17 Sep 2003 10:10:55 +0000 (10:10 +0000)]
New module 'fwriteerror'.
Karl Berry [Wed, 17 Sep 2003 07:19:20 +0000 (07:19 +0000)]
.
Paul Eggert [Tue, 16 Sep 2003 20:00:38 +0000 (20:00 +0000)]
linebuffer.c (readlinebuffer): Return NULL immediately upon input error.
Bruno Haible [Tue, 16 Sep 2003 14:53:35 +0000 (14:53 +0000)]
Add a warning about duplicate dependencies.
Paul Eggert [Mon, 15 Sep 2003 22:34:18 +0000 (22:34 +0000)]
Don't trash errno when a read fails.
Paul Eggert [Mon, 15 Sep 2003 20:40:48 +0000 (20:40 +0000)]
Sort dependencies by importance, not alphabetically.
Bruno Haible [Mon, 15 Sep 2003 19:15:22 +0000 (19:15 +0000)]
New module 'fwriteerror'.
Bruno Haible [Mon, 15 Sep 2003 09:42:28 +0000 (09:42 +0000)]
typo
Karl Berry [Sun, 14 Sep 2003 13:54:17 +0000 (13:54 +0000)]
no strdup.c sync any more
Jim Meyering [Sat, 13 Sep 2003 22:14:56 +0000 (22:14 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 22:14:02 +0000 (22:14 +0000)]
.
Jim Meyering [Sat, 13 Sep 2003 22:13:36 +0000 (22:13 +0000)]
Correct cpp indentation.
Jim Meyering [Sat, 13 Sep 2003 11:52:51 +0000 (11:52 +0000)]
remove trailing newline
Karl Berry [Sat, 13 Sep 2003 07:14:01 +0000 (07:14 +0000)]
.
Paul Eggert [Fri, 12 Sep 2003 22:38:25 +0000 (22:38 +0000)]
More changes, mostly C89 related.
Paul Eggert [Fri, 12 Sep 2003 22:36:46 +0000 (22:36 +0000)]
Depend on 'exit'.
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.
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.
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.
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.
Paul Eggert [Fri, 12 Sep 2003 19:47:20 +0000 (19:47 +0000)]
Assume vprintf.
Paul Eggert [Fri, 12 Sep 2003 19:38:19 +0000 (19:38 +0000)]
Remove K&R cruft.
Paul Eggert [Fri, 12 Sep 2003 19:22:07 +0000 (19:22 +0000)]
Remove K&R cruft.
Paul Eggert [Fri, 12 Sep 2003 18:28:18 +0000 (18:28 +0000)]
(getenv): Remove decl.
Paul Eggert [Fri, 12 Sep 2003 18:24:51 +0000 (18:24 +0000)]
Remove K&R cruft.
Bruno Haible [Thu, 11 Sep 2003 14:12:03 +0000 (14:12 +0000)]
setenv.c and unsetenv.c are modified from gettext now.
Bruno Haible [Thu, 11 Sep 2003 09:21:41 +0000 (09:21 +0000)]
Fix ChangeLog entry.
Paul Eggert [Thu, 11 Sep 2003 08:59:15 +0000 (08:59 +0000)]
Remove K&R cruft.
Paul Eggert [Thu, 11 Sep 2003 08:52:03 +0000 (08:52 +0000)]
Remove K&R cruft.
Paul Eggert [Thu, 11 Sep 2003 08:46:51 +0000 (08:46 +0000)]
(main): Define with a prototype.
Paul Eggert [Thu, 11 Sep 2003 08:43:46 +0000 (08:43 +0000)]
Remove K&R cruft.
Bruno Haible [Wed, 10 Sep 2003 14:52:49 +0000 (14:52 +0000)]
Assume ANSI C.
Bruno Haible [Wed, 10 Sep 2003 14:16:32 +0000 (14:16 +0000)]
Assume ANSI C <string.h>, <stdlib.h>.
Bruno Haible [Wed, 10 Sep 2003 14:07:55 +0000 (14:07 +0000)]
Assume ANSI C.
Jim Meyering [Wed, 10 Sep 2003 08:33:22 +0000 (08:33 +0000)]
.
Jim Meyering [Wed, 10 Sep 2003 08:33:11 +0000 (08:33 +0000)]
Correct indentation of cpp directives.
Paul Eggert [Wed, 10 Sep 2003 07:28:30 +0000 (07:28 +0000)]
(strchrnul): Convert arg to char, not to unsigned char.
Paul Eggert [Wed, 10 Sep 2003 07:27:34 +0000 (07:27 +0000)]
unsigned char -> char in strchrnul
Paul Eggert [Wed, 10 Sep 2003 07:13:02 +0000 (07:13 +0000)]
Remove K&R cruft, day two.
Paul Eggert [Wed, 10 Sep 2003 07:10:43 +0000 (07:10 +0000)]
Remove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 06:53:45 +0000 (06:53 +0000)]
Remove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 06:43:26 +0000 (06:43 +0000)]
Remove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 06:18:22 +0000 (06:18 +0000)]
Remove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 04:22:10 +0000 (04:22 +0000)]
Remove K&R cruft.
Paul Eggert [Wed, 10 Sep 2003 03:47:34 +0000 (03:47 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 23:31:14 +0000 (23:31 +0000)]
Remove K&R cruft.
Paul Eggert [Tue, 9 Sep 2003 23:28:39 +0000 (23:28 +0000)]
(physmem_total, physmem_available, main): Define with prototypes.
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.