Jim Meyering
1206a834dd
rewrite expression (equivalently) at request of Paul Eggert
1999-12-22 20:49:19 +00:00
Jim Meyering
aa07786952
(get_date): Fix typo in time_t overflow test.
...
From Michael Stone.
1999-12-22 11:14:05 +00:00
Jim Meyering
b04f00f3d4
(lstat.c): Adapt rule to handle new parts of xstat.in.
...
(lstat.c): Likewise.
1999-12-19 10:46:19 +00:00
Jim Meyering
036b3bdae7
(slash_aware_lstat): New function.
...
(rpl_@xstat@): Use it.
1999-12-19 10:45:50 +00:00
Jim Meyering
0d9e008da2
.
1999-12-19 10:25:06 +00:00
Jim Meyering
c8d452098b
(make_path): Consistently use error to output
...
the verbose, `created directory ...' messages.
Reported by Bernhard Rosenkraenzer.
1999-12-13 07:30:57 +00:00
Jim Meyering
c6025b9d1e
.
1999-12-10 15:22:55 +00:00
Jim Meyering
0d6c850979
.
1999-11-26 07:31:42 +00:00
Jim Meyering
630d0d3f8d
(DISTCLEANFILES): Add lstat.c and stat.c.
1999-11-22 14:09:58 +00:00
Jim Meyering
24e8e8409d
(strstr): Include config.h.
...
Add a `;' between shloop label and `}'.
1999-11-19 17:02:01 +00:00
Jim Meyering
55fa0c6a12
.
1999-11-13 23:19:08 +00:00
Jim Meyering
07d20c7e44
.
1999-11-11 13:20:24 +00:00
Jim Meyering
cbdf71ab00
(make_path): Fix long-latent bug (note others
...
just like it were fixed in 1998-01-02).
A user (FIXME, who?) reported that using `install -d -g foo 1/2`
only sets the group on the intermediate directory, not the final
component. From Michael Stone.
1999-11-11 11:00:50 +00:00
Jim Meyering
f5225442f8
(XMALLOC): Correct misnamed macro parameter name: s/N_bytes/N_items/.
...
(XCALLOC): Likewise.
(XREALLOC): Likewise.
1999-11-09 20:34:17 +00:00
Jim Meyering
41c5f76c2f
(default_block_size): New function.
...
(humblock): Use it if no block size is specified.
(human_block_size): If the specified block size is zero, report an
error if report_errors is nonzero; otherwise use the default.
1999-11-07 21:06:02 +00:00
Jim Meyering
6b32b53027
Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.
1999-11-05 09:55:24 +00:00
Jim Meyering
67ec190a99
(memcoll): The two arguments cannot be
...
adjacent any more, so remove the alloca/copy workaround for
that case.
1999-11-04 23:13:12 +00:00
Jim Meyering
4b47f20e6a
(readline): Do not leave room for an extra
...
byte after the newline; it's no longer needed.
1999-11-04 23:12:42 +00:00
Jim Meyering
80871da192
(MAINTAINERCLEANFILES): Set to $(BUILT_SOURCES).
1999-11-01 09:53:41 +00:00
Jim Meyering
dab2c2f26f
update a comment from alpha.gnu.org:/home/gd/gnu/lib/getdate.y
1999-10-31 15:49:05 +00:00
Jim Meyering
d45f587081
.
1999-10-31 11:40:06 +00:00
Jim Meyering
02ba1920dd
.
1999-10-23 13:31:09 +00:00
Jim Meyering
17c213ed3f
update from GNU lib C
1999-10-11 12:39:14 +00:00
Jim Meyering
42da57def9
*** empty log message ***
1999-10-11 12:39:09 +00:00
Jim Meyering
eef13be7f9
*** empty log message ***
1999-10-11 12:38:55 +00:00
Jim Meyering
0226382b34
(__attribute__): Define to empty if GCC claims to
...
be before 2.8; this is needed for OPENStep 4.2 cc. Also,
define to empty if strict ANSI.
1999-10-04 06:02:41 +00:00
Jim Meyering
1ca4f162fa
(__attribute__): Define to empty if GCC claims to
...
be before 2.8; this is needed for OPENStep 4.2 cc. Also,
define to empty if strict ANSI.
1999-10-04 05:59:37 +00:00
Jim Meyering
4a03ccc044
(__attribute__): Protect against redefinition.
1999-09-28 15:26:45 +00:00
Jim Meyering
a7047bf647
(error_at_line): Use strerror portably here, too,
...
just as was done in error.
1999-09-28 14:48:43 +00:00
Jim Meyering
057f710a76
(xalloc_die): Rename from xalloc_fail and update callers.
...
Use explicit exit to help avoid warnings.
1999-09-26 19:05:39 +00:00
Jim Meyering
168676d418
small correction from Akim
1999-09-26 19:01:12 +00:00
Jim Meyering
34cc9acdd9
(DIRECTORY_SEPARATOR): Define.
...
(ISSLASH): Define.
(path_concat): Allow parameter DIR to be NULL.
(xpath_concat): New function.
From Akim Demaille.
1999-09-26 18:52:51 +00:00
Jim Meyering
0f97cac340
(__attribute__): Define.
...
(ATTRIBUTE_NORETURN): Define.
(xalloc_fail_func): Add noreturn attribute.
(xalloc_die): Declare.
(NEW): Define as yet unused macro.
(XFREE): Likewise
(CCLONE): Likewise.
(CLONE): Likewise.
From Akim Demaille.
1999-09-26 18:42:56 +00:00
Jim Meyering
6710abd4ae
(base_name): Add prototype. From Akim Demaille.
1999-09-26 18:37:02 +00:00
Jim Meyering
2e5a37a44e
*** empty log message ***
1999-09-19 16:47:58 +00:00
Jim Meyering
8e0c33f8ea
[STAT_MACROS_BROKEN] (S_ISLNK): Undefine.
...
(S_ISLNK): Define if necessary.
This is necessary on a NEC SX-4 with SUPER-UX 9.1.
1999-09-19 16:46:50 +00:00
Jim Meyering
44b1bde148
Remove useless parens in #if directive
1999-09-19 08:09:50 +00:00
Jim Meyering
6c26ef5e0d
(ENOSYS): Don't use ENOMSG; it's not in NeXTStep3.3.
...
Use EINVAL instead.
1999-09-05 06:56:50 +00:00
Jim Meyering
a8d1ef1616
tweak comment
1999-09-04 20:27:03 +00:00
Jim Meyering
81fde1922f
(xalloc_fail_func): Use `PARAMS'.
...
(xstrdup): Add protoype.
1999-09-02 21:23:01 +00:00
Jim Meyering
f2a32f6e5b
(version_etc_copyright): Declare it.
1999-09-01 13:16:46 +00:00
Jim Meyering
8e064c4377
(version_etc_copyright): Default copyright string.
...
(version_etc): Use it.
1999-09-01 13:15:11 +00:00
Jim Meyering
5790705b19
(xalloc_fail_func): Use `PARAMS'.
1999-09-01 13:09:19 +00:00
Jim Meyering
805034d054
.
1999-08-30 14:34:09 +00:00
Jim Meyering
d45400c9a9
(relative_time_table): Change type' of THIS' from
...
tMINUTE_UNIT to tUNUMBER. From Urs Thuermann.
1999-08-29 14:55:24 +00:00
Jim Meyering
6b840273e0
(get_date): Rename latter local `tm' to probe_tm.
1999-08-29 12:55:35 +00:00
Jim Meyering
9f92dfbf90
(get_date): Rename outermost local probe' to quarter'.
1999-08-29 12:28:56 +00:00
Jim Meyering
26656272e8
Add copyright notice.
...
(number): Handle `Nov 11 1996' example; see Risks Digest 20.55
http://catless.ncl.ac.uk/Risks/20.55.html#subj18
(1999-08-27)
(<stdio.h>): Include only if testing.
(ISUPPER): Remove.
(ISLOWER, PC): New macros.
(<string.h>): Include if HAVE_STRING_H, not USG.
(bcopy): Remove.
(yymaxdepth, ..., yycheck): Don't bother to redefine, since we assume
bison.
(EPOCH_YEAR): Renamed from EPOCH.
(table): Renamed from TABLE.
(meridian): Now an anonymous enum.
(struct parser_control): New type.
(YYLEX_PARAM, YYPARSE_PARAM, YYSTYPE): New macros.
(yyInput, ..., yyRelYear): Migrated into struct parser_control.
(%pure_parser): Added, so that the parser is pure.
(%union): Removed; the type is now just plain int.
All %type directives removed.
(tLOCAL_ZONE): New %token.
(month_day_table): Renamed from MonthDayTable.
(gmtime, localtime, mktime, time): Declare only if not defined.
(meridian_table): New table.
(dst_table): New table.
(units_table): renamed from UnitsTable.
(relative_time_table): Renamed from OtherTable.
(time_zone_table): Renamed from TimezoneTable. Modernized data.
(military_table): Renamed from MilitaryTable.
(to_hour): Renamed from ToHour.
(to_year): Renamed from ToYear.
(lookup_zone): New function.
(LookupWord): Renamed from lookup_word.
Use lookup_zone for time zones.
(yylex): Now reentrant. All callers changed.
(get_date): Add support for local time zone abbreviations.
Make it reentrant.
1999-08-29 07:29:51 +00:00
Jim Meyering
086c4578e3
.
1999-08-17 08:00:19 +00:00
Jim Meyering
f99e33733b
.
1999-08-17 07:46:10 +00:00