gnulib.git
19 years agoDetect support for IPv4 and IPv6 protocol families.
Bruno Haible [Tue, 9 Nov 2004 12:56:41 +0000 (12:56 +0000)]
Detect support for IPv4 and IPv6 protocol families.

19 years agoupdate from texinfo
Karl Berry [Tue, 9 Nov 2004 00:09:09 +0000 (00:09 +0000)]
update from texinfo

19 years agoUse British English, not German English.
Bruno Haible [Mon, 8 Nov 2004 12:54:48 +0000 (12:54 +0000)]
Use British English, not German English.

19 years agoMake sure size_t is defined.
Bruno Haible [Fri, 5 Nov 2004 21:57:55 +0000 (21:57 +0000)]
Make sure size_t is defined.

19 years ago.
Karl Berry [Fri, 5 Nov 2004 08:50:12 +0000 (08:50 +0000)]
.

19 years agoDistribute allocsa.valgrind.
Bruno Haible [Thu, 4 Nov 2004 13:34:20 +0000 (13:34 +0000)]
Distribute allocsa.valgrind.

19 years agoUpgrade allocsa module from GNU gettext.
Bruno Haible [Thu, 4 Nov 2004 13:32:03 +0000 (13:32 +0000)]
Upgrade allocsa module from GNU gettext.

19 years agoUpdate serial number.
Paul Eggert [Wed, 3 Nov 2004 23:26:03 +0000 (23:26 +0000)]
Update serial number.

19 years agoRemove trailing white space.
Paul Eggert [Wed, 3 Nov 2004 17:37:58 +0000 (17:37 +0000)]
Remove trailing white space.

19 years ago* uint32_t.m4 (gl_AC_TYPE_UINT32_T): Fix typo and define _UINT32_T.
Paul Eggert [Wed, 3 Nov 2004 17:20:55 +0000 (17:20 +0000)]
* uint32_t.m4 (gl_AC_TYPE_UINT32_T): Fix typo and define _UINT32_T.

19 years ago(gl_AC_TYPE_UINT32_T): When determining uint32_t
Paul Eggert [Wed, 3 Nov 2004 17:20:32 +0000 (17:20 +0000)]
(gl_AC_TYPE_UINT32_T): When determining uint32_t
equivalent, substitute $ac_type for equivalent type rather than
blindly using uint32_t *always* which won't work if uint32_t is not
available.  Define _UINT32_T to work around typedef of uint32_t if
<sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
2.5.1.

19 years ago* xreadlink.c (xreadlink): AIX and HP-UX readlink return -1
Paul Eggert [Wed, 3 Nov 2004 09:24:41 +0000 (09:24 +0000)]
* xreadlink.c (xreadlink): AIX and HP-UX readlink return -1
with errno == ERANGE if the buffer is too small.

19 years agoxreadlink.c (xreadlink): AIX and HP-UX readlink return -1
Paul Eggert [Wed, 3 Nov 2004 09:24:17 +0000 (09:24 +0000)]
xreadlink.c (xreadlink): AIX and HP-UX readlink return -1
with errno == ERANGE if the buffer is too small.

19 years agoxreadlink problems with SSIZE_MAX.
Paul Eggert [Tue, 2 Nov 2004 20:18:26 +0000 (20:18 +0000)]
xreadlink problems with SSIZE_MAX.

19 years ago(MAXSIZE): New macro.
Paul Eggert [Tue, 2 Nov 2004 20:17:37 +0000 (20:17 +0000)]
(MAXSIZE): New macro.
(xreadlink): Use it instead of SSIZE_MAX.  Ensure initial buffer
size does not exceed MAXSIZE.  Avoid cast.
As suggested by Mark D. Baushke in
<http://lists.gnu.org/archive/html/bug-gnulib/2004-11/msg00009.html>,
if readlink fails with buffer size just under MAXSIZE, try again
with MAXSIZE.

19 years ago* srclist.txt: Add mktime.c; glibc bought all our changes.
Paul Eggert [Tue, 2 Nov 2004 19:22:29 +0000 (19:22 +0000)]
* srclist.txt: Add mktime.c; glibc bought all our changes.

