Age | Commit message (Collapse) | Author |
|
|
|
message consistent with all the rest.
|
|
clash with <langinfo.h>. All uses changed.
From Andreas Schwab.
|
|
stat fails) when an output file is specified by `-o' but doesn't exist.
|
|
|
|
|
|
With this change, test 22a passes. Reported by Zvi Har'El.
|
|
|
|
|
|
foil a common denial-of-service attack.
From Paul Eggert.
|
|
Remove the `unsigned' from some `unsigned char*' parameter types.
Add casts via UCHAR where necessary to avoid problems with unwanted
sign extension. Based on a patch from Kaveh Ghazi to appease Irix4's
cc compiler.
e.g.,
> cc -DLOCALEDIR=\"/caip/u3/ghazi/foobar/share/locale\" -DHAVE_CONFIG_H
> -I.. -I../../src -I../../lib -I../intl -c ../../src/sort.c
> accom: Error: ../../src/sort.c, line 500: prototype parameter 1 type
> must have all of the actual arguments qualifiers (except the
> outermost) and pointed-to types must be compatible (ANSI
> 3.3.2.2,3.3.16.1)
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: Argument 1 Type Doesn't
> Match prototype description; prototype: pointer to const char is
> different from actual: pointer to unsigned char
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: prototype parameter 2 type
> must have all of the actual arguments qualifiers (except the
> outermost) and pointed-to types must be compatible (ANSI
> 3.3.2.2,3.3.16.1)
> diff = strcoll (s1, s2);
> ----------------------------^
> accom: Error: ../../src/sort.c, line 500: Argument 2 Type Doesn't
> Match prototype description; prototype: pointer to const char is
> different from actual: pointer to unsigned char
> diff = strcoll (s1, s2);
> ----------------------------^
|
|
for Irix-4.0.5. From Kaveh Ghazi.
|
|
(nls_set_fraction): Likewise.
|
|
Remove definitions of those symbols.
* src/csplit.c: Move inclusion of regex.h/rx.h to follow system.h
since it now includes limit.h which defines RE_DUP_MAX.
* src/nl.c: Likewise.
* src/tac.c: Likewise.
|
|
guarding the nls month-checking code.
(nls_numeric_format): Remove unnecessary (and error-evoking w/SunOS' cc)
`unsigned' from dcls of text and lim.
(main): Cast lconvp->grouping to `unsigned char*' to appease SunOS's cc.
|
|
|
|
|
|
|
|
|
|
We always have alloca.
(keycompare): Don't use variable size arrays (it's a gcc-extension).
Rewrite code that increments new lengths when not `ignoring'.
|
|
|
|
|
|
(xmalloc): Remove function.
(xrealloc): Remove function.
(main): Set xalloc_fail_func to cleanup.
Set xmalloc_exit_failure SORT_FAILURE.
|
|
|
|
|
|
|
|
|
|
(getmonth): Compare the two month names only to the length of the
string in the month table. Patch from Orn Hansen.
(NLS_STRNCMP): New macro.
(strncoll_s2_readonly): New function.
(inittables): Don't use temporary `comp' to hide type of comparator function.
(nls_sort_month_comp): Declare parameters to be void* to match
comparator function type required for qsort.
(getmonth): Use NLS_STRNCMP rather than #ifdef.
Use do-while, rather than while-loop.
|
|
|
|
From from Ørn E. Hansen.
|
|
|
|
(zaptemp): Make parameter `const'.
|
|
(getmonth): Remove ifdef and use NLS_STRCMP instead.
Use HAVE_ALLOCA, not _HAVE_ALLOCA.
|
|
(inittables): Remove assumption that all abbreviated month names have
length 3.
(getmonth): Likewise.
(main): Add #if's for more efficient code when using the GNU C library.
From Ulrich Drepper.
|
|
|
|
Move dcls of S and N into if block.
|
|
|
|
|
|
Clean up formatting.
Add a FIXME.
|
|
(my_setlocale): New function.
(main): Guard against failure of strdup (use xstrdup) and setlocale.
|
|
(look_for_fraction): Eliminate arbitrary limit on
number of `groups'. Declare as void, not int.
Patch from Ørn E. Hansen.
(main): When determining whether we're in the C or POSIX locale,
don't rely on the form of the string returned by setlocale.
Suggestion from Ulrich Drepper.
|
|
fix one func return type
eliminate `* 1'
|
|
Replace with uses of UCHAR.
(nls_locale_map): Remove dcl of unused file-scope array.
|
|
(keycompare): Use it instead of open-coded #ifdefs.
(compare): Likewise.
|
|
|
|
#ifdef ENABLE_NLS th NLS part of insertkey.
|
|
|
|
|
|
|
|
|