platform/upstream/coreutils.git
21 years ago. COREUTILS-5_0_91 v5.0.91
Jim Meyering [Mon, 8 Sep 2003 09:17:47 +0000 (09:17 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 8 Sep 2003 09:17:38 +0000 (09:17 +0000)]
*** empty log message ***

21 years ago(programs): Use ../src, not $(srcdir)/../src.
Jim Meyering [Mon, 8 Sep 2003 09:17:32 +0000 (09:17 +0000)]
(programs): Use ../src, not $(srcdir)/../src.
(check-programs-vs-x): Fail if $(programs) is empty.

21 years ago.
Jim Meyering [Mon, 8 Sep 2003 06:38:37 +0000 (06:38 +0000)]
.

21 years ago.
Jim Meyering [Mon, 8 Sep 2003 06:09:10 +0000 (06:09 +0000)]
.

21 years agoAdd a comment.
Jim Meyering [Mon, 8 Sep 2003 06:08:13 +0000 (06:08 +0000)]
Add a comment.

21 years ago.
Jim Meyering [Mon, 8 Sep 2003 06:05:50 +0000 (06:05 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:34:23 +0000 (17:34 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:33:47 +0000 (17:33 +0000)]
*** empty log message ***

21 years ago(D_INO, ENABLE_CYCLE_CHECK) [D_INO_IN_DIRENT]:
Jim Meyering [Sun, 7 Sep 2003 17:33:42 +0000 (17:33 +0000)]
(D_INO, ENABLE_CYCLE_CHECK) [D_INO_IN_DIRENT]:
Don't define.  These symbols are no longer used.

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:21:52 +0000 (17:21 +0000)]
*** empty log message ***

21 years agoWrite ^D as \cD.
Jim Meyering [Sun, 7 Sep 2003 17:21:48 +0000 (17:21 +0000)]
Write ^D as \cD.
Complete the change of 2003-08-02.

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:17:57 +0000 (17:17 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:17:54 +0000 (17:17 +0000)]
*** empty log message ***

21 years ago(EXTRA_DIST): Add vfat.
Jim Meyering [Sun, 7 Sep 2003 17:17:35 +0000 (17:17 +0000)]
(EXTRA_DIST): Add vfat.

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:16:31 +0000 (17:16 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 17:12:48 +0000 (17:12 +0000)]
*** empty log message ***

21 years ago(po-check): Use cvsu, so that a temporary source
Jim Meyering [Sun, 7 Sep 2003 17:12:34 +0000 (17:12 +0000)]
(po-check): Use cvsu, so that a temporary source
file in lib/ or src/ doesn't induce an unwarranted failure.
Add a kludge to filter out the sole generated source file that
also has translatable messages: false.c.

21 years ago.
Jim Meyering [Sun, 7 Sep 2003 16:57:30 +0000 (16:57 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:46:16 +0000 (16:46 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:45:27 +0000 (16:45 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:43:40 +0000 (16:43 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:37:33 +0000 (16:37 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:36:05 +0000 (16:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:34:01 +0000 (16:34 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 7 Sep 2003 16:32:02 +0000 (16:32 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 21:44:17 +0000 (21:44 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 21:37:44 +0000 (21:37 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 09:17:10 +0000 (09:17 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 08:49:43 +0000 (08:49 +0000)]
*** empty log message ***

21 years ago(enum): Add ALLOW_MISSING_OPTION.
Jim Meyering [Sat, 6 Sep 2003 08:49:37 +0000 (08:49 +0000)]
(enum): Add ALLOW_MISSING_OPTION.
(parse_options): Give a diagnostic for (but still accept) the
deprecated --allow-missing option.

21 years ago.
Jim Meyering [Fri, 5 Sep 2003 20:55:28 +0000 (20:55 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 5 Sep 2003 20:53:37 +0000 (20:53 +0000)]
*** empty log message ***

21 years agoDon't ignore -S if input is a pipe. Bug report by Michael McFarland in
Jim Meyering [Fri, 5 Sep 2003 20:53:08 +0000 (20:53 +0000)]
Don't ignore -S if input is a pipe.  Bug report by Michael McFarland in
<http://mail.gnu.org/archive/html/bug-coreutils/2003-09/msg00008.html>.

(sort_buffer_size): Omit SIZE_BOUND arg.  Compute the
size_bound ourselves. if an input file is a pipe and the user
specified a size, use that size instead of trying to guess the
pipe size.  This has the beneficial side effect of avoiding the
overhead of default_sort_size in that case.  All callers changed.
(sort): Remove static var size; now done by sort_buffer_size.

21 years ago*** empty log message ***
Jim Meyering [Fri, 5 Sep 2003 20:45:32 +0000 (20:45 +0000)]
*** empty log message ***

21 years ago(elide_tail_lines_pipe): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.
Jim Meyering [Fri, 5 Sep 2003 20:45:26 +0000 (20:45 +0000)]
(elide_tail_lines_pipe): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.

(struct linebuffer): Change nbytes and nlines
from unsigned int to size_t.  unsigned int is safe (after the
2003-09-03 patch) but size_t is cleaner.

Standardize on BUFSIZ as opposed to other macro names and values.
(BUFSIZE): Remove.  All uses changed to BUFSIZ.

21 years ago(pipe_lines, pipe_bytes): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.
Jim Meyering [Fri, 5 Sep 2003 20:44:20 +0000 (20:44 +0000)]
(pipe_lines, pipe_bytes): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.
(struct linebuffer, struct charbuffer): Change nbytes and nlines from
unsigned int to size_t.  unsigned int is safe (after the 2003-09-03 patch)
but size_t is cleaner.
(pipe_bytes): Likewise for local variable 'i', which was 'int'.

Standardize on BUFSIZ as opposed to other macro names and values.

(BUFSIZ) [!defined BUFSIZ]: Remove. stdio.h has always defined it,
and other code already assumes it's defined.

21 years ago*** empty log message ***
Jim Meyering [Fri, 5 Sep 2003 19:11:20 +0000 (19:11 +0000)]
*** empty log message ***

21 years agoStandardize on BUFSIZ as opposed to other macro names and values.
Jim Meyering [Fri, 5 Sep 2003 14:27:27 +0000 (14:27 +0000)]
Standardize on BUFSIZ as opposed to other macro names and values.

(BUFSIZ) [!defined BUFSIZ]: Don't define.
(IO_BUF_SIZE): Remove; replace all uses with sizeof io_buf.
(io_buf): IO_BUF_SIZE -> BUFSIZ.

21 years ago*** empty log message ***
Jim Meyering [Fri, 5 Sep 2003 07:56:52 +0000 (07:56 +0000)]
*** empty log message ***

21 years agoWait .5 seconds for backgrounded process
Jim Meyering [Fri, 5 Sep 2003 07:56:39 +0000 (07:56 +0000)]
Wait .5 seconds for backgrounded process
to start, rather than just .1.  Upon failure, print unexpected state.

21 years ago*** empty log message ***
Jim Meyering [Fri, 5 Sep 2003 06:59:32 +0000 (06:59 +0000)]
*** empty log message ***

21 years ago(onearg-2): Output should be empty.
Jim Meyering [Fri, 5 Sep 2003 06:56:38 +0000 (06:56 +0000)]
(onearg-2): Output should be empty.

21 years ago(step): Default to 1.
Jim Meyering [Fri, 5 Sep 2003 06:54:59 +0000 (06:54 +0000)]
(step): Default to 1.
(print_numbers): Allow the output to be empty.
(main): The default step is 1, even if LAST < FIRST;
as per documentation.

21 years ago*** empty log message ***
Jim Meyering [Fri, 5 Sep 2003 06:43:14 +0000 (06:43 +0000)]
*** empty log message ***

21 years ago(wget_files): Temporarily disable, until master
Jim Meyering [Fri, 5 Sep 2003 06:43:03 +0000 (06:43 +0000)]
(wget_files): Temporarily disable, until master
versions are restored to ftp.gnu.org.

21 years ago.
Jim Meyering [Thu, 4 Sep 2003 22:28:35 +0000 (22:28 +0000)]
.

21 years ago.
Jim Meyering [Thu, 4 Sep 2003 22:27:47 +0000 (22:27 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 4 Sep 2003 22:27:07 +0000 (22:27 +0000)]
*** empty log message ***

21 years ago(AM_INIT_AUTOMAKE): Specify automake-1.7.6.
Jim Meyering [Thu, 4 Sep 2003 22:27:00 +0000 (22:27 +0000)]
(AM_INIT_AUTOMAKE): Specify automake-1.7.6.

21 years ago*** empty log message ***
Jim Meyering [Thu, 4 Sep 2003 22:25:58 +0000 (22:25 +0000)]
*** empty log message ***

21 years agosort -t '\0' now uses a NUL tab.
Jim Meyering [Thu, 4 Sep 2003 22:25:53 +0000 (22:25 +0000)]
sort -t '\0' now uses a NUL tab.
sort option order no longer matters, unless POSIX requires it.

21 years ago(sort invocation): -d now overrides -i.
Jim Meyering [Thu, 4 Sep 2003 22:25:34 +0000 (22:25 +0000)]
(sort invocation): -d now overrides -i.
"whitespace" -> "blanks"; "whitespace" isn't correct.
-t '\0' now specifies a NUL tab.

21 years ago*** empty log message ***
Jim Meyering [Thu, 4 Sep 2003 22:24:21 +0000 (22:24 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 4 Sep 2003 22:22:05 +0000 (22:22 +0000)]
*** empty log message ***

21 years agoThis makes seq's --width (-w) option work properly even when the
Jim Meyering [Thu, 4 Sep 2003 22:21:25 +0000 (22:21 +0000)]
This makes seq's --width (-w) option work properly even when the
endpoint requiring the largest width is negative and smaller than
the other endpoint.

(get_width_format): Include `-' in the set of bytes
allowed in a `simple' number (no decimal point, no exponent).

21 years ago*** empty log message ***
Jim Meyering [Thu, 4 Sep 2003 22:20:51 +0000 (22:20 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 4 Sep 2003 22:13:20 +0000 (22:13 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 4 Sep 2003 22:13:08 +0000 (22:13 +0000)]
*** empty log message ***

21 years ago(usage): Say "blanks" instead of "whitespace",
Jim Meyering [Thu, 4 Sep 2003 22:12:59 +0000 (22:12 +0000)]
(usage): Say "blanks" instead of "whitespace",
Similar fixes for many comments.
(TAB_DEFAULT): New constant, so that we can support NUL as
the field separator.
(tab): Now int, not char.  Initialize to TAB_DEFAULT.
(specify_sort_size): If multiple sizes are specified, use the largest.
(begfield, limfield): Support NUL tab char.
(set_ordering): Do not let -i override -d.
(main): Report an error if incompatible -o or -t options are given.
Report an error for "-t ''".  Allow "-t '\0'" to specify a NUL tab.

21 years ago[o2, nul-tab]: New tests for changes of 2003-09-02.
Jim Meyering [Thu, 4 Sep 2003 22:11:16 +0000 (22:11 +0000)]
[o2, nul-tab]: New tests for changes of 2003-09-02.

21 years ago(elide_tail_lines_pipe): Don't truncate return value from safe_read.
Jim Meyering [Thu, 4 Sep 2003 21:43:35 +0000 (21:43 +0000)]
(elide_tail_lines_pipe): Don't truncate return value from safe_read.

21 years ago(pipe_lines): Don't truncate return value from safe_read.
Jim Meyering [Thu, 4 Sep 2003 21:43:12 +0000 (21:43 +0000)]
(pipe_lines): Don't truncate return value from safe_read.

21 years ago*** empty log message ***
Jim Meyering [Wed, 3 Sep 2003 20:30:40 +0000 (20:30 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 3 Sep 2003 20:30:31 +0000 (20:30 +0000)]
*** empty log message ***

21 years ago(human_readable): Fix bug that rounded 10501 to 10k.
Jim Meyering [Wed, 3 Sep 2003 20:30:25 +0000 (20:30 +0000)]
(human_readable): Fix bug that rounded 10501 to 10k.
Bug reported by Lute Kamstra in
<http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00003.html>.

21 years ago*** empty log message ***
Jim Meyering [Wed, 3 Sep 2003 08:53:29 +0000 (08:53 +0000)]
*** empty log message ***

21 years ago(AUTHORS): Remove Larry McVoy's name, since the relatively
Jim Meyering [Wed, 3 Sep 2003 08:53:19 +0000 (08:53 +0000)]
(AUTHORS): Remove Larry McVoy's name, since the relatively
small amount of code from him was first moved to lib/human.c, and was
subsequently rewritten entirely.

21 years ago*** empty log message ***
Jim Meyering [Wed, 3 Sep 2003 08:28:12 +0000 (08:28 +0000)]
*** empty log message ***

21 years ago(relative_time_table): Use tDAY_UNIT for "tomorrow",
Jim Meyering [Wed, 3 Sep 2003 08:28:08 +0000 (08:28 +0000)]
(relative_time_table): Use tDAY_UNIT for "tomorrow",
"yesterday", "today", and "now" rather than tMINUTE_UNIT.  Of
course with correspondingly smaller numbers for tomorrow and
yesterday.  From Tadayoshi Funaba.  Originally installed into
sh-utils on 1999-08-07, but the patch was mistakenly reverted by
the next change to that shared file (but this time in fileutils)
on 1999-08-29.

21 years ago*** empty log message ***
Jim Meyering [Tue, 2 Sep 2003 21:48:18 +0000 (21:48 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 31 Aug 2003 11:26:40 +0000 (11:26 +0000)]
*** empty log message ***

21 years agoReorder/rename the last 3 tests to make them consistent with
Jim Meyering [Sun, 31 Aug 2003 11:26:23 +0000 (11:26 +0000)]
Reorder/rename the last 3 tests to make them consistent with
those in tests/sha1sum/basic-1.

21 years ago(check-bsd2, check-bsd3): New tests for
Jim Meyering [Sun, 31 Aug 2003 11:23:57 +0000 (11:23 +0000)]
(check-bsd2, check-bsd3): New tests for
--check exit status and BSD SHA1 format (adapted from tests
in tests/md5sum/basic-1).

21 years ago(check-bsd3): New test to make sure that
Jim Meyering [Sun, 31 Aug 2003 11:19:53 +0000 (11:19 +0000)]
(check-bsd3): New test to make sure that
`md5sum --check' doesn't accept the BSD SHA1 format (adapted
from `check-bsd' test in tests/sha1sum/basic-1).

21 years ago(split_3): Accept the BSD format for generic
Jim Meyering [Sun, 31 Aug 2003 11:11:10 +0000 (11:11 +0000)]
(split_3): Accept the BSD format for generic
message digest modes.  Currently works with BSD's MD5 and SHA1
formats since these are the two algorithms presently used in
coreutils.  Updated comments to reflect this change.
(bsd_split_3): Updated comments.

21 years agoChange meaning of -l from --lookup to --login, per POSIX.
Jim Meyering [Sun, 31 Aug 2003 08:24:41 +0000 (08:24 +0000)]
Change meaning of -l from --lookup to --login, per POSIX.
who's -l option has been eliciting an unconditional warning about
this impending change since sh-utils-2.0.12 (April 2002).

21 years ago*** empty log message ***
Jim Meyering [Sun, 31 Aug 2003 05:54:59 +0000 (05:54 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 30 Aug 2003 20:26:49 +0000 (20:26 +0000)]
*** empty log message ***

21 years ago(do_link): Use SAME_INODE rather than open-coding it.
Jim Meyering [Sat, 30 Aug 2003 20:26:42 +0000 (20:26 +0000)]
(do_link): Use SAME_INODE rather than open-coding it.

21 years ago*** empty log message ***
Jim Meyering [Sat, 30 Aug 2003 18:13:27 +0000 (18:13 +0000)]
*** empty log message ***

21 years agoWhen source and destination arguments refer to the same file, reside
Jim Meyering [Sat, 30 Aug 2003 18:13:23 +0000 (18:13 +0000)]
When source and destination arguments refer to the same file, reside
on a partition (e.g. VFAT) on which distinct names may refer to the
same directory entry (often due to variations in case), and when the
link count for the file is 1, mv no longer unlinks the file.
FIXME: this is a band-aid fix.  If the file happens to have a link
count of 2 or greater, mv will still unlink it.

(same_file_ok): Invoke same_name (which might still
return false for names that refer to the same directory entry)
only if the link count is 2 or more.

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 13:37:38 +0000 (13:37 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Wed, 27 Aug 2003 11:42:19 +0000 (11:42 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 11:42:09 +0000 (11:42 +0000)]
*** empty log message ***

21 years ago(paste_parallel): Don't output `EOF' (aka -1) as a `char'.
Jim Meyering [Wed, 27 Aug 2003 11:41:49 +0000 (11:41 +0000)]
(paste_parallel): Don't output `EOF' (aka -1) as a `char'.
This would happen for nonempty files not ending with a newline.

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 11:41:05 +0000 (11:41 +0000)]
*** empty log message ***

21 years ago(TESTS): Add paste-no-nl.
Jim Meyering [Wed, 27 Aug 2003 11:35:34 +0000 (11:35 +0000)]
(TESTS): Add paste-no-nl.

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 09:18:28 +0000 (09:18 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 09:05:50 +0000 (09:05 +0000)]
*** empty log message ***

21 years agoUpdate from gettext-0.12.2.
Jim Meyering [Wed, 27 Aug 2003 09:05:47 +0000 (09:05 +0000)]
Update from gettext-0.12.2.

21 years ago.
Jim Meyering [Wed, 27 Aug 2003 09:04:55 +0000 (09:04 +0000)]
.

21 years ago.
Jim Meyering [Wed, 27 Aug 2003 09:01:16 +0000 (09:01 +0000)]
.

21 years ago(TESTS): Add stat-fmt.
Jim Meyering [Wed, 27 Aug 2003 09:01:01 +0000 (09:01 +0000)]
(TESTS): Add stat-fmt.

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 09:00:47 +0000 (09:00 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 08:55:33 +0000 (08:55 +0000)]
*** empty log message ***

21 years ago(print_it): Avoid buffer overrun that would occur
Jim Meyering [Wed, 27 Aug 2003 08:55:01 +0000 (08:55 +0000)]
(print_it): Avoid buffer overrun that would occur
when the user-specified format string ends with `%'.

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 07:22:53 +0000 (07:22 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 06:42:34 +0000 (06:42 +0000)]
*** empty log message ***

21 years agoRequire that the system mkstemp be able to create
Jim Meyering [Wed, 27 Aug 2003 06:42:31 +0000 (06:42 +0000)]
Require that the system mkstemp be able to create
70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
would fail after 32.  Reported by Danny Levinson.  Details here:
http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html