Jim Meyering [Sun, 4 Jul 1999 09:51:09 +0000 (09:51 +0000)]
*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 09:46:14 +0000 (09:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 09:46:07 +0000 (09:46 +0000)]
New test case for Paul's 1999-06-03 fix.
Jim Meyering [Sun, 4 Jul 1999 09:40:46 +0000 (09:40 +0000)]
(xfields): Only <blank>s separate fields, not <space>s.
Jim Meyering [Sun, 4 Jul 1999 09:37:57 +0000 (09:37 +0000)]
.
Jim Meyering [Sun, 4 Jul 1999 09:05:08 +0000 (09:05 +0000)]
Use lower case characters in sc{} context.
Reported by Eli Zaretskii.
Jim Meyering [Sun, 4 Jul 1999 08:48:02 +0000 (08:48 +0000)]
*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 08:47:49 +0000 (08:47 +0000)]
(enum human_inexact_style): New enum.
(human_readable_inexact): New decl.
Jim Meyering [Sun, 4 Jul 1999 08:47:28 +0000 (08:47 +0000)]
(human_readable): New function.
(human_readable_inexact): Renamed from human_readable, with new arg
INEXACT_STYLE. Add support for ceiling and floor.
Jim Meyering [Sun, 4 Jul 1999 08:47:08 +0000 (08:47 +0000)]
(print_header): Conform to POSIX if posix_format).
(df_readable): Take ceiling if posix_format.
(ceil_percent): New function.
(show_dev): Take ceiling of percent if posix_format.
Align with POSIX-conforming header if posix_format.
Jim Meyering [Sun, 4 Jul 1999 08:35:05 +0000 (08:35 +0000)]
*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 08:34:31 +0000 (08:34 +0000)]
(__strtol): Remove decl; it doesn't work if __strtol
expands to a macro, which occurs in HP-UX 10.20 with strtoumax.
(strtol, strtoul): New decls (for pre-ANSI hosts), to replace
the above decl.
Jim Meyering [Thu, 27 May 1999 13:08:29 +0000 (13:08 +0000)]
.
Jim Meyering [Thu, 27 May 1999 13:08:19 +0000 (13:08 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 May 1999 16:43:57 +0000 (16:43 +0000)]
Fix non-portable use of `tr' that caused this test
to fail when run with a SysV-style tr. Based on a patch from Kaveh Ghazi.
Jim Meyering [Tue, 25 May 1999 16:38:19 +0000 (16:38 +0000)]
(Squeezing): Remove misleading square brackets
from SET1 in the one-word-per-line example.
Jim Meyering [Sun, 23 May 1999 23:23:55 +0000 (23:23 +0000)]
(copy_internal): Don't apply the umask in move_mode.
Otherwise, `mv' would not preserve the permissions when copying
between partitions. Reported by David Godfrey
Jim Meyering [Sun, 23 May 1999 23:07:26 +0000 (23:07 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 21:06:36 +0000 (21:06 +0000)]
.
Jim Meyering [Sun, 23 May 1999 20:46:23 +0000 (20:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 20:45:34 +0000 (20:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 20:44:48 +0000 (20:44 +0000)]
.
Jim Meyering [Sun, 23 May 1999 20:43:11 +0000 (20:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 20:42:25 +0000 (20:42 +0000)]
Correct erroneous expected output from the `cp -f foo foo' tests.
Jim Meyering [Sun, 23 May 1999 20:40:59 +0000 (20:40 +0000)]
(libfu_a_SOURCES): Add same.c.
(noinst_HEADERS): Add same.h.
Jim Meyering [Sun, 23 May 1999 20:37:16 +0000 (20:37 +0000)]
Remove today's earlier misguided attempts.
Add a single condition to the existing sameness test.
Jim Meyering [Sun, 23 May 1999 19:45:33 +0000 (19:45 +0000)]
Include same.h.
(copy_internal): Qualify SAME_INODE test with (link-count == 1
|| same_name(...)).
Jim Meyering [Sun, 23 May 1999 19:43:10 +0000 (19:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 19:42:59 +0000 (19:42 +0000)]
New file (function extracted from ln.c).
Jim Meyering [Sun, 23 May 1999 19:41:19 +0000 (19:41 +0000)]
(same_name): Remove function.
<same.h>: Include this instead.
<dirname.h>: No longer include this.
Jim Meyering [Sun, 23 May 1999 19:38:53 +0000 (19:38 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 19:27:36 +0000 (19:27 +0000)]
white-space tweak
Jim Meyering [Sun, 23 May 1999 19:27:07 +0000 (19:27 +0000)]
white-space tweak
Jim Meyering [Sun, 23 May 1999 14:52:32 +0000 (14:52 +0000)]
(copy_internal): Make it so `mv -f FILE FILE' does not remove FILE.
Based on a patch from Chris Yeo.
Jim Meyering [Sun, 23 May 1999 14:49:14 +0000 (14:49 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 13:36:37 +0000 (13:36 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 13:36:14 +0000 (13:36 +0000)]
(TESTS): Add force.
(TESTS_ENVIRONMENT): Change PATH to be absolute.
Jim Meyering [Sun, 23 May 1999 04:19:10 +0000 (04:19 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 04:01:55 +0000 (04:01 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 03:59:08 +0000 (03:59 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 22:10:34 +0000 (22:10 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 22:02:54 +0000 (22:02 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 22:02:00 +0000 (22:02 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 22:00:42 +0000 (22:00 +0000)]
(AC_REPLACE_FUNCS): Add memchr.
Jim Meyering [Sat, 22 May 1999 16:56:40 +0000 (16:56 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 12:53:07 +0000 (12:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 12:52:41 +0000 (12:52 +0000)]
Document locale-specific changes to `sort',
as well as the new, POSIX-compliant definition of line comparison,
and -g's more careful treatment of NaNs, infinities and zeros.
Jim Meyering [Sat, 22 May 1999 12:52:14 +0000 (12:52 +0000)]
(general_numcompare): Put exceptional cases
first, not last, to be consistent with -M.
Jim Meyering [Sat, 22 May 1999 04:30:36 +0000 (04:30 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 04:29:30 +0000 (04:29 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 04:24:10 +0000 (04:24 +0000)]
.
Jim Meyering [Sat, 22 May 1999 02:53:08 +0000 (02:53 +0000)]
.
Jim Meyering [Sat, 22 May 1999 02:48:22 +0000 (02:48 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 02:47:45 +0000 (02:47 +0000)]
(strtod): Declare if STDC_HEADERS is not defined.
(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.
Jim Meyering [Sat, 22 May 1999 02:41:39 +0000 (02:41 +0000)]
(use-nl): New test from Paul Eggert.
Jim Meyering [Sat, 22 May 1999 02:37:47 +0000 (02:37 +0000)]
tweak comment
Jim Meyering [Sat, 22 May 1999 02:37:10 +0000 (02:37 +0000)]
(11d): Reverse lines in expected output to reflect latest change.
Jim Meyering [Fri, 21 May 1999 20:47:18 +0000 (20:47 +0000)]
remove trailing newline
Jim Meyering [Fri, 21 May 1999 20:24:39 +0000 (20:24 +0000)]
*** empty log message ***
Jim Meyering [Fri, 21 May 1999 20:24:19 +0000 (20:24 +0000)]
Treat the trailing newline as part of the line, as required by POSIX.2.
(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.
Jim Meyering [Fri, 21 May 1999 19:53:05 +0000 (19:53 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 May 1999 20:12:17 +0000 (20:12 +0000)]
.
Jim Meyering [Thu, 20 May 1999 20:12:12 +0000 (20:12 +0000)]
[AC_SEARCH_LIBS]: Quote name in undefine.
Add a colon after each `then' in case $4 is empty.
Jim Meyering [Thu, 20 May 1999 20:10:17 +0000 (20:10 +0000)]
.
Jim Meyering [Thu, 20 May 1999 16:51:40 +0000 (16:51 +0000)]
.
Jim Meyering [Thu, 20 May 1999 16:51:29 +0000 (16:51 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 May 1999 16:48:56 +0000 (16:48 +0000)]
Add test case from Paul Eggert.
Jim Meyering [Thu, 20 May 1999 16:29:51 +0000 (16:29 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 May 1999 16:29:38 +0000 (16:29 +0000)]
(keycompare): Ignore any length difference if the
localized comparison says the strings are equal.
Jim Meyering [Thu, 20 May 1999 16:09:12 +0000 (16:09 +0000)]
(memcoll, keycompare, compare): Handle NUL
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.
Jim Meyering [Thu, 20 May 1999 03:52:15 +0000 (03:52 +0000)]
(MONTHTAB_CONST): Renamed from NLS_CONST; the use
is also changed. Define to const also if !HAVE_NL_LANGINFO.
(usage): `,' -> `;' (English typo).
Jim Meyering [Thu, 20 May 1999 03:49:25 +0000 (03:49 +0000)]
add the comment to go with last change
Jim Meyering [Thu, 20 May 1999 03:47:24 +0000 (03:47 +0000)]
(get_date): Let mktime deduce tm_isdst if we
have an absolute timestamp, or if the relative timestamp
mentions days, months, or years.
Jim Meyering [Wed, 19 May 1999 14:31:53 +0000 (14:31 +0000)]
.
Jim Meyering [Tue, 18 May 1999 14:13:33 +0000 (14:13 +0000)]
(main): When stdout is in binary mode, make sure all
input files are also read in binary mode.
Jim Meyering [Mon, 17 May 1999 13:10:53 +0000 (13:10 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 May 1999 13:10:31 +0000 (13:10 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 May 1999 13:03:46 +0000 (13:03 +0000)]
(human_readable): Allow from_block_size to be zero.
Jim Meyering [Sun, 16 May 1999 19:13:59 +0000 (19:13 +0000)]
.
Jim Meyering [Sun, 16 May 1999 19:11:16 +0000 (19:11 +0000)]
.
Jim Meyering [Sun, 16 May 1999 19:09:25 +0000 (19:09 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 May 1999 16:54:01 +0000 (16:54 +0000)]
.
Jim Meyering [Sun, 16 May 1999 16:53:02 +0000 (16:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 May 1999 16:43:22 +0000 (16:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 May 1999 16:18:46 +0000 (16:18 +0000)]
Don't autodetect the locale of numbers and
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.
Jim Meyering [Sun, 16 May 1999 15:50:56 +0000 (15:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 May 1999 15:50:04 +0000 (15:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 May 1999 15:48:43 +0000 (15:48 +0000)]
.
Jim Meyering [Sun, 16 May 1999 15:48:11 +0000 (15:48 +0000)]
New file to override autoconf's AC_SEARCH_LIBS.
Jim Meyering [Sat, 15 May 1999 06:13:00 +0000 (06:13 +0000)]
.
Jim Meyering [Sat, 15 May 1999 05:46:45 +0000 (05:46 +0000)]
.
Jim Meyering [Sat, 15 May 1999 05:46:12 +0000 (05:46 +0000)]
(usage): Whoops.
Jim Meyering [Sat, 15 May 1999 05:42:55 +0000 (05:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 May 1999 05:30:51 +0000 (05:30 +0000)]
.
Jim Meyering [Sat, 15 May 1999 05:28:51 +0000 (05:28 +0000)]
(trailing-sp): New test for this fix.
Jim Meyering [Sat, 15 May 1999 05:28:16 +0000 (05:28 +0000)]
(xfields): Don't interpret a trailing blank as a
delimiter when e.g. -t: was specified. From Tim Smithers.
Jim Meyering [Sat, 15 May 1999 04:50:26 +0000 (04:50 +0000)]
(getugroups): Don't dereference a null pointer when
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.
Jim Meyering [Sat, 15 May 1999 04:11:13 +0000 (04:11 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 May 1999 04:08:29 +0000 (04:08 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 May 1999 04:06:51 +0000 (04:06 +0000)]
(open_maybe_create): Handle Solaris' failure mode when
FILE is a directory. Reported by Vin Shelton.