Jim Meyering [Thu, 23 Jan 1997 03:02:17 +0000 (03:02 +0000)]
.
Jim Meyering [Thu, 23 Jan 1997 02:45:08 +0000 (02:45 +0000)]
.
Jim Meyering [Thu, 23 Jan 1997 02:45:02 +0000 (02:45 +0000)]
Update from GNU via Uli
Jim Meyering [Thu, 23 Jan 1997 02:25:26 +0000 (02:25 +0000)]
.
Jim Meyering [Thu, 23 Jan 1997 02:23:44 +0000 (02:23 +0000)]
revert last change
Jim Meyering [Thu, 23 Jan 1997 02:21:03 +0000 (02:21 +0000)]
.
Jim Meyering [Thu, 23 Jan 1997 02:18:00 +0000 (02:18 +0000)]
.
Jim Meyering [Thu, 23 Jan 1997 02:16:55 +0000 (02:16 +0000)]
.
Jim Meyering [Thu, 23 Jan 1997 02:16:20 +0000 (02:16 +0000)]
(AM_FUNC_MKTIME): Run tests for each of a few values
for the TZ environment variable. Andre Novaes Cunha provided the
hairy TZ setting that exercized the Solaris tzset bug.
Jim Meyering [Thu, 23 Jan 1997 00:39:19 +0000 (00:39 +0000)]
increment serial number
Jim Meyering [Wed, 22 Jan 1997 23:23:04 +0000 (23:23 +0000)]
[strftime]: Add parameters to macro definition. From Drepper.
Jim Meyering [Wed, 22 Jan 1997 22:45:47 +0000 (22:45 +0000)]
(main): Use TZ=GMT0, not TZ=GMT, since only GMT0 is specified by Posix.1.
Jim Meyering [Wed, 22 Jan 1997 22:43:41 +0000 (22:43 +0000)]
.
Jim Meyering [Wed, 22 Jan 1997 22:43:15 +0000 (22:43 +0000)]
(_strftime_copytm): New function, to work around Solaris 2.5 tzset bug.
From Paul Eggert.
Jim Meyering [Wed, 22 Jan 1997 22:39:41 +0000 (22:39 +0000)]
.
Jim Meyering [Wed, 22 Jan 1997 22:38:37 +0000 (22:38 +0000)]
(AM_FUNC_MKTIME): Fix bug in mktime test -- don't
test now, test a couple of thousand times.
Jim Meyering [Wed, 22 Jan 1997 04:56:25 +0000 (04:56 +0000)]
.
Jim Meyering [Wed, 22 Jan 1997 04:55:59 +0000 (04:55 +0000)]
.
Jim Meyering [Wed, 22 Jan 1997 04:53:59 +0000 (04:53 +0000)]
.
Jim Meyering [Wed, 22 Jan 1997 04:53:52 +0000 (04:53 +0000)]
(main): Properly handle what the POSIX spec calls
the `obsolescent' usage (e.g., tail +2c). It didn't work.
Reported by Karl Heuer.
Jim Meyering [Wed, 22 Jan 1997 04:48:32 +0000 (04:48 +0000)]
.
Jim Meyering [Tue, 21 Jan 1997 04:21:48 +0000 (04:21 +0000)]
.
Jim Meyering [Sun, 19 Jan 1997 15:24:40 +0000 (15:24 +0000)]
.
Jim Meyering [Sun, 19 Jan 1997 13:18:30 +0000 (13:18 +0000)]
.
Jim Meyering [Sun, 19 Jan 1997 13:11:40 +0000 (13:11 +0000)]
.
Jim Meyering [Sat, 18 Jan 1997 20:17:39 +0000 (20:17 +0000)]
Indent with GNU indent.
Jim Meyering [Sat, 18 Jan 1997 20:12:10 +0000 (20:12 +0000)]
Indent 2 more cpp-directives to reflect nesting.
Jim Meyering [Sat, 18 Jan 1997 20:11:05 +0000 (20:11 +0000)]
(get_date): Change prototype to reflect const'ness of parameters.
Indent cpp-directives to reflect nesting.
Jim Meyering [Sat, 18 Jan 1997 20:08:05 +0000 (20:08 +0000)]
.
Jim Meyering [Sat, 18 Jan 1997 20:06:50 +0000 (20:06 +0000)]
Include getdate.h.
(<time.h>, <sys/time.h>): Don't include -- now getdate.h does it.
Jim Meyering [Sat, 18 Jan 1997 16:58:30 +0000 (16:58 +0000)]
.
Jim Meyering [Sat, 18 Jan 1997 16:57:45 +0000 (16:57 +0000)]
.
Jim Meyering [Sat, 18 Jan 1997 15:46:09 +0000 (15:46 +0000)]
.
Jim Meyering [Sat, 18 Jan 1997 15:32:52 +0000 (15:32 +0000)]
.
Jim Meyering [Sat, 18 Jan 1997 15:32:16 +0000 (15:32 +0000)]
1997-01-06 Paul Eggert <eggert@twinsun.com>
* getdate.y: Rewrite to use mktime.
<sys/timeb.h>: Don't include.
(mktime): Declare.
(struct timeb, timezone, DOOMSDAY, SECSPERDAY, DSTMODE, yyDSTmode,
ToSeconds, Convert, DSTcorrect, RelativeDate, RelativeMonth): Remove.
(ToHour): New function (part of the old ToSeconds fn).
(ToYear): New function (part of the old Convert fn).
(TABLE.value, yyDayOrdinal, yyDayNumber, yyTimezone, yyDay, yyHour,
yyMinutes, yyMonth, yySeconds, yyYear, yyRelMonth, yyRelSeconds,
Number): Now int instead of time_t.
(HOUR): Don't cast to time_t.
(tDAY_UNIT, tHOUR_UNIT, tYEAR_UNIT): New %tokens.
(UnitsTable): Use new units that are closer to the keywords.
(yyRelDay, yyRelHour, yyRelMinutes, yyRelYear): New variables.
(rel, relunit, get_date): Add support for them.
(time): Fix timezone calculations for negative half-hour offsets
when integer division truncates towards minus infinity.
(zone): Incorporiate DST calculation directly.
(get_date): 2nd arg is now time_t *, not struct timeb *.
Use mktime to do most of the work, instead of computing it ourselves.
Guard against falsely reporting errors near the time_t boundaries
when parsing times in other time zones.
Jim Meyering [Sat, 18 Jan 1997 15:07:16 +0000 (15:07 +0000)]
Add comment re HAVE_PSTAT_GETDYNAMIC.
Jim Meyering [Sat, 18 Jan 1997 13:44:49 +0000 (13:44 +0000)]
reindent
Jim Meyering [Fri, 17 Jan 1997 03:01:15 +0000 (03:01 +0000)]
.
Jim Meyering [Fri, 17 Jan 1997 03:00:45 +0000 (03:00 +0000)]
(AM_FUNC_GETLOADAVG): Check for pstat_getdynamic.
Jim Meyering [Wed, 15 Jan 1997 04:59:07 +0000 (04:59 +0000)]
Fix up indentation a little.
Jim Meyering [Wed, 15 Jan 1997 04:55:39 +0000 (04:55 +0000)]
Indent cpp-directives to reflect nesting.
Jim Meyering [Wed, 15 Jan 1997 04:42:05 +0000 (04:42 +0000)]
[!STDC_HEADERS]: Remove unnecessary declaration of free.
Jim Meyering [Wed, 15 Jan 1997 04:41:12 +0000 (04:41 +0000)]
[!STDC_HEADERS]: Remove unnecessary declaration of free.
Jim Meyering [Wed, 15 Jan 1997 04:35:01 +0000 (04:35 +0000)]
Add struct dir_list and is_ancestor.
Jim Meyering [Mon, 13 Jan 1997 04:23:05 +0000 (04:23 +0000)]
.
Jim Meyering [Mon, 13 Jan 1997 04:21:30 +0000 (04:21 +0000)]
Regenerated to reflect renamed tests.
Jim Meyering [Mon, 13 Jan 1997 04:20:54 +0000 (04:20 +0000)]
Rename tests so that the associated files
have names that are distinct even on filesystems on which file
names are case insensitive.
Jim Meyering [Mon, 13 Jan 1997 04:17:16 +0000 (04:17 +0000)]
.
Jim Meyering [Mon, 13 Jan 1997 04:16:57 +0000 (04:16 +0000)]
Regenerated to reflect renamed tests.
Jim Meyering [Mon, 13 Jan 1997 04:16:16 +0000 (04:16 +0000)]
Rename tests so that the associated files
have names that are distinct even on filesystems on which file
names are case insensitive.
Jim Meyering [Sat, 11 Jan 1997 22:35:42 +0000 (22:35 +0000)]
.
Jim Meyering [Sat, 11 Jan 1997 04:23:46 +0000 (04:23 +0000)]
.
Jim Meyering [Sat, 11 Jan 1997 04:21:29 +0000 (04:21 +0000)]
.
Jim Meyering [Thu, 9 Jan 1997 12:38:53 +0000 (12:38 +0000)]
.
Jim Meyering [Thu, 9 Jan 1997 12:24:51 +0000 (12:24 +0000)]
Remove AC_ISC_POSIX.
Jim Meyering [Thu, 9 Jan 1997 02:35:52 +0000 (02:35 +0000)]
.
Jim Meyering [Thu, 9 Jan 1997 02:35:30 +0000 (02:35 +0000)]
.
Jim Meyering [Thu, 9 Jan 1997 02:34:14 +0000 (02:34 +0000)]
.
Jim Meyering [Thu, 9 Jan 1997 02:33:44 +0000 (02:33 +0000)]
(print_long_format): Cast alloca return value to char*.
Jim Meyering [Thu, 9 Jan 1997 00:09:17 +0000 (00:09 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 22:40:47 +0000 (22:40 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 22:40:00 +0000 (22:40 +0000)]
(_getopt_internal): Use `_', rather than the (sometimes-)expansion `gettext'.
Jim Meyering [Wed, 8 Jan 1997 12:29:57 +0000 (12:29 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:59:01 +0000 (04:59 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:57:06 +0000 (04:57 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:56:45 +0000 (04:56 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:52:41 +0000 (04:52 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:52:00 +0000 (04:52 +0000)]
[_]: Define to gettext also if ENABLE_NLS is defined.
Jim Meyering [Wed, 8 Jan 1997 04:50:29 +0000 (04:50 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:49:33 +0000 (04:49 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:47:56 +0000 (04:47 +0000)]
(main): Work around failures induced by new version of
getopt.c by not modifying optind before the first getopt_long call
in main. With suggestions from Ulrich Drepper.
Jim Meyering [Wed, 8 Jan 1997 04:11:29 +0000 (04:11 +0000)]
New (more POSIX compliant) version from GNU libc.
Jim Meyering [Mon, 6 Jan 1997 04:24:52 +0000 (04:24 +0000)]
.
Jim Meyering [Mon, 6 Jan 1997 04:19:50 +0000 (04:19 +0000)]
.
Jim Meyering [Mon, 6 Jan 1997 03:31:03 +0000 (03:31 +0000)]
.
Jim Meyering [Mon, 6 Jan 1997 03:23:19 +0000 (03:23 +0000)]
.
Jim Meyering [Mon, 6 Jan 1997 03:21:55 +0000 (03:21 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 20:32:57 +0000 (20:32 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 20:32:49 +0000 (20:32 +0000)]
(print_long_format): Detect and handle strftime failure
due to pathologically long strings in locale tables. Patch from Paul Eggert.
(print_long_format): Change references to BIGBUF in use of FPUT macro
to references to BUF.
Use 11 (not 20) bytes for mode string buffer.
Jim Meyering [Sun, 5 Jan 1997 15:39:27 +0000 (15:39 +0000)]
(print_long_format): NUL-terminate line of output.
Jim Meyering [Sun, 5 Jan 1997 15:33:44 +0000 (15:33 +0000)]
(print_long_format): First patch from Paul Eggert.
Jim Meyering [Sun, 5 Jan 1997 03:32:28 +0000 (03:32 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 03:24:32 +0000 (03:24 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 03:19:46 +0000 (03:19 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 03:18:49 +0000 (03:18 +0000)]
(print_long_format): Clean up vestiges of legacy
ctime-oriented code. With internationalization and strftime,
you can't presume that %a expands to a 3-byte string.
Reported by Ross Ridge.
Jim Meyering [Sat, 4 Jan 1997 03:09:44 +0000 (03:09 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 05:10:19 +0000 (05:10 +0000)]
Fix typo.
Jim Meyering [Fri, 3 Jan 1997 05:05:45 +0000 (05:05 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 03:24:22 +0000 (03:24 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 03:20:24 +0000 (03:20 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 03:20:14 +0000 (03:20 +0000)]
(init_fps): Initialize lines_stored field in three places.
This avoids uninitialized memory reads in close_file.
Jim Meyering [Fri, 3 Jan 1997 03:16:59 +0000 (03:16 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 03:16:29 +0000 (03:16 +0000)]
(EXTRA_DIST): Add getgroups.c.
Jim Meyering [Thu, 2 Jan 1997 03:13:49 +0000 (03:13 +0000)]
.
Jim Meyering [Thu, 2 Jan 1997 02:21:58 +0000 (02:21 +0000)]
.
Jim Meyering [Wed, 1 Jan 1997 23:35:31 +0000 (23:35 +0000)]
.
Jim Meyering [Tue, 31 Dec 1996 16:18:06 +0000 (16:18 +0000)]
.
Jim Meyering [Mon, 30 Dec 1996 05:45:23 +0000 (05:45 +0000)]
.
Jim Meyering [Mon, 30 Dec 1996 05:43:58 +0000 (05:43 +0000)]
(init_header): Plug a small memory leak by using stack
rather than heap for a 15-byte temporary buffer.
Jim Meyering [Mon, 30 Dec 1996 04:11:13 +0000 (04:11 +0000)]
.