19 years ago* jm-macros.m4: Sync from coreutils.
Paul Eggert [Tue, 2 Nov 2004 19:20:58 +0000 (19:20 +0000)]
* jm-macros.m4: Sync from coreutils.

19 years ago* getdate.y [!TEST]: Include <stdio.h>, since we use sprintf now.
Paul Eggert [Tue, 2 Nov 2004 19:18:44 +0000 (19:18 +0000)]
* getdate.y [!TEST]: Include <stdio.h>, since we use sprintf now.
(get_date): Overparenthesize to avoid GCC warning.

19 years agoProvide a return value for unsetenv() if the system doesn't.
Bruno Haible [Tue, 2 Nov 2004 12:29:39 +0000 (12:29 +0000)]
Provide a return value for unsetenv() if the system doesn't.

19 years agogetpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
Simon Josefsson [Mon, 1 Nov 2004 21:46:25 +0000 (21:46 +0000)]
getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
fflush_unlocked, flockfile, funlockfile, funlockfile,
fputs_unlocked, putc_unlocked.

19 years ago(fflush_unlocked, flockfile, funlockfile)
Simon Josefsson [Mon, 1 Nov 2004 21:45:37 +0000 (21:45 +0000)]
(fflush_unlocked, flockfile, funlockfile)
(funlockfile, fputs_unlocked, putc_unlocked): Don't define if
already declared.

19 years agoupdate from texinfo
Karl Berry [Sun, 31 Oct 2004 15:00:30 +0000 (15:00 +0000)]
update from texinfo

19 years ago.
Karl Berry [Sat, 30 Oct 2004 08:00:13 +0000 (08:00 +0000)]
.

19 years agogetdate support for TZ="foo", and documentation.
Paul Eggert [Fri, 29 Oct 2004 21:01:18 +0000 (21:01 +0000)]
getdate support for TZ="foo", and documentation.

19 years agoNew file, from coreutils with modifications for
Paul Eggert [Fri, 29 Oct 2004 21:00:43 +0000 (21:00 +0000)]
New file, from coreutils with modifications for
the new TZ parsing.

19 years ago(Files): Add doc/getdate.texi.
Paul Eggert [Fri, 29 Oct 2004 21:00:24 +0000 (21:00 +0000)]
(Files): Add doc/getdate.texi.
(Depends-on): Add setenv, xalloc.

19 years agoAdd support for TZ="foo" within a date string.
Paul Eggert [Fri, 29 Oct 2004 20:59:53 +0000 (20:59 +0000)]
Add support for TZ="foo" within a date string.
Fix some bugs near time_t boundaries.  Reject dates with
out-of-range components, e.g., "Sept 31".
Include <stdlib.h>, "setenv.h", "xalloc.h".
(ISDIGIT_LOCALE): Remove; unused.
Note that the TZ and time functions used here are not reentrant.
(mktime_ok, get_tz): New functions.
(TZBUFSIZE): New constant.
(get_date): Parse leading TZ="foo".  Reject out-of-range components;.
This requires that we sometimes generate our own TZ="XXX..." setting.

19 years ago* mktime.c (not_equal_tm): Remove redundant check.
Paul Eggert [Wed, 27 Oct 2004 21:48:31 +0000 (21:48 +0000)]
* mktime.c (not_equal_tm): Remove redundant check.

19 years ago(not_equal_tm): Remove redundant check.
Paul Eggert [Wed, 27 Oct 2004 21:48:17 +0000 (21:48 +0000)]
(not_equal_tm): Remove redundant check.

19 years agoautoupdate
Karl Berry [Wed, 27 Oct 2004 12:01:54 +0000 (12:01 +0000)]
autoupdate

19 years ago* getdate.y: Use Bison 1.875 features, and some minor code cleanups.
Paul Eggert [Mon, 25 Oct 2004 05:50:58 +0000 (05:50 +0000)]
* getdate.y: Use Bison 1.875 features, and some minor code cleanups.

