gnulib.git
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)]
.

19 years ago*** empty log message ***
Jim Meyering [Sat, 2 Oct 2004 07:05:52 +0000 (07:05 +0000)]
*** empty log message ***

19 years agoAdd copyright notice.
Jim Meyering [Sat, 2 Oct 2004 07:05:09 +0000 (07:05 +0000)]
Add copyright notice.

19 years agoAdd comment about preallocated buffer. Suggested by Simon Josefsson.
Bruno Haible [Fri, 1 Oct 2004 20:42:15 +0000 (20:42 +0000)]
Add comment about preallocated buffer. Suggested by Simon Josefsson.

19 years agoAdd a copyright notice.
Bruno Haible [Fri, 1 Oct 2004 19:59:45 +0000 (19:59 +0000)]
Add a copyright notice.

19 years agoPut under GPL.
Bruno Haible [Fri, 1 Oct 2004 19:50:53 +0000 (19:50 +0000)]
Put under GPL.

19 years ago* snprintf.c: Remove comments as to why each header is needed.
Paul Eggert [Fri, 1 Oct 2004 18:55:08 +0000 (18:55 +0000)]
* snprintf.c: Remove comments as to why each header is needed.

19 years agoRemove comments as to why each header is needed.
Paul Eggert [Fri, 1 Oct 2004 18:54:53 +0000 (18:54 +0000)]
Remove comments as to why each header is needed.

19 years agoNew module 'strsep'.
Bruno Haible [Fri, 1 Oct 2004 16:38:25 +0000 (16:38 +0000)]
New module 'strsep'.

19 years agoAnother fix to snprintf().
Bruno Haible [Fri, 1 Oct 2004 13:27:20 +0000 (13:27 +0000)]
Another fix to snprintf().

19 years agoFixes, mostly from Simon Josefsson.
Bruno Haible [Fri, 1 Oct 2004 10:26:52 +0000 (10:26 +0000)]
Fixes, mostly from Simon Josefsson.

19 years agoAdd license field.
Bruno Haible [Fri, 1 Oct 2004 10:19:55 +0000 (10:19 +0000)]
Add license field.

19 years agoEnsure memcpy is declared.
Bruno Haible [Fri, 1 Oct 2004 10:12:23 +0000 (10:12 +0000)]
Ensure memcpy is declared.

19 years agoFix typo in comment.
Bruno Haible [Fri, 1 Oct 2004 10:07:18 +0000 (10:07 +0000)]
Fix typo in comment.

19 years ago.
Karl Berry [Fri, 1 Oct 2004 07:50:31 +0000 (07:50 +0000)]
.

19 years agoRegenerate.
Paul Eggert [Thu, 30 Sep 2004 23:41:21 +0000 (23:41 +0000)]
Regenerate.

19 years agoAdd snprintf module.
Paul Eggert [Thu, 30 Sep 2004 23:40:34 +0000 (23:40 +0000)]
Add snprintf module.

19 years agosnprintf is C 99, not just POSIX.
Paul Eggert [Thu, 30 Sep 2004 23:39:58 +0000 (23:39 +0000)]
snprintf is C 99, not just POSIX.

19 years agoNew snprintf module from Simon Josefsson.
Paul Eggert [Thu, 30 Sep 2004 23:29:25 +0000 (23:29 +0000)]
New snprintf module from Simon Josefsson.

19 years agoSergey now maintains argp.
Paul Eggert [Thu, 30 Sep 2004 16:46:34 +0000 (16:46 +0000)]
Sergey now maintains argp.

19 years agoargp fixes from Sergey.
Paul Eggert [Thu, 30 Sep 2004 16:46:18 +0000 (16:46 +0000)]
argp fixes from Sergey.