Jim Meyering
d604ec9937
Merge in changes from libc.
...
[_LIBC]: Include <libio/libioP.h>.
[USE_IN_LIBIO]: Include <libio/iolibio.h>
(fflush): Tweak definition to use INTUSE.
(putc): Define.
2002-11-28 09:09:29 +00:00
Jim Meyering
4d314289c3
Remove 2002 from copyright line,
...
to sync with gnulib.
2002-11-24 10:01:15 +00:00
Jim Meyering
8442061b30
*** empty log message ***
2002-11-23 15:44:59 +00:00
Jim Meyering
f10340e27b
Include gettext.h instead of <libintl.h>.
2002-11-23 15:44:51 +00:00
Jim Meyering
d6fac2ac6c
*** empty log message ***
2002-11-23 15:44:07 +00:00
Jim Meyering
a14ac3568f
Include gettext.h instead of <libintl.h>.
2002-11-23 15:44:01 +00:00
Jim Meyering
42cd3beba9
*** empty log message ***
2002-11-23 15:43:16 +00:00
Jim Meyering
5bd75e7682
Include gettext.h instead of <libintl.h>.
2002-11-23 15:43:13 +00:00
Jim Meyering
4372bf5619
Update from gnulib.
2002-11-23 15:42:11 +00:00
Jim Meyering
01ff25beb7
*** empty log message ***
2002-11-23 15:42:04 +00:00
Jim Meyering
4cab2486a5
*** empty log message ***
2002-11-23 15:40:44 +00:00
Jim Meyering
70212bf28b
Include gettext.h instead of <libintl.h>.
2002-11-23 15:40:40 +00:00
Jim Meyering
cc7aeee22c
*** empty log message ***
2002-11-23 15:38:47 +00:00
Jim Meyering
83415a7c5f
Include gettext.h instead of <libintl.h>.
2002-11-23 15:38:42 +00:00
Jim Meyering
ac63441825
*** empty log message ***
2002-11-23 15:05:52 +00:00
Jim Meyering
ebd76c09f4
From gnulib, by Bruno Haible
...
Include gettext.h instead of <libintl.h>.
2002-11-23 15:05:32 +00:00
Jim Meyering
f1b9a8744c
From gnulib, by Bruno Haible
...
* closeout.c: Include gettext.h instead of <libintl.h>.
2002-11-23 15:03:40 +00:00
Jim Meyering
98e5192525
.
2002-11-23 15:00:17 +00:00
Jim Meyering
ba986c2928
Update from gnulib.
2002-11-23 14:59:39 +00:00
Jim Meyering
34c25ed945
*** empty log message ***
2002-11-23 07:10:25 +00:00
Jim Meyering
08228013af
Allow multiple inclusion by surrounding with
...
"#ifndef QUOTEARG_H_". Include <stddef.h>, for size_t,
so that we can be included first.
(PARAMS): Remove; we now assume C89 or later. All uses removed.
2002-11-23 07:10:19 +00:00
Jim Meyering
a328e26342
Include quotearg.h immediately after config.h.
...
No need to include stddef.h or sys/types.h any more.
Surround local include files with "", not "<>".
Assume HAVE_LIMITS_H unconditionally, as we assume C89.
Similarly, assume HAVE_C_BACKSLASH_A, CHAR_BIT, UCHAR_MAX, UINT_MAX,
HAVE_STDLIB_H, HAVE_STRING_H, STDC_HEADERS.
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
(ISPRINT): Remove; no longer needed now that we assume C89.
(clone_quoting_options, quotearg_buffer, quotearg_n_options):
Preserve errno.
(quotearg_buffer_restyled, quotearg_n, quotearg_n_style,
quotearg_char): Use SIZE_MAX rather than
(size_t) -1 when we are talking about "infinity".
(quotearg_buffer_restyled): Fix bug when quoting trigraphs.
2002-11-23 07:08:50 +00:00
Jim Meyering
38ba9564d1
*** empty log message ***
2002-11-22 13:23:55 +00:00
Jim Meyering
17bbb9bcb1
From gnulib:
...
Don't include <sys/types.h>. It's unnecessary.
2002-11-22 13:23:52 +00:00
Jim Meyering
d81d040dea
fix typo in comment
2002-11-22 11:13:32 +00:00
Jim Meyering
8aa90d8488
*** empty log message ***
2002-11-22 11:07:31 +00:00
Jim Meyering
d60ce1ccab
*** empty log message ***
2002-11-22 11:04:05 +00:00
Jim Meyering
3858ed5bad
Remove case insensitive option matching.
...
(argcasematch): Remove declaration.
(ARGCASEMATCH): Remove macro.
(__xargmatch_internal): Remove case_sensitive argument.
(XARGMATCH): Update.
(XARGCASEMATCH): Remove macro.
2002-11-22 11:04:01 +00:00
Jim Meyering
13fb4290db
Include gettext.h instead of <locale.h> and <libintl.h>.
...
Remove case insensitive option matching.
(argmatch): Renamed from __argmatch_internal. Remove
case_sensitive argument.
(argcasematch): Remove function.
(__xargmatch_internal): Remove case_sensitive argument.
(main): Use XARGMATCH instead of XARGCASEMATCH.
2002-11-22 11:03:26 +00:00
Jim Meyering
4c9c50bf72
*** empty log message ***
2002-11-22 10:28:50 +00:00
Jim Meyering
70641e502d
Change compile-time error message. Add comment about
...
required autoconf version.
Include gettext.h instead of <libintl.h>.
(textdomain): Remove definition.
2002-11-22 10:28:44 +00:00
Jim Meyering
d09524c338
*** empty log message ***
2002-11-21 13:31:07 +00:00
Jim Meyering
cae292f583
(strdup): Merge in changes from gnulib; mainly to
...
use memcpy rather than strcpy.
2002-11-21 13:31:03 +00:00
Jim Meyering
1a1ce790d8
*** empty log message ***
2002-11-21 13:25:31 +00:00
Jim Meyering
c8a8d77816
Update from gnulib.
2002-11-21 13:25:22 +00:00
Jim Meyering
944a426ade
*** empty log message ***
2002-11-21 13:18:07 +00:00
Jim Meyering
44ad4f8ed4
(str2signum): Use unsigned, not size_t.
2002-11-21 13:17:47 +00:00
Jim Meyering
b38b96b80c
*** empty log message ***
2002-11-21 13:16:49 +00:00
Jim Meyering
8281103ea4
Use "'s when including quotearg.h and xalloc.h, not the <...>' notation.
...
Include <errno.h> and declare errno if necessary.
2002-11-21 13:16:04 +00:00
Jim Meyering
dcb7d1cee9
*** empty log message ***
2002-11-21 10:22:10 +00:00
Jim Meyering
cb83b79ab2
*** empty log message ***
2002-11-21 10:21:01 +00:00
Jim Meyering
91d98d2baf
update copyright date
2002-11-21 09:39:58 +00:00
Jim Meyering
96a2f00434
*** empty log message ***
2002-11-21 09:36:25 +00:00
Jim Meyering
aca318c51e
Merge argmatch cleanups from Bison. Assume C89.
...
Do not include <config.h> or <sys/types.h>.
Include <stddef.h> instead, since it's all we need for size_t.
(PARAMS): Remove. All uses removed.
(ARRAY_CARDINALITY): Do not bother to #undef.
(ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Remove unnecessary parentheses.
(ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Insert necessary parentheses.
(ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
(ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.
2002-11-21 09:35:51 +00:00
Jim Meyering
3aed4c5505
Merge argmatch cleanups from Bison. Assume C89.
...
Include config.h here, not in argmatch.h.
Include stdlib.h, for EXIT_FAILURE.
Always include <string.h>, since we assume C89.
(EXIT_FAILURE): Remove pre-C89 bug workaround.
2002-11-21 09:24:43 +00:00
Jim Meyering
501358c106
*** empty log message ***
2002-11-21 08:48:08 +00:00
Jim Meyering
449872c53a
(quotearg_buffer_restyled): If mbrtowc returns
...
`(size_t) -1' (at which point it would also set errno to EILSEQ),
then restore errno to its previous value.
Reported by Phillip Jones via Tim Waugh as
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76334 .
2002-11-21 08:47:44 +00:00
Jim Meyering
9e96a0b09c
sort
2002-11-21 08:46:39 +00:00
Jim Meyering
c411cd6b01
*** empty log message ***
2002-11-21 08:45:10 +00:00
Jim Meyering
57263e2a95
Update from gnulib.
2002-11-21 08:45:05 +00:00