19 years agoUse Bison 1.875 features, and some minor
Paul Eggert [Mon, 25 Oct 2004 05:50:16 +0000 (05:50 +0000)]
Use Bison 1.875 features, and some minor
code cleanups.  This change does not affect semantics.
Don't include <stdlib.h>; no longer needed.
Don't include unlocked-io.h; only the "#if TEST" code uses
stdio, and performance isn't crucial there.
(PC, YYLEX_PARAM, YYPARSE_PARAM): Remove; replaced by
Bison 1.875 features as described below.
All uses of "PC." replaced by "pc->".
(YYSTYPE): Add a forward declaration.
(yylex, yyerror): Use full prototypes in forward decls.
Use "%pure-parser" rather than obsolescent "%pure_parser".
Use %parse-param and %lex-param instead of obsolescent
YYPARSE_PARAM and YYLEX_PARAM.
(meridian_table, month_and_day_table, time_units_table,
relative_time_table, time_zone_table, military_table,
lookup_zone, lookup_word, get_date):
Use NULL instead of 0 where appropriate.
(to_hour): Avoid abort (), to avoid a dependency on
stdlib.h.
(yyerror, yylex): Now accepts parser_control * arg.
(main) [TEST]: Use '\0' rather than 0 for char.

19 years ago* modules/regex (lib_SOURCES): Add regex.c.
Paul Eggert [Sun, 24 Oct 2004 23:22:32 +0000 (23:22 +0000)]
* modules/regex (lib_SOURCES): Add regex.c.

19 years ago(lib_SOURCES): Add regex.c.
Paul Eggert [Sun, 24 Oct 2004 23:22:14 +0000 (23:22 +0000)]
(lib_SOURCES): Add regex.c.

19 years agogetpagesize module shouldn't assume sys/param.h exists.
Paul Eggert [Fri, 22 Oct 2004 22:28:36 +0000 (22:28 +0000)]
getpagesize module shouldn't assume sys/param.h exists.

19 years ago* mktime.c (leapyear): Arg is long int, not int.
Paul Eggert [Fri, 22 Oct 2004 20:19:13 +0000 (20:19 +0000)]
* mktime.c (leapyear): Arg is long int, not int.

19 years ago(leapyear): Arg is long int, not int.
Paul Eggert [Fri, 22 Oct 2004 20:19:01 +0000 (20:19 +0000)]
(leapyear): Arg is long int, not int.

19 years agoUpdate from glibc.
Paul Eggert [Mon, 18 Oct 2004 21:27:07 +0000 (21:27 +0000)]
Update from glibc.

19 years agoThat's LTALLOCA, not LT_ALLOCA.
Bruno Haible [Mon, 18 Oct 2004 10:35:04 +0000 (10:35 +0000)]
That's LTALLOCA, not LT_ALLOCA.

19 years agoFix "*/" typo.
Paul Eggert [Mon, 18 Oct 2004 04:59:39 +0000 (04:59 +0000)]
Fix "*/" typo.

19 years ago* gnulib-tool (func_emit_lib_Makefile_am): Fix typo.
Paul Eggert [Sun, 17 Oct 2004 17:50:42 +0000 (17:50 +0000)]
* gnulib-tool (func_emit_lib_Makefile_am): Fix typo.

19 years ago(func_emit_lib_Makefile_am): Fix typo: a $ was
Paul Eggert [Sun, 17 Oct 2004 17:50:25 +0000 (17:50 +0000)]
(func_emit_lib_Makefile_am): Fix typo: a $ was
missing.  Problem reported by James Youngman.

19 years agoFix comments. Fix parse problem.
Simon Josefsson [Fri, 15 Oct 2004 22:57:10 +0000 (22:57 +0000)]
Fix comments.  Fix parse problem.
(func_emit_lib_Makefile_am): Don't hard code a in libgl_a_SOURCES.

19 years agoProvisions for defining LTALLOCA.
Bruno Haible [Fri, 15 Oct 2004 20:20:11 +0000 (20:20 +0000)]
Provisions for defining LTALLOCA.

