summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-05-22.Jim Meyering
1999-05-22.Jim Meyering
1999-05-22*** empty log message ***Jim Meyering
1999-05-22(strtod): Declare if STDC_HEADERS is not defined.Jim Meyering
(general_numcompare): Use strtod, not xstrtod. Do not consider partial conversions to be errors. Put -infinity at the start, and +infinity at the end; follow +infinity with NaNs (sorted by bit pattern), and finally by conversion errors.
1999-05-22(use-nl): New test from Paul Eggert.Jim Meyering
1999-05-22tweak commentJim Meyering
1999-05-22(11d): Reverse lines in expected output to reflect latest change.Jim Meyering
1999-05-21remove trailing newlineJim Meyering
1999-05-21*** empty log message ***Jim Meyering
1999-05-21Treat the trailing newline as part of the line, as required by POSIX.2.Jim Meyering
(struct line, findlines, compare, checkfp, mergefps, sort): A line now includes its trailing newline. (findlines): Do not replace newline with NUL. (memcoll, keycompare): Work even if the data to be compared are adjacent strings; this is possible now that lines contain the trailing newline. (fillbuf): Always have an unused byte at the end of the buffer, since memcoll and keycompare want to modify a byte after the last line. (sortalloc, mergealloc): Increase by 1, for trailing byte.
1999-05-21*** empty log message ***Jim Meyering
1999-05-20.Jim Meyering
1999-05-20[AC_SEARCH_LIBS]: Quote name in undefine.Jim Meyering
Add a colon after each `then' in case $4 is empty.
1999-05-20.Jim Meyering
1999-05-20.Jim Meyering
1999-05-20*** empty log message ***Jim Meyering
1999-05-20Add test case from Paul Eggert.Jim Meyering
1999-05-20*** empty log message ***Jim Meyering
1999-05-20(keycompare): Ignore any length difference if theJim Meyering
localized comparison says the strings are equal.
1999-05-20(memcoll, keycompare, compare): Handle NULJim Meyering
characters properly when comparing with LC_COLLATE semantics. (NLS_MEMCMP): Remove. (memcoll): Renamed from strncoll. Take separate lengths for each string. This function is now invoked only when need_locale. (keycompare): Don't copy strings when ignore and translate are both NULL.
1999-05-20(MONTHTAB_CONST): Renamed from NLS_CONST; the useJim Meyering
is also changed. Define to const also if !HAVE_NL_LANGINFO. (usage): `,' -> `;' (English typo).
1999-05-20add the comment to go with last changeJim Meyering
1999-05-20(get_date): Let mktime deduce tm_isdst if weJim Meyering
have an absolute timestamp, or if the relative timestamp mentions days, months, or years.
1999-05-19.Jim Meyering
1999-05-18(main): When stdout is in binary mode, make sure allJim Meyering
input files are also read in binary mode.
1999-05-17*** empty log message ***Jim Meyering
1999-05-17*** empty log message ***Jim Meyering
1999-05-17(human_readable): Allow from_block_size to be zero.Jim Meyering
1999-05-16.Jim Meyering
1999-05-16.Jim Meyering
1999-05-16*** empty log message ***Jim Meyering
1999-05-16.Jim Meyering
1999-05-16*** empty log message ***Jim Meyering
1999-05-16*** empty log message ***Jim Meyering
1999-05-16Don't autodetect the locale of numbers andJim Meyering
months, as this conflicts with POSIX.2 and is tricky to boot. (FLOATING_COMMA, NLS_STRNCMP, NLS_MAX_GROUPS, NLS_ONE_CHARACTER_STRING): Remove macros no longer used. (nls_grouping, nls_fraction_found, nls_month_found, nos_monthtab, nls_months_collide, nls_keyhead, us_monthtab): Remove variables no longer used. (struct nls_keyfield): Remove types no longer used. (strncoll_s2_readonly, nls_set_fraction, look_for_fraction, nls_month_is_either_locale, nls_numeric_format): Remove functions no longer used. (monthtab): Now has the role that us_monthtab had, but it's const only if ENABLE_NLS is not defined. (C_DECIMAL_POINT): Renamed from FLOATING_POINT. All uses changed. (MONTHS_PER_YEAR): Renamed from NLS_NUM_MONTHS. All uses changed. (struct_month_cmp): Renamed from nls_sort_month_comp. All uses changed. Use strcmp, not strcoll, since the user doesn't care about collating here. (inittables): Read locale data into monthtab, rather than modifying a separate month table and futzing with indirection. Do not worry about colliding months, since we no longer autodetect month locale. (fraccompare): Don't set no-longer-used variable nls_fraction_found. (getmonth): Use strncmp to compare months, since user doesn't care about collating here. Fix bug where code incorrectly assumed that strlen (monthtab[lo].name) == strlen (monthtab[ix].name). (keycompare, main): Don't autodetect month locale. (compare): Don't use NLS_MEMCP in code that can't be executed if need_locale is false, as NLS_MEMCP is equivalent to memcmp in that case. (sort, insertkey, main): Don't autodetect numeric locale.
1999-05-16*** empty log message ***Jim Meyering
1999-05-16*** empty log message ***Jim Meyering
1999-05-16.Jim Meyering
1999-05-16New file to override autoconf's AC_SEARCH_LIBS.Jim Meyering
1999-05-15.Jim Meyering
1999-05-15.Jim Meyering
1999-05-15(usage): Whoops.Jim Meyering
1999-05-15*** empty log message ***Jim Meyering
1999-05-15.Jim Meyering
1999-05-15(trailing-sp): New test for this fix.Jim Meyering
1999-05-15(xfields): Don't interpret a trailing blank as aJim Meyering
delimiter when e.g. -t: was specified. From Tim Smithers.
1999-05-15(getugroups): Don't dereference a null pointer whenJim Meyering
running `id USER' for some USER that is listed on the RHS in /etc/group. From Sander van Malssen. Add some curly braces, use STREQ, reverse the sense of a test and use `continue' to save a level of nesting.
1999-05-15*** empty log message ***Jim Meyering
1999-05-15*** empty log message ***Jim Meyering
1999-05-15(open_maybe_create): Handle Solaris' failure mode whenJim Meyering
FILE is a directory. Reported by Vin Shelton.