gnulib.git
19 years agoAdd autoconf tests for the 'minmax' module.
Bruno Haible [Mon, 23 May 2005 10:26:24 +0000 (10:26 +0000)]
Add autoconf tests for the 'minmax' module.

19 years agoautoconf tests for the 'minmax' module.
Bruno Haible [Mon, 23 May 2005 10:25:53 +0000 (10:25 +0000)]
autoconf tests for the 'minmax' module.

19 years agoSimplify the #ifdefs.
Bruno Haible [Mon, 23 May 2005 10:22:39 +0000 (10:22 +0000)]
Simplify the #ifdefs.

19 years agoRename NEED_SIGNED_INT_TYPES macro.
Bruno Haible [Mon, 23 May 2005 10:22:11 +0000 (10:22 +0000)]
Rename NEED_SIGNED_INT_TYPES macro.

19 years agoRename HAVE_SYSTEM_INTTYPES macro.
Bruno Haible [Mon, 23 May 2005 10:21:48 +0000 (10:21 +0000)]
Rename HAVE_SYSTEM_INTTYPES macro.

19 years ago* fts.c (fd_safer) [_LGPL_PACKAGE]: New static function,
Paul Eggert [Sun, 22 May 2005 17:29:16 +0000 (17:29 +0000)]
* fts.c (fd_safer) [_LGPL_PACKAGE]: New static function,
so that unistd-safer.h (GPL'ed code) need not be included.

19 years agoupdate from texinfo
Karl Berry [Sun, 22 May 2005 12:46:31 +0000 (12:46 +0000)]
update from texinfo

19 years ago.
Karl Berry [Sun, 22 May 2005 07:30:07 +0000 (07:30 +0000)]
.

19 years ago(Files): Add m4/inttypes-pri.m4.
Jim Meyering [Sat, 21 May 2005 08:39:21 +0000 (08:39 +0000)]
(Files): Add m4/inttypes-pri.m4.
(Depends-on): Add lstat and remove gettext.  Alphabetize.

19 years agoRegenerate.
Paul Eggert [Fri, 20 May 2005 23:10:05 +0000 (23:10 +0000)]
Regenerate.

19 years agoNew fts module.
Paul Eggert [Fri, 20 May 2005 23:07:53 +0000 (23:07 +0000)]
New fts module.
* MODULES.html.sh (File system functions): Add fts, fts-lgpl.
* lib/fts.c: Don't include "cycle-check.h" or "hash.h".
(setup_dir, free_dir): New functions.
(enter_dir, leave_dir): Define trivial
alternatives of _LGPL_PACKAGE.  Move to fts-cycle.c if !_LGPL_PACKAGE.
(HT_INITIAL_SIZE, ENTER_DIR): Remove.  All uses removed.
(LEAVE_DIR): Fix typo: pass Fts and Ent to leave_dir.
(struct Active_dir, AD_compare, AD_hash, enter_dir, leave_dir):
Move to fts-cycle.c.
(fts_open): Use setup_dir.
(fts_close): Use free_dir.
(fts_read): Have just one copy of the ENTER_DIR code rather than three.
This adds a label and some gotos, but the alternatives were messier.
Check for memory allocation failure when entering a dir.
(fts_stat) [_LGPL_PACKAGE]: Bring back glibc cycle detection code.
* lib/fts_.h (_LGPL_PACKAGE) [defined _LIBC]: New macro.
(FTS): New member fts_cycle, that is a union that contains the
old active_dir_ht and cycle_state.  All uses changed to mention
fts_cycle.ht and fts_cycle.state.
* lib/fts-cycle.c: New file, containing GPL'ed code migrated out of
fts.c, with the following changes:
(setup_dir, free_dir): New functions.
(enter_dir): Now returns bool.  Return true if successful, false
if memory exhausted.  All callers changed.
Do not bother partly cleaning up on
memory allocation failure; that is free_dir's job.
However, free ad if hash_insert fails, to avoid memory leak.
(enter_dir, leave_dir): Accommodate change to FTS by inspecting
fts->fts_options to see which union member to use.
* m4/fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
(gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.

* lib/unlinkdir.h (cannot_unlink_dir) [UNLINK_CANNOT_UNLINK_DIR]:
Now a macro, to pacify GCC.

19 years ago* lib/chown.c (rpl_chown): Return -1 on failure.
Paul Eggert [Fri, 20 May 2005 20:57:40 +0000 (20:57 +0000)]
* lib/chown.c (rpl_chown): Return -1 on failure.
* m4/chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs of -1.

19 years agotypos etc.
Karl Berry [Thu, 19 May 2005 13:17:34 +0000 (13:17 +0000)]
typos etc.

19 years agoSync from coreutils.
Paul Eggert [Wed, 18 May 2005 19:47:47 +0000 (19:47 +0000)]
Sync from coreutils.

19 years ago(AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
Paul Eggert [Wed, 18 May 2005 19:47:30 +0000 (19:47 +0000)]
(AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.

19 years ago* fts.c: Include fts_.h first, to check interface.
Paul Eggert [Wed, 18 May 2005 19:47:06 +0000 (19:47 +0000)]
* fts.c: Include fts_.h first, to check interface.
Do not include intprops.h; no longer needed.
Include cycle-check.h and hash.h, since fts_.h no longer does.
Remove unnecessary casts of closedir to void.
(fts_build): Use a simpler method (not involving TYPE_SIGNED) to
decide whether to decrement nlinks.
* fts_.h: Do not include hash.h or cycle-check.h; no longer needed.
(FTS): Use struct hash_table * instead of Hash_table, so that
we no longer need to include hash.h here.
* fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
don't use its results.
Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
since we include them unconditionally.  Don't require
AM_STDBOOL_H, since stdbool is a prerequisite.
Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
since we assume C89 or better.
Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
as we don't use their results.
Don't check for fchdir, memmove, memset, strrchr, as we use
them unconditionally.

19 years ago* lib/canonicalize.c: Include canonicalize.h first, to test interface.
Paul Eggert [Wed, 18 May 2005 19:46:16 +0000 (19:46 +0000)]
* lib/canonicalize.c: Include canonicalize.h first, to test interface.
Include <stddef.h> unconditionally, since we assume C89 now.
All uses of PTR_INT_TYPE replaced by ptrdiff_t.
* m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
Don't check for stddef.h.

19 years ago*** empty log message ***
Jim Meyering [Wed, 18 May 2005 18:25:09 +0000 (18:25 +0000)]
*** empty log message ***

19 years ago(AC_LIBSOURCES): Add intprops.h to the list.
Jim Meyering [Wed, 18 May 2005 18:24:27 +0000 (18:24 +0000)]
(AC_LIBSOURCES): Add intprops.h to the list.

19 years agoChange to LGPL. Most of the code is already in the public domain.
Jim Meyering [Wed, 18 May 2005 06:55:55 +0000 (06:55 +0000)]
Change to LGPL.  Most of the code is already in the public domain.

19 years ago(License): Change to LGPL.
Jim Meyering [Wed, 18 May 2005 06:55:02 +0000 (06:55 +0000)]
(License): Change to LGPL.

19 years agoupdate from texinfo
Karl Berry [Tue, 17 May 2005 14:07:25 +0000 (14:07 +0000)]
update from texinfo

19 years ago.
Karl Berry [Tue, 17 May 2005 07:33:15 +0000 (07:33 +0000)]
.

19 years agoNew file, from coreutils.
Jim Meyering [Tue, 17 May 2005 07:08:14 +0000 (07:08 +0000)]
New file, from coreutils.

19 years agoNew files, from coreutils.
Jim Meyering [Tue, 17 May 2005 07:07:19 +0000 (07:07 +0000)]
New files, from coreutils.

19 years agoautoupdate
Karl Berry [Mon, 16 May 2005 13:25:23 +0000 (13:25 +0000)]
autoupdate

19 years ago* build-aux/depcomp, build-aux/install-sh, build-aux/mdate-sh,
Paul Eggert [Sun, 15 May 2005 06:54:53 +0000 (06:54 +0000)]
* build-aux/depcomp, build-aux/install-sh, build-aux/mdate-sh,
build-aux/missing, build-aux/mkinstalldirs: Sync from Automake;
this updates FSF postal mail address.

19 years agoUndo previous change to strtoll.c, so it stays in sync with libc.
Paul Eggert [Sun, 15 May 2005 06:53:10 +0000 (06:53 +0000)]
Undo previous change to strtoll.c, so it stays in sync with libc.

19 years agoUndo previous change.
Paul Eggert [Sun, 15 May 2005 06:52:07 +0000 (06:52 +0000)]
Undo previous change.

19 years agoSpell out "Street" in FSF postal mail address; this is the style the
Paul Eggert [Sun, 15 May 2005 06:51:32 +0000 (06:51 +0000)]
Spell out "Street" in FSF postal mail address; this is the style the
FSF seems to prefer.

19 years agoNew unlinkdir module.
Paul Eggert [Sun, 15 May 2005 06:11:32 +0000 (06:11 +0000)]
New unlinkdir module.
* MODULES.html.sh (File system functions): Add unlinkdir.
* lib/unlinkdir.c, lib/unlinkdir.h, m4/unlinkdir.m4, modules/unlinkdir:
New file.

19 years agoSync from coreutils.
Paul Eggert [Sun, 15 May 2005 04:45:43 +0000 (04:45 +0000)]
Sync from coreutils.
* modules/yesno (Depends-on): Add getline.
* gethrxtime.c, gethrxtime.h, getpass.h, mountlist.h, path-concat.c,
regex.h, strtoll.c, unlocked-io.h, xtime.h:
White space changes only.
* makepath.c (make_path): Port to hosts where leading "//" is special.
* yesno.c: Include getline.h, not ctype.h.
(yesno): Don't remove leading white space; POSIX doesn't allow it.
Use getline to remove arbitrary restriction on response length.

19 years agoAdd support for 64-bit integers in the MSVC compiler.
Bruno Haible [Sat, 14 May 2005 14:02:13 +0000 (14:02 +0000)]
Add support for 64-bit integers in the MSVC compiler.

19 years agoChange the initial comment to refer to GPL, not LGPL.
Paul Eggert [Sat, 14 May 2005 06:27:58 +0000 (06:27 +0000)]
Change the initial comment to refer to GPL, not LGPL.

19 years ago*** empty log message ***
Paul Eggert [Sat, 14 May 2005 06:03:57 +0000 (06:03 +0000)]
*** empty log message ***

19 years agoautoupdate
Karl Berry [Fri, 13 May 2005 13:38:01 +0000 (13:38 +0000)]
autoupdate

19 years ago* gnulib-tool (func_import): Sort and uniquify recommended includes.
Paul Eggert [Fri, 13 May 2005 07:01:30 +0000 (07:01 +0000)]
* gnulib-tool (func_import): Sort and uniquify recommended includes.

19 years ago(func_import): Sort and uniquify recommended includes.
Paul Eggert [Fri, 13 May 2005 07:01:19 +0000 (07:01 +0000)]
(func_import): Sort and uniquify recommended includes.

19 years agoUpdated
Sergey Poznyakoff [Thu, 12 May 2005 15:23:28 +0000 (15:23 +0000)]
Updated

19 years agoUpdated
Sergey Poznyakoff [Thu, 12 May 2005 15:22:44 +0000 (15:22 +0000)]
Updated

19 years agoAdd getdate.c to EXTRA_DIST
Sergey Poznyakoff [Thu, 12 May 2005 15:22:34 +0000 (15:22 +0000)]
Add getdate.c to EXTRA_DIST

19 years agoautoupdate
Karl Berry [Thu, 12 May 2005 12:48:32 +0000 (12:48 +0000)]
autoupdate

19 years ago* getdate.texi (General date syntax): Don't say that date
Paul Eggert [Wed, 11 May 2005 20:26:49 +0000 (20:26 +0000)]
* getdate.texi (General date syntax): Don't say that date
date --iso-8601=ns generates acceptable dates; it doesn't yet.

19 years agoCOPYING* from www/licenses too
Karl Berry [Tue, 10 May 2005 20:44:25 +0000 (20:44 +0000)]
COPYING* from www/licenses too

19 years ago* getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
Paul Eggert [Tue, 10 May 2005 19:11:00 +0000 (19:11 +0000)]
* getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
possible.

19 years agonew FSF address
Karl Berry [Tue, 10 May 2005 13:12:30 +0000 (13:12 +0000)]
new FSF address

19 years agoCOPYING names
Karl Berry [Tue, 10 May 2005 13:04:06 +0000 (13:04 +0000)]
COPYING names

19 years agoupdate FSF address
Karl Berry [Tue, 10 May 2005 13:02:40 +0000 (13:02 +0000)]
update FSF address

19 years agofsf address update
Karl Berry [Tue, 10 May 2005 12:58:56 +0000 (12:58 +0000)]
fsf address update

19 years agogetaddrinfo.c: Don't fail when SOCK_STREAM or SOCK_DGRAM are
Simon Josefsson [Tue, 10 May 2005 12:34:54 +0000 (12:34 +0000)]
getaddrinfo.c: Don't fail when SOCK_STREAM or SOCK_DGRAM are
specified in ai_socktype. Fix invalid ai_protocol
check. ai_protocol is usually set to 0 or depending on
ai_family/ai_socktype to IPPROTO_TCP / IPPROTO_UDP.  Checking for
SOCK_STREAM / SOCK_DGRAM in ai_protocol was invalid.  Set
ai_socktype / ai_protocol in the returned addrinfo structure.

19 years agogetaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
Simon Josefsson [Tue, 10 May 2005 12:32:35 +0000 (12:32 +0000)]
getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
Yoann Vandoorselaere <yoann.v@prelude-ids.com>.

19 years ago.
Karl Berry [Tue, 10 May 2005 07:34:16 +0000 (07:34 +0000)]
.

19 years agomodules/time_r (License): Change to LGPL.
Paul Eggert [Tue, 10 May 2005 01:32:39 +0000 (01:32 +0000)]
modules/time_r (License): Change to LGPL.

19 years ago(License): Change to LGPL.
Paul Eggert [Tue, 10 May 2005 01:32:22 +0000 (01:32 +0000)]
(License): Change to LGPL.

19 years ago* modules/extensions (License): Change to LGPL.
Paul Eggert [Mon, 9 May 2005 19:45:37 +0000 (19:45 +0000)]
* modules/extensions (License): Change to LGPL.

19 years ago(License): Change to LGPL.
Paul Eggert [Mon, 9 May 2005 19:45:20 +0000 (19:45 +0000)]
(License): Change to LGPL.

19 years agostat-macros shouldn't depend on itself.
Paul Eggert [Mon, 9 May 2005 19:38:21 +0000 (19:38 +0000)]
stat-macros shouldn't depend on itself.

19 years agoNew module 'inet_ntop'.
Bruno Haible [Mon, 9 May 2005 15:15:14 +0000 (15:15 +0000)]
New module 'inet_ntop'.

19 years agoremove trailing blank
Jim Meyering [Sun, 8 May 2005 14:39:01 +0000 (14:39 +0000)]
remove trailing blank

19 years ago*** empty log message ***
Jim Meyering [Sun, 8 May 2005 14:37:17 +0000 (14:37 +0000)]
*** empty log message ***

19 years ago(PATH_SEPARATOR): Remove insignificant trailing blank.
Jim Meyering [Sun, 8 May 2005 14:37:07 +0000 (14:37 +0000)]
(PATH_SEPARATOR): Remove insignificant trailing blank.

19 years agoremove trailing blanks
Jim Meyering [Sun, 8 May 2005 14:36:09 +0000 (14:36 +0000)]
remove trailing blanks

19 years ago(Depends-on): Add stdbool.
Paul Eggert [Fri, 6 May 2005 17:22:45 +0000 (17:22 +0000)]
(Depends-on): Add stdbool.

19 years ago* getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
Paul Eggert [Fri, 6 May 2005 01:04:20 +0000 (01:04 +0000)]
* getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
needless checks.

19 years agoget COPYING* from gnuorg, hopefully
Karl Berry [Tue, 3 May 2005 13:04:30 +0000 (13:04 +0000)]
get COPYING* from gnuorg, hopefully

19 years agofsf address update
Karl Berry [Tue, 3 May 2005 13:03:42 +0000 (13:03 +0000)]
fsf address update

19 years agoAdd missing entry for last gettext.m4 update.
Bruno Haible [Tue, 3 May 2005 11:03:22 +0000 (11:03 +0000)]
Add missing entry for last gettext.m4 update.

19 years agoAdd comments.
Bruno Haible [Mon, 2 May 2005 11:42:21 +0000 (11:42 +0000)]
Add comments.

19 years agoRegenerate.
Paul Eggert [Mon, 2 May 2005 07:02:54 +0000 (07:02 +0000)]
Regenerate.

19 years agoMerge from coreutils.
Paul Eggert [Mon, 2 May 2005 07:00:50 +0000 (07:00 +0000)]
Merge from coreutils.

19 years ago* modules/getcwd (Depends-on): Add extensions.
Paul Eggert [Mon, 2 May 2005 05:29:35 +0000 (05:29 +0000)]
* modules/getcwd (Depends-on): Add extensions.
* modules/openat (Depends-on): Likewise.

19 years ago(gl_FUNC_MMAP_ANON): Check for message, not for MAP_ANON.
Paul Eggert [Mon, 2 May 2005 05:04:12 +0000 (05:04 +0000)]
(gl_FUNC_MMAP_ANON): Check for message, not for MAP_ANON.

19 years agoNew byteswap module.
Paul Eggert [Sun, 1 May 2005 14:13:01 +0000 (14:13 +0000)]
New byteswap module.

19 years agoOops, wrong email address.
Bruno Haible [Tue, 26 Apr 2005 12:21:46 +0000 (12:21 +0000)]
Oops, wrong email address.

19 years agoWorkaround. From Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
Bruno Haible [Tue, 26 Apr 2005 12:20:22 +0000 (12:20 +0000)]
Workaround. From Albert Chin <bug-gnulib@mlists.thewrittenword.com>.

19 years agogettext0.14.4
Karl Berry [Mon, 25 Apr 2005 13:23:48 +0000 (13:23 +0000)]
gettext0.14.4

19 years agoautoupdate
Karl Berry [Sat, 23 Apr 2005 13:02:13 +0000 (13:02 +0000)]
autoupdate

19 years ago(Options): Add -s for --symlink/--symbolic.
Simon Josefsson [Thu, 21 Apr 2005 22:10:05 +0000 (22:10 +0000)]
(Options): Add -s for --symlink/--symbolic.
(func_ln_if_changed) Remove forcibly for no error message
in case file does not exist.

19 years agoupdate from texinfo
Karl Berry [Tue, 19 Apr 2005 12:49:34 +0000 (12:49 +0000)]
update from texinfo

19 years ago(Options): Make --symlink mean --symbolic.
Simon Josefsson [Tue, 19 Apr 2005 07:52:49 +0000 (07:52 +0000)]
(Options): Make --symlink mean --symbolic.

19 years ago(Initial import): Fix. Mention --aux-dir.
Simon Josefsson [Mon, 18 Apr 2005 20:58:20 +0000 (20:58 +0000)]
(Initial import): Fix.  Mention --aux-dir.

19 years agomodules/getpass-gnu (Makefile.am): Don't mention getpass.h.
Simon Josefsson [Sat, 16 Apr 2005 18:49:34 +0000 (18:49 +0000)]
modules/getpass-gnu (Makefile.am): Don't mention getpass.h.

19 years agogetpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
Simon Josefsson [Sat, 16 Apr 2005 18:49:09 +0000 (18:49 +0000)]
getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.

19 years ago2005-04-15 Simon Josefsson <jas@extundo.com>
Simon Josefsson [Fri, 15 Apr 2005 09:10:09 +0000 (09:10 +0000)]
2005-04-15  Simon Josefsson  <jas@extundo.com>

* gnulib-tool: Rename --symlink to --symbolic.

19 years ago2005-04-15 Oskar Liljeblad <oskar@osk.mine.nu>
Simon Josefsson [Fri, 15 Apr 2005 09:06:26 +0000 (09:06 +0000)]
2005-04-15  Oskar Liljeblad <oskar@osk.mine.nu>

* gnulib-tool: Add -s, --symlink option to gnulib-tool to make
symbolic links to files instead of copying/moving.  Add --aux-dir,
specifying directory relative --dir where auxiliary build tools
are placed.

19 years agoChange to LGPL.
Bruno Haible [Thu, 14 Apr 2005 13:05:07 +0000 (13:05 +0000)]
Change to LGPL.

19 years ago* getdate.y (zone): Allow relunit_snumber after tZONE.
Paul Eggert [Wed, 13 Apr 2005 18:43:49 +0000 (18:43 +0000)]
* getdate.y (zone): Allow relunit_snumber after tZONE.

19 years ago(zone): Allow relunit_snumber after tZONE, so
Paul Eggert [Wed, 13 Apr 2005 18:43:31 +0000 (18:43 +0000)]
(zone): Allow relunit_snumber after tZONE, so
that "UTC +1 second" continues to work.  Problem reported
by Dmitry V. Levin.
(relunit_snumber): New rule.
(relunit): Use it.

19 years ago* getdate.y (universal_time_zone_table): New constant.
Paul Eggert [Tue, 12 Apr 2005 07:23:15 +0000 (07:23 +0000)]
* getdate.y (universal_time_zone_table): New constant.
(time_zone_table): Remove GMT, UT, UTC entries; they're now in
universal_time_zone_table.
(lookup_zone): Prefer universal_time_zone_table to
local_time_zone_table, so that "GMT" time stamps are allowed in
London during the summer.  Problem reported by Ian Abbott.

19 years ago(universal_time_zone_table): New constant.
Paul Eggert [Tue, 12 Apr 2005 07:22:51 +0000 (07:22 +0000)]
(universal_time_zone_table): New constant.
(time_zone_table): Remove GMT, UT, UTC entries; they're now in
universal_time_zone_table.
(lookup_zone): Prefer universal_time_zone_table to
local_time_zone_table, so that "GMT" time stamps are allowed in
London during the summer.  Problem reported by Ian Abbott.

19 years ago*** empty log message ***
Jim Meyering [Tue, 12 Apr 2005 06:56:10 +0000 (06:56 +0000)]
*** empty log message ***

19 years ago(humblock): Set *options even when returning due to
Jim Meyering [Tue, 12 Apr 2005 06:55:03 +0000 (06:55 +0000)]
(humblock): Set *options even when returning due to
xstrtoumax conversion failure.  Thanks to a used-uninitialized
warning from gcc-4.

19 years agoAdd comment about possible integer overflow.
Bruno Haible [Mon, 11 Apr 2005 11:52:27 +0000 (11:52 +0000)]
Add comment about possible integer overflow.

19 years ago*** empty log message ***
Jim Meyering [Sat, 9 Apr 2005 13:32:20 +0000 (13:32 +0000)]
*** empty log message ***

19 years ago(posixtime) [lint]: Avoid spurious warning from gcc-4's
Jim Meyering [Sat, 9 Apr 2005 13:31:08 +0000 (13:31 +0000)]
(posixtime) [lint]: Avoid spurious warning from gcc-4's
-Wuninitialized: initialize tm0.tm_year.

19 years ago(parser_control): rels_seen is now a boolean, not a
Paul Eggert [Mon, 4 Apr 2005 19:53:39 +0000 (19:53 +0000)]
(parser_control): rels_seen is now a boolean, not a
count, since there's no maximum.  All uses changed.
Add member dsts_seen.
(local_zone): Accumulate dsts_seen rather than relying on tm_isdst
not being INT_MAX.
(get_date): Initialize dsts_seen, and check that it doesn't go over 1.
Use pc_rels_seen to decide whther a date is absolute.

(number): Don't overwrite year.
(get_date): Initialize pc.year.digits to 0, not 4, to enable above
check.

19 years agogetdate.y patch for parsing empty string near DST boundaries.
Paul Eggert [Mon, 4 Apr 2005 19:53:07 +0000 (19:53 +0000)]
getdate.y patch for parsing empty string near DST boundaries.

19 years ago*** empty log message ***
Simon Josefsson [Sat, 2 Apr 2005 08:10:25 +0000 (08:10 +0000)]
*** empty log message ***

19 years agoFix OpenBSD compilation failure, inspired by tiny patch from Yoann
Simon Josefsson [Sat, 2 Apr 2005 08:09:23 +0000 (08:09 +0000)]
Fix OpenBSD compilation failure, inspired by tiny patch from Yoann
Vandoorselaere <yoann@prelude-ids.org>.

19 years agoFix spellings in comment.
Paul Eggert [Sat, 2 Apr 2005 03:54:44 +0000 (03:54 +0000)]
Fix spellings in comment.