Jim Meyering
aeb7c0bc47
.
1997-01-22 04:55:59 +00:00
Jim Meyering
940f23f4a4
.
1997-01-22 04:53:59 +00:00
Jim Meyering
f3f1cae097
(main): Properly handle what the POSIX spec calls
...
the `obsolescent' usage (e.g., tail +2c). It didn't work.
Reported by Karl Heuer.
1997-01-22 04:53:52 +00:00
Jim Meyering
fbe50426e2
.
1997-01-22 04:48:32 +00:00
Jim Meyering
8011a147de
.
1997-01-21 04:21:48 +00:00
Jim Meyering
3cca257a3b
.
1997-01-19 15:24:40 +00:00
Jim Meyering
de96d28c57
.
1997-01-19 13:18:30 +00:00
Jim Meyering
783fb6b2a6
.
1997-01-19 13:11:40 +00:00
Jim Meyering
b969dad022
Indent with GNU indent.
1997-01-18 20:17:39 +00:00
Jim Meyering
c1db691c12
Indent 2 more cpp-directives to reflect nesting.
1997-01-18 20:12:10 +00:00
Jim Meyering
5f9c33edfe
(get_date): Change prototype to reflect const'ness of parameters.
...
Indent cpp-directives to reflect nesting.
1997-01-18 20:11:05 +00:00
Jim Meyering
10d7644859
.
1997-01-18 20:08:05 +00:00
Jim Meyering
6cb5a99aa7
Include getdate.h.
...
(<time.h>, <sys/time.h>): Don't include -- now getdate.h does it.
1997-01-18 20:06:50 +00:00
Jim Meyering
f696bb6737
.
1997-01-18 16:58:30 +00:00
Jim Meyering
8a9acec293
.
1997-01-18 16:57:45 +00:00
Jim Meyering
7eeedf8385
.
1997-01-18 15:46:09 +00:00
Jim Meyering
4c066c3552
.
1997-01-18 15:32:52 +00:00
Jim Meyering
6e5149f0ab
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.
1997-01-18 15:32:16 +00:00
Jim Meyering
af12dd6260
Add comment re HAVE_PSTAT_GETDYNAMIC.
1997-01-18 15:07:16 +00:00
Jim Meyering
f8e40348be
reindent
1997-01-18 13:44:49 +00:00
Jim Meyering
be8f2b0de2
.
1997-01-17 03:01:15 +00:00
Jim Meyering
279f065a06
(AM_FUNC_GETLOADAVG): Check for pstat_getdynamic.
1997-01-17 03:00:45 +00:00
Jim Meyering
c7837e95d2
Fix up indentation a little.
1997-01-15 04:59:07 +00:00
Jim Meyering
9130f4b9d2
Indent cpp-directives to reflect nesting.
1997-01-15 04:55:39 +00:00
Jim Meyering
5aa14aeef0
[!STDC_HEADERS]: Remove unnecessary declaration of free.
1997-01-15 04:42:05 +00:00
Jim Meyering
61976fe88d
[!STDC_HEADERS]: Remove unnecessary declaration of free.
1997-01-15 04:41:12 +00:00
Jim Meyering
0868a7d0bd
Add struct dir_list and is_ancestor.
1997-01-15 04:35:01 +00:00
Jim Meyering
48be557ad6
.
1997-01-13 04:23:05 +00:00
Jim Meyering
371f45401c
Regenerated to reflect renamed tests.
1997-01-13 04:21:30 +00:00
Jim Meyering
9b9213f122
Rename tests so that the associated files
...
have names that are distinct even on filesystems on which file
names are case insensitive.
1997-01-13 04:20:54 +00:00
Jim Meyering
4c3d7d6a8b
.
1997-01-13 04:17:16 +00:00
Jim Meyering
720d1c1c5e
Regenerated to reflect renamed tests.
1997-01-13 04:16:57 +00:00
Jim Meyering
0dac1e107c
Rename tests so that the associated files
...
have names that are distinct even on filesystems on which file
names are case insensitive.
1997-01-13 04:16:16 +00:00
Jim Meyering
31a8ced738
.
1997-01-11 22:35:42 +00:00
Jim Meyering
eb07a88b9e
.
1997-01-11 04:23:46 +00:00
Jim Meyering
0503b28076
.
1997-01-11 04:21:29 +00:00
Jim Meyering
f45eaa5782
.
1997-01-09 12:38:53 +00:00
Jim Meyering
2f00343264
Remove AC_ISC_POSIX.
1997-01-09 12:24:51 +00:00
Jim Meyering
323c9cfee7
.
SH-UTILS-1_15
1997-01-09 02:35:52 +00:00
Jim Meyering
676a608318
.
TEXTUTILS-1_21
1997-01-09 02:35:30 +00:00
Jim Meyering
39d1a08208
.
FILEUTILS-3_15
1997-01-09 02:34:14 +00:00
Jim Meyering
9ca6f19a2d
(print_long_format): Cast alloca return value to char*.
1997-01-09 02:33:44 +00:00
Jim Meyering
0acd885d83
.
1997-01-09 00:09:17 +00:00
Jim Meyering
9110853f39
.
1997-01-08 22:40:47 +00:00
Jim Meyering
4ffe108e39
(_getopt_internal): Use _', rather than the (sometimes-)expansion gettext'.
1997-01-08 22:40:00 +00:00
Jim Meyering
7290a43da9
.
1997-01-08 12:29:57 +00:00
Jim Meyering
9cfc701536
.
1997-01-08 04:59:01 +00:00
Jim Meyering
b0a020d50b
.
1997-01-08 04:57:06 +00:00
Jim Meyering
36942690e1
.
1997-01-08 04:56:45 +00:00
Jim Meyering
afda328772
.
1997-01-08 04:52:41 +00:00