Jim Meyering
c7b5fd2423
.
1997-03-23 02:56:47 +00:00
Jim Meyering
effc683cfc
(TIME_T_MIN): Work around a bug in Cray C 5.0.3.0.
1997-03-14 03:28:09 +00:00
Jim Meyering
5ed7bf6069
.
1997-03-13 05:17:16 +00:00
Jim Meyering
a7cbdd04cd
.
1997-03-13 05:16:47 +00:00
Jim Meyering
4e81181981
(EXTRA_DIST): Add chown.c.
1997-03-13 05:13:18 +00:00
Jim Meyering
a9616d4982
.
1997-03-12 01:26:15 +00:00
Jim Meyering
f1fbec95d5
.
1997-03-11 05:11:09 +00:00
Jim Meyering
8c93627ccb
(tYEAR_UNIT): Increase yyRelYear by $1, not just by 1.
...
From Andreas Schwab.
1997-02-27 05:53:15 +00:00
Jim Meyering
db78b4797a
(tMONTH_UNIT): Increase yyRelMonth by $1, not just by 1.
...
(tDAY_UNIT): Likewise for yyRelDay.
(tHOUR_UNIT): Likewise for yyRelHour.
(tMINUTE_UNIT): Likewise for yyRelMinutes.
(tSEC_UNIT): Likewise for yyRelSeconds.
1997-02-22 20:13:19 +00:00
Jim Meyering
4b0e6d0a33
update from FSF
1997-02-21 02:19:48 +00:00
Jim Meyering
e16668553e
update from FSF
1997-02-21 02:16:54 +00:00
Jim Meyering
35ec0a08b5
.
1997-02-18 15:13:51 +00:00
Jim Meyering
1b1bca8a63
.
1997-02-18 15:13:12 +00:00
Jim Meyering
11e498679b
.
1997-02-18 15:12:41 +00:00
Jim Meyering
3c97cf0102
libitize
1997-02-04 03:30:49 +00:00
Jim Meyering
a0aa288531
libitize
1997-02-04 03:27:13 +00:00
Jim Meyering
1235c944d2
libitize
1997-02-04 03:26:31 +00:00
Jim Meyering
05ff9c82a6
new obstack from libc
1997-02-04 03:20:29 +00:00
Jim Meyering
1b5a74d1a7
(parse_long_options): Compare getopt_long return
...
value against -1, not EOF. Use NULL, not `(int *) 0' as last parameter
in getopt_long call.
1997-02-03 05:06:27 +00:00
Jim Meyering
e48314ac1b
bracket prototype with PARAMS
1997-01-26 06:23:06 +00:00
Jim Meyering
10f565971b
.
1997-01-26 04:30:49 +00:00
Jim Meyering
01839f9f82
remove trailing blanks
1997-01-25 13:50:24 +00:00
Jim Meyering
e9dc554349
(noinst_HEADERS): Add getdate.h.
1997-01-25 13:38:49 +00:00
Jim Meyering
fb04070061
.
1997-01-25 06:54:19 +00:00
Jim Meyering
0894db7b3f
(XSTRTOL_H): Undefine it.
1997-01-25 06:17:13 +00:00
Jim Meyering
d73bc3ca57
[!_STRTOL_ERROR]: Define the type `enum strtol_error'
...
only if it hasn't already been defined.
1997-01-25 06:15:18 +00:00
Jim Meyering
186d893f27
(__xstrtol): Change interpretation of
...
VALID_SUFFIXES == NULL vs VALID_SUFFIXES == "". Use the former
when any suffix is valid, the later when no suffix is allowed.
1997-01-25 06:13:46 +00:00
Jim Meyering
175fb661e0
(parse_long_options): Reset optind to zero
...
before just returning so that getopt internals get initialized from
the probably-new parameters when/if getopt is called later.
1997-01-25 05:37:15 +00:00
Jim Meyering
2091adbbb1
Update from GNU via Uli
1997-01-23 02:45:02 +00:00
Jim Meyering
ef2b6836fd
revert last change
1997-01-23 02:23:44 +00:00
Jim Meyering
48569d6b98
[strftime]: Add parameters to macro definition. From Drepper.
1997-01-22 23:23:04 +00:00
Jim Meyering
d64cc3c1ef
(_strftime_copytm): New function, to work around Solaris 2.5 tzset bug.
...
From Paul Eggert.
1997-01-22 22:43:15 +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
7eeedf8385
.
1997-01-18 15:46:09 +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
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
4ffe108e39
(_getopt_internal): Use _', rather than the (sometimes-)expansion gettext'.
1997-01-08 22:40:00 +00:00
Jim Meyering
8a752e8696
[_]: Define to gettext also if ENABLE_NLS is defined.
1997-01-08 04:52:00 +00:00
Jim Meyering
b802aa3f55
New (more POSIX compliant) version from GNU libc.
1997-01-08 04:11:29 +00:00
Jim Meyering
2bd16e646e
.
1997-01-03 03:24:22 +00:00
Jim Meyering
ba246b0f36
(EXTRA_DIST): Add getgroups.c.
1997-01-03 03:16:29 +00:00
Jim Meyering
13ff080b78
.
1997-01-02 03:13:49 +00:00
Jim Meyering
8320e65164
Add comment.
...
Rename local, ng to n_groups.
1996-12-27 03:36:53 +00:00
Jim Meyering
9190f77006
.
1996-12-23 05:14:55 +00:00
Jim Meyering
fec6a430da
update from GNU libc
1996-12-21 13:51:26 +00:00