1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-05-24 19:26:39 +02:00
Commit Graph

1091 Commits

Author SHA1 Message Date
Jim Meyering 955e21bb83 protoize 1999-01-07 03:43:01 +00:00
Jim Meyering d7d06726a7 . 1999-01-05 04:29:34 +00:00
Jim Meyering 6bff151edc remove strcasecmp.cin 1999-01-04 20:14:26 +00:00
Jim Meyering 7b36cfca74 (argmatch_invalid): Remove double quotes from the
offending quoted argument before using it in explanatory diagnostic.
Use a single fprintf stmt.
1999-01-02 20:35:06 +00:00
Jim Meyering 69834c7c98 (strcasecmp.c strncasecmp.c): Remove rules. 1999-01-02 19:31:19 +00:00
Jim Meyering bfea519d18 . 1999-01-02 19:30:32 +00:00
Jim Meyering 38acb920eb . 1999-01-02 19:28:42 +00:00
Jim Meyering 8b3cbe63d8 (get_version): Adapt to use new interface to XARGMATCH. 1999-01-02 19:28:31 +00:00
Jim Meyering c7c2516a4d (XARGMATCH): Don't return a value; instead, modify a parameter.
Add a `Die_stmt' parameter.
Add parentheses.
1999-01-02 18:33:08 +00:00
Jim Meyering fa7427c2ea (__xargmatch_internal): Remove now-unused function.
(argmatch_to_argument): Add `const' attribute to first parameter.
1999-01-02 18:32:50 +00:00
Jim Meyering f4db32ef36 Add #ifdefs so it can be used for strncasecmp, too. 1999-01-02 15:55:52 +00:00
Jim Meyering b966f347ee *** empty log message *** 1999-01-02 15:55:44 +00:00
Jim Meyering b311b41561 Remove definition of setlocale.
Remove definitions of bindtextdomain and textdomain.
1999-01-02 05:30:07 +00:00
Jim Meyering 0cb6dcf585 Include locale.h and libintl.h, and define `_()'.
Mark translatable strings.
1999-01-02 05:27:32 +00:00
Jim Meyering cb1d4eb4f2 (make_dir): New function, factored out of make_path.
(make_path): Use make_dir rather than open-coding it twice.
This effectively reverses the order of the latter pair of stat/mkdir
calls and fixes a race condition bug whereby one of two concurrent
`mkdir -p' processes could fail with EEXIST.
1999-01-02 05:16:57 +00:00
Jim Meyering 21b87a6ab7 (quoting_style_vals): New public array. 1999-01-01 17:43:10 +00:00
Jim Meyering 975daefaad Add comments.
(xcalloc, xmalloc, xrealloc): Remove prototypes.
(calloc): Remove `#ifdef NOT_USED' that used to hide this function.
1999-01-01 17:40:08 +00:00
Jim Meyering 3b3e52352c Add comments.
(PARAMS, XMALLOC, XCALLOC, XREALLOC): Define.
Based on changes from Akim Demaille.
1999-01-01 17:36:43 +00:00
Jim Meyering aa014b906c remove leading _ from _ARGMATCH_H_ 1999-01-01 17:34:18 +00:00
Jim Meyering 2a5e98c9a4 *** empty log message *** 1999-01-01 07:10:00 +00:00
Jim Meyering dcaa4b656e . 1999-01-01 07:09:08 +00:00
Jim Meyering 5c6d6248e9 . 1999-01-01 07:08:54 +00:00
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