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.
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.
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.
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.
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.
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.
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.
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.
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.