19 years ago* getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
Paul Eggert [Fri, 15 Oct 2004 20:02:04 +0000 (20:02 +0000)]
* getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
implementation of getopt_long.

19 years ago(gl_GETOPT): Detect and reject the incompatible BSD
Paul Eggert [Fri, 15 Oct 2004 20:01:46 +0000 (20:01 +0000)]
(gl_GETOPT): Detect and reject the incompatible BSD
implementation of getopt_long.

19 years agoTweak.
Bruno Haible [Fri, 15 Oct 2004 16:54:14 +0000 (16:54 +0000)]
Tweak.

19 years agoEmit separators in lib/Makefile.am.
Bruno Haible [Fri, 15 Oct 2004 16:51:32 +0000 (16:51 +0000)]
Emit separators in lib/Makefile.am.

19 years agoMove duplicated code into function func_emit_lib_Makefile_am().
Bruno Haible [Fri, 15 Oct 2004 16:45:28 +0000 (16:45 +0000)]
Move duplicated code into function func_emit_lib_Makefile_am().

19 years agoPortability tweak.
Bruno Haible [Fri, 15 Oct 2004 15:46:41 +0000 (15:46 +0000)]
Portability tweak.

19 years agoInitialize opt_lgpl.
Bruno Haible [Fri, 15 Oct 2004 15:43:58 +0000 (15:43 +0000)]
Initialize opt_lgpl.

19 years agoMove duplicated code into function func_modules_to_filelist().
Bruno Haible [Fri, 15 Oct 2004 15:40:45 +0000 (15:40 +0000)]
Move duplicated code into function func_modules_to_filelist().

19 years agoMove duplicated code into function func_modules_transitive_closure().
Bruno Haible [Fri, 15 Oct 2004 15:37:43 +0000 (15:37 +0000)]
Move duplicated code into function func_modules_transitive_closure().

19 years agoUse func_get_license.
Bruno Haible [Fri, 15 Oct 2004 15:32:25 +0000 (15:32 +0000)]
Use func_get_license.

19 years agoMove a lot of code into function func_import().
Bruno Haible [Fri, 15 Oct 2004 15:28:43 +0000 (15:28 +0000)]
Move a lot of code into function func_import().

19 years agoInitialize supplied_libname. Tweak usage message.
Bruno Haible [Fri, 15 Oct 2004 14:58:04 +0000 (14:58 +0000)]
Initialize supplied_libname. Tweak usage message.

19 years agoUntabify.
Bruno Haible [Fri, 15 Oct 2004 14:49:59 +0000 (14:49 +0000)]
Untabify.

19 years ago* getpass.c (fflush_unlocked, flockfile, funlockfile)
Simon Josefsson [Tue, 12 Oct 2004 14:04:18 +0000 (14:04 +0000)]
* getpass.c (fflush_unlocked, flockfile, funlockfile)
(fputs_unlocked, putc_unlocked) [!_LIBCS && !USE_UNLOCKED_IO]: Map
to real functions.

19 years ago.
Karl Berry [Tue, 12 Oct 2004 07:49:52 +0000 (07:49 +0000)]
.

19 years agoNew module 'vsnprintf'.
Bruno Haible [Mon, 11 Oct 2004 13:08:55 +0000 (13:08 +0000)]
New module 'vsnprintf'.

19 years agoGNU coding style: put a space before opening parenthesis.
Bruno Haible [Mon, 11 Oct 2004 13:02:28 +0000 (13:02 +0000)]
GNU coding style: put a space before opening parenthesis.

19 years agoClarify the copyright.
Bruno Haible [Mon, 11 Oct 2004 11:34:07 +0000 (11:34 +0000)]
Clarify the copyright.

19 years ago* srclistvars.sh: Add GNUSTANDARDS (for eggert only).
Paul Eggert [Mon, 11 Oct 2004 05:02:35 +0000 (05:02 +0000)]
* srclistvars.sh: Add GNUSTANDARDS (for eggert only).

