Jim Meyering
0f2fbadbea
(posix_time_parse): Change type of index `i' from int to unsigned int.
1998-12-31 14:53:16 +00:00
Jim Meyering
50225cad77
Fix warnings from gcc -W -Wall
...
(__attribute__): Define.
(ATTRIBUTE_UNUSED): Define.
(yyerror): Mark parameter as unused with ATTRIBUTE_UNUSED.
(MonthDayTable): Add initializers for last entry.
(UnitsTable): Likewise.
(OtherTable): Likewise.
(MilitaryTable): Likewise.
1998-12-31 14:37:21 +00:00
Jim Meyering
b5bfb1d399
*** empty log message ***
1998-12-19 17:21:00 +00:00
Jim Meyering
9497429d9b
break long line
1998-12-19 17:20:03 +00:00
Jim Meyering
b80e127286
break long line
1998-12-19 17:19:13 +00:00
Jim Meyering
e53076d42c
split long line
1998-12-19 17:18:23 +00:00
Jim Meyering
01fe7e76f4
.
1998-12-19 13:54:04 +00:00
Jim Meyering
29ab746b79
Don't include stdlib.h and declare malloc and free.
...
This works around Solaris 2.7's conflicting prototype.
Reported by Karl Berry.
1998-12-13 18:04:11 +00:00
Jim Meyering
7cf7f3706f
(EXTRA_DIST): Add xstat.in.
1998-12-13 17:19:51 +00:00
Jim Meyering
1384f07f77
.
1998-12-12 05:48:25 +00:00
Jim Meyering
8ff77278a2
*** empty log message ***
1998-12-12 05:46:44 +00:00
Jim Meyering
8c97b5c46e
(lstat.c): Add rule to generate this from xstat.in.
...
(stat.c): Likewise.
1998-12-12 05:46:02 +00:00
Jim Meyering
4ff6b43025
*** empty log message ***
1998-12-12 05:45:39 +00:00
Jim Meyering
af36c75750
.
1998-12-12 05:45:29 +00:00
Jim Meyering
fd65b86607
(quotearg_buffer): Use 7' as the mask, not 3'.
...
From Bruno Haible.
1998-12-11 14:14:16 +00:00
Jim Meyering
0963c4ba11
.
1998-12-07 06:26:12 +00:00
Jim Meyering
b4640ed990
(dir_name): Rename from dirname.
...
Make argument `const'. Include "dirname.h"
1998-12-07 06:25:54 +00:00
Jim Meyering
1698d53f72
(noinst_HEADERS): Add dirname.h.
1998-12-07 06:25:29 +00:00
Jim Meyering
5ae5d486a9
.
1998-12-07 06:24:28 +00:00
Jim Meyering
b7e610bfdb
(rpmatch) [!ENABLE_NLS]: Hard-code tests to use ^[yY]' and ^[nN]'.
...
From Karl Heuer.
1998-12-07 05:14:07 +00:00
Jim Meyering
7d60769bea
ansideclify
1998-12-07 03:12:10 +00:00
Jim Meyering
2ec7385fb0
Redefine putenv before including stdlib.h to work
...
around Solaris 2.7's conflicting prototype. Reported by Karl Berry.
1998-12-06 22:18:17 +00:00
Jim Meyering
e77961586a
(error): Don't use strerror_r's return value.
1998-11-15 17:35:34 +00:00
Jim Meyering
df521a1b29
revert-to-4.0-b7
1998-11-14 13:17:34 +00:00
Jim Meyering
84c2d0e52e
revert-last-change
1998-11-14 13:13:10 +00:00
Jim Meyering
6c0c08eb29
back out last change: there is a better way
1998-11-11 05:16:09 +00:00
Jim Meyering
7de9edecfc
(BACKUPFILE_EXIT_FAILURE): Define.
...
(get_version): Use it in place of EXIT_FAILURE.
1998-11-11 05:01:26 +00:00
Jim Meyering
9e3f43b368
[EXIT_FAILURE]: Define.
...
(get_version): Use EXIT_FAILURE as exit status rather than
hard-coding `2'. From Fran?ois Pinard.
1998-11-10 05:57:56 +00:00
Jim Meyering
c091e6fe83
[lstat]: Remove #undef.
...
(rpl_lstat): Protoize. Use ENOENT, not EINVAL, to be consistent
with lib/stat.c.
1998-11-08 03:40:04 +00:00
Jim Meyering
dc61111cc6
(rpl_stat): Protoize.
...
(stat): Remove #undef.
1998-11-08 03:39:42 +00:00
Jim Meyering
4fb556ee0e
Don't invoke localtime_r or gmtime_r unless it's the GNU C
...
library's localtime_r and gmtime_r; there are too many buggy
implementations of localtime_r and gmtime_r out there, and
it's not worth keeping track of all the different bugs.
* strftime.c (__EXTENSIONS__): Remove.
(my_strftime_gmtime_r): Renamed from gmtime_r; all uses changed.
(my_strftime_localtime_r): Renamed from localtime_r; all uses changed.
Base them on localtime/gmtime if not _LIBC.
1998-10-18 14:09:48 +00:00
Jim Meyering
c850393032
Don't invoke localtime_r or gmtime_r unless it's the GNU C
...
library's localtime_r and gmtime_r; there are too many buggy
implementations of localtime_r and gmtime_r out there, and
it's not worth keeping track of all the different bugs.
* mktime.c (__EXTENSIONS__, HAVE_LOCALTIME_R): Remove.
(my_mktime_localtime_r): Renamed from localtime_r; all uses changed.
Base it on localtime unless _LIBC.
1998-10-18 14:08:35 +00:00
Jim Meyering
a71cb7cad1
Declare localtime_r if necessary.
1998-10-18 01:11:35 +00:00
Jim Meyering
e2d1b297e7
Declare localtime_r if necessary.
1998-10-18 01:10:21 +00:00
Jim Meyering
2e29b32116
Some systems require <unistd.h> to be included before <time.h> for
...
localtime_r to be declared properly.
1998-10-17 12:39:30 +00:00
Jim Meyering
761ed79f4d
(_REENTRANT): Define again -- linux-2.0.33 needs it.
1998-10-12 02:00:59 +00:00
Jim Meyering
061a10d1ff
(__mktime_internal): When the requested time falls
...
in a spring-forward gap of size DT, return a time that is DT
away from the requested time, preferring a time whose tm_isdst
differs from the requested value. Bump the max number of
probes from 4 to 6 to account for the extra probes needed to
discover a spring-forward gap in the worst case.
1998-10-11 23:03:41 +00:00
Jim Meyering
37c289ea31
(my_mktime_localtime_r): Renamed from localtime_r.
...
Define also if HAVE_LOCALTIME_R && defined (localtime_r), with
a body that merely expands localtime_r; this works around a
bug in Digital Unix 4.0A and 4.0D.
1998-10-08 12:19:48 +00:00
Jim Meyering
af988b5428
.
1998-10-03 04:43:55 +00:00
Jim Meyering
2e4ebbf522
*** empty log message ***
1998-10-02 14:31:24 +00:00
Jim Meyering
84fd56fe2a
*** empty log message ***
1998-10-02 14:31:11 +00:00
Jim Meyering
0bb1cba1bc
.
1998-09-29 03:12:27 +00:00
Jim Meyering
2b53ea5791
Protect against multiple inclusion.
...
From Akim Demaille.
1998-09-27 17:44:49 +00:00
Jim Meyering
fbb1fb519f
(my_strftime): Update from FSF.
1998-09-27 12:45:33 +00:00
Jim Meyering
72f8c0a17c
(__xstrtol) [STRING_TO_UNSIGNED]: Return
...
LONGINT_INVALID for strings that begin with `-'.
1998-09-26 19:11:23 +00:00
Jim Meyering
7c43d59107
Fix post-protoization typo.
1998-09-19 13:11:23 +00:00
Jim Meyering
19ff66c384
(PARAMS): Define and use.
...
From Kaveh Ghazi.
1998-09-17 13:48:20 +00:00
Jim Meyering
ea44cc33ca
(oatoi): declare arg to be const
1998-09-09 15:39:13 +00:00
Jim Meyering
4db847ce3c
Protoize.
1998-09-09 14:21:16 +00:00
Jim Meyering
9096ee8e42
.
1998-09-07 17:03:50 +00:00