Age | Commit message (Collapse) | Author |
|
Include gettext.h instead of <libintl.h>.
|
|
* closeout.c: Include gettext.h instead of <libintl.h>.
|
|
|
|
|
|
|
|
"#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.
|
|
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.
|
|
|
|
Don't include <sys/types.h>. It's unnecessary.
|
|
|
|
|
|
|
|
(argcasematch): Remove declaration.
(ARGCASEMATCH): Remove macro.
(__xargmatch_internal): Remove case_sensitive argument.
(XARGMATCH): Update.
(XARGCASEMATCH): Remove macro.
|
|
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.
|
|
|
|
required autoconf version.
Include gettext.h instead of <libintl.h>.
(textdomain): Remove definition.
|
|
|
|
|
|
|
|
|
|
use memcpy rather than strcpy.
|
|
|
|
|
|
|
|
|
|
|
|
Include <errno.h> and declare errno if necessary.
|
|
|
|
|
|
When trying to set a high baud rate using stty, it says "invalid
argument". When the high rate is already configured, "stty -a"
returns 0 instead of the true baud rate.
(struct speeds): Add support for all baud rates defined
in linux-2.4.19.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
`(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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Report and suggested fix by Bruno Haible.
|
|
|
|
Report and suggested fix by Bruno Haible.
|
|
|
|
|