19 years agoAdd GNUSTANDARDS (for eggert only).
Paul Eggert [Mon, 11 Oct 2004 05:02:17 +0000 (05:02 +0000)]
Add GNUSTANDARDS (for eggert only).

19 years agoget gnu std documents from new gnustandards project at savannah
Karl Berry [Sun, 10 Oct 2004 22:32:37 +0000 (22:32 +0000)]
get gnu std documents from new gnustandards project at savannah

19 years agoupdate from texinfo
Karl Berry [Fri, 8 Oct 2004 13:14:35 +0000 (13:14 +0000)]
update from texinfo

19 years agoAvoid a memory allocation when possible.
Bruno Haible [Thu, 7 Oct 2004 16:15:22 +0000 (16:15 +0000)]
Avoid a memory allocation when possible.

19 years agoAdd a GPL copyright notice.
Bruno Haible [Thu, 7 Oct 2004 12:54:31 +0000 (12:54 +0000)]
Add a GPL copyright notice.

19 years ago* diacrit.c, diacrit.h: Add GPL notice.
Paul Eggert [Wed, 6 Oct 2004 20:09:18 +0000 (20:09 +0000)]
* diacrit.c, diacrit.h: Add GPL notice.

19 years agoAdd GPL notice.
Paul Eggert [Wed, 6 Oct 2004 20:08:44 +0000 (20:08 +0000)]
Add GPL notice.

19 years ago* atanl.c, logl.c: Add GPL notice, and make the code more similar to glibc.
Paul Eggert [Wed, 6 Oct 2004 20:02:18 +0000 (20:02 +0000)]
* atanl.c, logl.c: Add GPL notice, and make the code more similar to glibc.

19 years agoAdd GPL notice, to match glibc's added LGPL notice.
Paul Eggert [Wed, 6 Oct 2004 20:01:55 +0000 (20:01 +0000)]
Add GPL notice, to match glibc's added LGPL notice.
(logl): Keep the code as similar to glibc as possible.
This avoids a potential constant-folding bug.

19 years agoAdd GPL notice, to match glibc's added LGPL notice.
Paul Eggert [Wed, 6 Oct 2004 20:01:31 +0000 (20:01 +0000)]
Add GPL notice, to match glibc's added LGPL notice.
(atanl): Keep the code as similar to glibc as possible.

19 years agoDon't redeclare strsep if the system already has it.
Bruno Haible [Tue, 5 Oct 2004 17:44:44 +0000 (17:44 +0000)]
Don't redeclare strsep if the system already has it.

19 years agoupdate from gnuorg
Karl Berry [Tue, 5 Oct 2004 13:04:40 +0000 (13:04 +0000)]
update from gnuorg

19 years ago.
Karl Berry [Tue, 5 Oct 2004 08:01:18 +0000 (08:01 +0000)]
.

19 years agoFix typo in previous log.
Paul Eggert [Tue, 5 Oct 2004 06:47:46 +0000 (06:47 +0000)]
Fix typo in previous log.

19 years agoxclone->userspec
Paul Eggert [Tue, 5 Oct 2004 06:47:18 +0000 (06:47 +0000)]
xclone->userspec

19 years agoRename xclone to xmemdup. Remove obsolete xalloc macros.
Paul Eggert [Tue, 5 Oct 2004 06:45:51 +0000 (06:45 +0000)]
Rename xclone to xmemdup.  Remove obsolete xalloc macros.
Remove xstrdup.c and move xstrdup implementation to xmalloc.c.

19 years ago* regex.c (re_comp): Cast gettext return value to char *,
Paul Eggert [Mon, 4 Oct 2004 21:00:42 +0000 (21:00 +0000)]
* regex.c (re_comp): Cast gettext return value to char *,

19 years agoerror.c, md5.c, regex.c: Use '#if USE_UNLOCKED_IO' instead of
Simon Josefsson [Mon, 4 Oct 2004 20:30:46 +0000 (20:30 +0000)]
error.c, md5.c, regex.c: Use '#if USE_UNLOCKED_IO' instead of
'#ifdef USE_UNLOCKED_IO'.

