Jim Meyering
3eb2a22131
Include unlocked-io.h.
2001-11-17 13:29:42 +00:00
Jim Meyering
b729ec75ca
(argmatch_invalid): Use quotearg_n_style (0, ...
...
and quote_n (1, ... to avoid clobbering a buffer.
2001-10-11 15:52:17 +00:00
Jim Meyering
908a517100
Include "quote.h".
...
(argmatch_invalid): Remove explicit `' quotes. Instead, use the
quote function. Reported by Göran Uddeborg.
2001-05-24 06:12:00 +00:00
Jim Meyering
51b6b653a2
back out Copyright date changes for files with no changes year
2000-08-07 15:48:18 +00:00
Jim Meyering
fde850f7ad
update copyright date
2000-07-09 07:22:43 +00:00
Jim Meyering
843d60096e
(ARGMATCH_QUOTING_STYLE):
...
Change from escape_quoting_style to locale_quoting_style.
(argmatch_invalid): Use new quotearg_style primitive for simplicity.
Also, use ARGMATCH_QUOTING_STYLE to quote, instead of quoting ourselves.
1999-08-10 11:00:12 +00:00
Jim Meyering
2b9e4c6914
(program_name): Remove dcl.
...
Include error.h.
(argmatch_invalid): Use error rather than fprintf.
1999-01-25 14:08:04 +00:00
Jim Meyering
7316f85aaa
(ARGMATCH_DIE_DECL): Use it.
1999-01-16 17:18:01 +00:00
Jim Meyering
c94e186b91
s/argmatch_exit_failure/argmatch_die/
1999-01-16 15:21:52 +00:00
Jim Meyering
e42efa6866
(EXIT_FAILURE): Define.
...
(ARGMATCH_DIE): Use it.
1999-01-16 15:17:48 +00:00
Jim Meyering
f22e54a579
(ARGMATCH_DIE): Provide default.
...
(__xargmatch_internal): New function.
s/rogram_name/program_name.
From Akim Demaille.
1999-01-16 15:06:41 +00:00
Jim Meyering
db0dadb263
(ARGMATCH_QUOTING_STYLE): Change from c_quoting_style to escape_quoting_style.
...
(argmatch_invalid): Now that the quoted quantity is no longer double
quoted, remove the code that removed leading and trailing double quotes.
1999-01-11 03:10:19 +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
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
b311b41561
Remove definition of setlocale.
...
Remove definitions of bindtextdomain and textdomain.
1999-01-02 05:30:07 +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
44538bbbd8
remove trailing blanks
1998-12-31 16:19:31 +00:00
Jim Meyering
392902344a
lots of changes from Akim Demaille.
1998-12-31 16:18:13 +00:00
Jim Meyering
f7d4fc0e38
(invalid_arg): Use a single fprintf and whole
...
format statements to ease translation.
Convert from K&R to ANSI function dcls.
1997-12-29 12:02:43 +00:00
Jim Meyering
168eb7758e
Update from FSF via patch-2.2.93.
1997-05-27 09:39:25 +00:00
Jim Meyering
59b9296742
.
1996-09-28 18:09:13 +00:00
Jim Meyering
e8b07e3796
update FSF address in copyright
1996-07-15 03:36:16 +00:00
Jim Meyering
8cff7ef2b9
(argmatch): Add const attribute to parameters.
...
(invalid_arg): Add const attribute to parameters.
1995-12-22 05:17:31 +00:00
Jim Meyering
e5be6fdf8a
(argmatch): Include sys/types.h and declare length argument with type size_t.
1995-05-13 12:55:49 +00:00
Jim Meyering
14fd34b788
Initial revision
1992-10-31 20:42:48 +00:00