platform/upstream/coreutils.git
25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 08:48:02 +0000 (08:48 +0000)]
*** empty log message ***

25 years ago(enum human_inexact_style): New enum.
Jim Meyering [Sun, 4 Jul 1999 08:47:49 +0000 (08:47 +0000)]
(enum human_inexact_style): New enum.
(human_readable_inexact): New decl.

25 years ago(human_readable): New function.
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.

25 years ago(print_header): Conform to POSIX if posix_format).
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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 08:35:05 +0000 (08:35 +0000)]
*** empty log message ***

25 years ago(__strtol): Remove decl; it doesn't work if __strtol
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.

25 years ago.
Jim Meyering [Thu, 27 May 1999 13:08:29 +0000 (13:08 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Thu, 27 May 1999 13:08:19 +0000 (13:08 +0000)]
*** empty log message ***

25 years agoFix non-portable use of `tr' that caused this test
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.

25 years ago(Squeezing): Remove misleading square brackets
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.

25 years ago(copy_internal): Don't apply the umask in move_mode.
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

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 23:07:26 +0000 (23:07 +0000)]
*** empty log message ***

25 years ago. FILEUTILS-4_0i
Jim Meyering [Sun, 23 May 1999 21:06:36 +0000 (21:06 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 20:46:23 +0000 (20:46 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 20:45:34 +0000 (20:45 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sun, 23 May 1999 20:44:48 +0000 (20:44 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 20:43:11 +0000 (20:43 +0000)]
*** empty log message ***

25 years agoCorrect erroneous expected output from the `cp -f foo foo' tests.
Jim Meyering [Sun, 23 May 1999 20:42:25 +0000 (20:42 +0000)]
Correct erroneous expected output from the `cp -f foo foo' tests.

25 years ago(libfu_a_SOURCES): Add same.c.
Jim Meyering [Sun, 23 May 1999 20:40:59 +0000 (20:40 +0000)]
(libfu_a_SOURCES): Add same.c.
(noinst_HEADERS): Add same.h.

25 years agoRemove today's earlier misguided attempts.
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.

25 years agoInclude same.h.
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(...)).

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 19:43:10 +0000 (19:43 +0000)]
*** empty log message ***

25 years agoNew file (function extracted from ln.c).
Jim Meyering [Sun, 23 May 1999 19:42:59 +0000 (19:42 +0000)]
New file (function extracted from ln.c).

25 years ago(same_name): Remove function.
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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 19:38:53 +0000 (19:38 +0000)]
*** empty log message ***

25 years agowhite-space tweak SH-UTILS-1_16k
Jim Meyering [Sun, 23 May 1999 19:27:36 +0000 (19:27 +0000)]
white-space tweak

25 years agowhite-space tweak
Jim Meyering [Sun, 23 May 1999 19:27:07 +0000 (19:27 +0000)]
white-space tweak

25 years ago(copy_internal): Make it so `mv -f FILE FILE' does not remove FILE.
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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 14:49:14 +0000 (14:49 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 13:36:37 +0000 (13:36 +0000)]
*** empty log message ***

25 years ago(TESTS): Add force.
Jim Meyering [Sun, 23 May 1999 13:36:14 +0000 (13:36 +0000)]
(TESTS): Add force.
(TESTS_ENVIRONMENT): Change PATH to be absolute.

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 04:19:10 +0000 (04:19 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 04:01:55 +0000 (04:01 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 23 May 1999 03:59:08 +0000 (03:59 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 22 May 1999 22:10:34 +0000 (22:10 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 22 May 1999 22:02:54 +0000 (22:02 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 22 May 1999 22:02:00 +0000 (22:02 +0000)]
*** empty log message ***

25 years ago(AC_REPLACE_FUNCS): Add memchr.
Jim Meyering [Sat, 22 May 1999 22:00:42 +0000 (22:00 +0000)]
(AC_REPLACE_FUNCS): Add memchr.

25 years ago*** empty log message *** TEXTUTILS-1_22m
Jim Meyering [Sat, 22 May 1999 16:56:40 +0000 (16:56 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 22 May 1999 12:53:07 +0000 (12:53 +0000)]
*** empty log message ***

25 years agoDocument locale-specific changes to `sort',
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.

25 years ago(general_numcompare): Put exceptional cases
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.

25 years ago*** empty log message ***
Jim Meyering [Sat, 22 May 1999 04:30:36 +0000 (04:30 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 22 May 1999 04:29:30 +0000 (04:29 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sat, 22 May 1999 04:24:10 +0000 (04:24 +0000)]
.

25 years ago.
Jim Meyering [Sat, 22 May 1999 02:53:08 +0000 (02:53 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sat, 22 May 1999 02:48:22 +0000 (02:48 +0000)]
*** empty log message ***

25 years ago(strtod): Declare if STDC_HEADERS is not defined.
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.

25 years ago(use-nl): New test from Paul Eggert.
Jim Meyering [Sat, 22 May 1999 02:41:39 +0000 (02:41 +0000)]
(use-nl): New test from Paul Eggert.

25 years agotweak comment
Jim Meyering [Sat, 22 May 1999 02:37:47 +0000 (02:37 +0000)]
tweak comment

25 years ago(11d): Reverse lines in expected output to reflect latest change.
Jim Meyering [Sat, 22 May 1999 02:37:10 +0000 (02:37 +0000)]
(11d): Reverse lines in expected output to reflect latest change.

25 years agoremove trailing newline
Jim Meyering [Fri, 21 May 1999 20:47:18 +0000 (20:47 +0000)]
remove trailing newline

25 years ago*** empty log message ***
Jim Meyering [Fri, 21 May 1999 20:24:39 +0000 (20:24 +0000)]
*** empty log message ***

25 years agoTreat the trailing newline as part of the line, as required by POSIX.2.
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.

25 years ago*** empty log message ***
Jim Meyering [Fri, 21 May 1999 19:53:05 +0000 (19:53 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Thu, 20 May 1999 20:12:17 +0000 (20:12 +0000)]
.

25 years ago[AC_SEARCH_LIBS]: Quote name in undefine.
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.

25 years ago.
Jim Meyering [Thu, 20 May 1999 20:10:17 +0000 (20:10 +0000)]
.

25 years ago.
Jim Meyering [Thu, 20 May 1999 16:51:40 +0000 (16:51 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Thu, 20 May 1999 16:51:29 +0000 (16:51 +0000)]
*** empty log message ***

25 years agoAdd test case from Paul Eggert.
Jim Meyering [Thu, 20 May 1999 16:48:56 +0000 (16:48 +0000)]
Add test case from Paul Eggert.

25 years ago*** empty log message ***
Jim Meyering [Thu, 20 May 1999 16:29:51 +0000 (16:29 +0000)]
*** empty log message ***

25 years ago(keycompare): Ignore any length difference if the
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.

25 years ago(memcoll, keycompare, compare): Handle NUL
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.

25 years ago(MONTHTAB_CONST): Renamed from NLS_CONST; the use
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).

25 years agoadd the comment to go with last change
Jim Meyering [Thu, 20 May 1999 03:49:25 +0000 (03:49 +0000)]
add the comment to go with last change

25 years ago(get_date): Let mktime deduce tm_isdst if we
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.

25 years ago.
Jim Meyering [Wed, 19 May 1999 14:31:53 +0000 (14:31 +0000)]
.

25 years ago(main): When stdout is in binary mode, make sure all
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.

25 years ago*** empty log message ***
Jim Meyering [Mon, 17 May 1999 13:10:53 +0000 (13:10 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Mon, 17 May 1999 13:10:31 +0000 (13:10 +0000)]
*** empty log message ***

25 years ago(human_readable): Allow from_block_size to be zero.
Jim Meyering [Mon, 17 May 1999 13:03:46 +0000 (13:03 +0000)]
(human_readable): Allow from_block_size to be zero.

25 years ago. SH-UTILS-1_16j
Jim Meyering [Sun, 16 May 1999 19:13:59 +0000 (19:13 +0000)]
.

25 years ago.
Jim Meyering [Sun, 16 May 1999 19:11:16 +0000 (19:11 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 19:09:25 +0000 (19:09 +0000)]
*** empty log message ***

25 years ago. TEXTUTILS-1_22l
Jim Meyering [Sun, 16 May 1999 16:54:01 +0000 (16:54 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 16:53:02 +0000 (16:53 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 16:43:22 +0000 (16:43 +0000)]
*** empty log message ***

25 years agoDon't autodetect the locale of numbers and
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.

25 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 15:50:56 +0000 (15:50 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 16 May 1999 15:50:04 +0000 (15:50 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sun, 16 May 1999 15:48:43 +0000 (15:48 +0000)]
.

25 years agoNew file to override autoconf's AC_SEARCH_LIBS.
Jim Meyering [Sun, 16 May 1999 15:48:11 +0000 (15:48 +0000)]
New file to override autoconf's AC_SEARCH_LIBS.

25 years ago.
Jim Meyering [Sat, 15 May 1999 06:13:00 +0000 (06:13 +0000)]
.

25 years ago.
Jim Meyering [Sat, 15 May 1999 05:46:45 +0000 (05:46 +0000)]
.

25 years ago(usage): Whoops.
Jim Meyering [Sat, 15 May 1999 05:46:12 +0000 (05:46 +0000)]
(usage): Whoops.

25 years ago*** empty log message ***
Jim Meyering [Sat, 15 May 1999 05:42:55 +0000 (05:42 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sat, 15 May 1999 05:30:51 +0000 (05:30 +0000)]
.

25 years ago(trailing-sp): New test for this fix.
Jim Meyering [Sat, 15 May 1999 05:28:51 +0000 (05:28 +0000)]
(trailing-sp): New test for this fix.

25 years ago(xfields): Don't interpret a trailing blank as a
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.

25 years ago(getugroups): Don't dereference a null pointer when
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.

25 years ago*** empty log message ***
Jim Meyering [Sat, 15 May 1999 04:11:13 +0000 (04:11 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 15 May 1999 04:08:29 +0000 (04:08 +0000)]
*** empty log message ***

25 years ago(open_maybe_create): Handle Solaris' failure mode when
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.

25 years ago(main): When asking for info on an explicit file name,
Jim Meyering [Sat, 15 May 1999 01:53:21 +0000 (01:53 +0000)]
(main): When asking for info on an explicit file name,
just warn rather than failing if the table of mounted filesystems
cannot be read.

25 years ago(version_etc): Put version info and author names
Jim Meyering [Fri, 14 May 1999 17:11:03 +0000 (17:11 +0000)]
(version_etc): Put version info and author names
on the first two lines respectively rather than putting the three
lines of copyright info between them.

25 years ago*** empty log message ***
Jim Meyering [Fri, 14 May 1999 16:59:46 +0000 (16:59 +0000)]
*** empty log message ***

25 years agoInclude <string.h> or <strings.h> for strlen prototype.
Jim Meyering [Thu, 13 May 1999 20:48:44 +0000 (20:48 +0000)]
Include <string.h> or <strings.h> for strlen prototype.

25 years ago[__GLIBC__ >= 2]: #if-out prototypes.
Jim Meyering [Thu, 13 May 1999 20:44:45 +0000 (20:44 +0000)]
[__GLIBC__ >= 2]: #if-out prototypes.

25 years ago(pop_dir): Cast length to `int' to avoid a warning on
Jim Meyering [Thu, 13 May 1999 20:42:45 +0000 (20:42 +0000)]
(pop_dir): Cast length to `int' to avoid a warning on
64-bit systems.  From Ulrich Drepper.