Jim Meyering
32acfd66d0
(quotearg_n_options): Make options' parameter be const'.
1999-01-01 07:03:16 +00:00
Jim Meyering
dd16dfb3e3
(quotearg_buffer): Cast -1 to size_t before comparing.
...
(quotearg_n): Change type of 1st parameter from int to unsigned int.
(quotearg_n_options): Likewise.
From Akim Demaille.
1999-01-01 07:02:16 +00:00
Jim Meyering
2d4f0fea3a
(humblock): Use ARGMATCH in place of argmatch.
1999-01-01 06:47:04 +00:00
Jim Meyering
46166ad9b7
(get_version): Use XARGCASEMATCH in place of argmatch & co.
1999-01-01 06:43:04 +00:00
Jim Meyering
bf97e5a0b8
.
1998-12-31 23:24:08 +00:00
Jim Meyering
422a7fdc78
(libfu_a_SOURCES): Remove strcasecmp.c.
...
(BUILT_SOURCES): Add strcasecmp.c and strncasecmp.c.
(EXTRA_DIST): Add strcasecmp.cin.
(strcasecmp.c): New rule.
(strncasecmp.c): New rule.
1998-12-31 22:03:13 +00:00
Jim Meyering
2e487bb6da
fix typo
1998-12-31 18:12:40 +00:00
Jim Meyering
c92163b6e9
white space changes
1998-12-31 18:10:53 +00:00
Jim Meyering
8782f7a817
(strncasecmp): Move to a separate file.
...
Add curly braces around some one-stmt-but-multiline blocks.
1998-12-31 18:07:23 +00:00
Jim Meyering
a58c222775
*** empty log message ***
1998-12-31 17:53:59 +00:00
Jim Meyering
44538bbbd8
remove trailing blanks
1998-12-31 16:19:31 +00:00
Jim Meyering
65df533705
lots of changes from Akim Demaille.
1998-12-31 16:18:46 +00:00
Jim Meyering
392902344a
lots of changes from Akim Demaille.
1998-12-31 16:18:13 +00:00
Jim Meyering
bf588140c5
(addext): Protoize.
...
Indent cpp directives to match nesting.
1998-12-31 14:56:20 +00:00
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