19 years agoRemove dependencies on unlocked-io.
Paul Eggert [Mon, 4 Oct 2004 20:17:39 +0000 (20:17 +0000)]
Remove dependencies on unlocked-io.

19 years ago(Extra functions based on ANSI C 89): Add memmem.
Simon Josefsson [Mon, 4 Oct 2004 13:37:30 +0000 (13:37 +0000)]
(Extra functions based on ANSI C 89): Add memmem.

19 years agoAdd memmem from glibc.
Simon Josefsson [Mon, 4 Oct 2004 13:35:38 +0000 (13:35 +0000)]
Add memmem from glibc.

19 years agoSync with glibc.
Simon Josefsson [Mon, 4 Oct 2004 13:33:49 +0000 (13:33 +0000)]
Sync with glibc.

19 years agoAdd memmem.
Simon Josefsson [Mon, 4 Oct 2004 13:29:13 +0000 (13:29 +0000)]
Add memmem.

19 years agono vasnprintf.h, either; argz_.h from libtool
Karl Berry [Mon, 4 Oct 2004 12:43:45 +0000 (12:43 +0000)]
no vasnprintf.h, either; argz_.h from libtool

19 years ago'README' is not a module.
Bruno Haible [Mon, 4 Oct 2004 11:44:19 +0000 (11:44 +0000)]
'README' is not a module.

19 years agoREADME and copyright notice suggested by Karl Berry.
Bruno Haible [Mon, 4 Oct 2004 11:43:51 +0000 (11:43 +0000)]
README and copyright notice suggested by Karl Berry.

19 years agoNew module 'memmem', from Simon Josefsson.
Bruno Haible [Mon, 4 Oct 2004 11:25:57 +0000 (11:25 +0000)]
New module 'memmem', from Simon Josefsson.

19 years agoSync from coreutils.
Paul Eggert [Mon, 4 Oct 2004 04:37:46 +0000 (04:37 +0000)]
Sync from coreutils.

19 years agoAdd getopt.h
Paul Eggert [Mon, 4 Oct 2004 04:37:31 +0000 (04:37 +0000)]
Add getopt.h

19 years agoAdd getopt_.h, getopt_int.h.
Paul Eggert [Mon, 4 Oct 2004 04:37:22 +0000 (04:37 +0000)]
Add getopt_.h, getopt_int.h.

19 years ago(check_extension, numbered_backup):
Paul Eggert [Mon, 4 Oct 2004 04:29:03 +0000 (04:29 +0000)]
(check_extension, numbered_backup):
Rename locals to avoid shadowing 'basename'.

19 years ago(enum backuptype): Rename none -> no_backups,
Paul Eggert [Mon, 4 Oct 2004 04:27:58 +0000 (04:27 +0000)]
(enum backuptype): Rename none -> no_backups,
simple -> simple_backups, numbered_existing ->
numbered_existing_backups, numbered -> numbered_backups
to avoid shadowing problems.  All uses changed.

19 years ago(mode_compile): Don't decrement a pointer that
Paul Eggert [Mon, 4 Oct 2004 04:24:47 +0000 (04:24 +0000)]
(mode_compile): Don't decrement a pointer that
points to the start of a string, as the C Standard says the
resulting behavior is undefined.

19 years agoFix years in copyright notices.
Paul Eggert [Mon, 4 Oct 2004 04:18:46 +0000 (04:18 +0000)]
Fix years in copyright notices.

19 years agosigh, vasnprintf changed in gnulib
Karl Berry [Sun, 3 Oct 2004 13:06:06 +0000 (13:06 +0000)]
sigh, vasnprintf changed in gnulib

19 years agoupdate
Karl Berry [Sun, 3 Oct 2004 13:04:51 +0000 (13:04 +0000)]
update

19 years ago.
Karl Berry [Sat, 2 Oct 2004 07:48:53 +0000 (07:48 +0000)]
.