platform/upstream/coreutils.git
20 years ago*** empty log message ***
Jim Meyering [Sat, 6 Sep 2003 21:44:17 +0000 (21:44 +0000)]
*** empty log message ***

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

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

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

20 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.

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

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

20 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.

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

20 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.

20 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.

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

20 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.

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

20 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.

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

20 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.

20 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.

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

20 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.

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

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

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

20 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.

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

20 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.

20 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.

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

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

20 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).

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

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

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

20 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.

20 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.

20 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.

20 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.

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

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

20 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>.

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

20 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.

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

20 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.

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

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

20 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.

20 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).

20 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).

20 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.

20 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).

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

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

20 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.

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

20 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.

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

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

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

20 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.

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

20 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.

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

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

20 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.

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

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

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

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

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

20 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 `%'.

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

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

20 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

20 years ago*** empty log message ***
Jim Meyering [Wed, 27 Aug 2003 06:29:25 +0000 (06:29 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 26 Aug 2003 12:08:05 +0000 (12:08 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 26 Aug 2003 09:29:31 +0000 (09:29 +0000)]
*** empty log message ***

20 years ago(local-checks-to-skip): New.
Jim Meyering [Tue, 26 Aug 2003 09:29:26 +0000 (09:29 +0000)]
(local-checks-to-skip): New.

20 years ago(local-check): Rename as...
Jim Meyering [Tue, 26 Aug 2003 09:29:15 +0000 (09:29 +0000)]
(local-check): Rename as...
(local-checks-available): this.
(local-check): New.

20 years agoApply changes from bison.
Jim Meyering [Tue, 26 Aug 2003 07:49:44 +0000 (07:49 +0000)]
Apply changes from bison.
(WGETFLAGS): Define to `-C off'.
Update all uses of $(WGET).

20 years ago(SHELL): Define to `sh', if necessary.
Jim Meyering [Tue, 26 Aug 2003 07:40:04 +0000 (07:40 +0000)]
(SHELL): Define to `sh', if necessary.
Add copyright.

20 years ago*** empty log message ***
Jim Meyering [Tue, 26 Aug 2003 07:20:03 +0000 (07:20 +0000)]
*** empty log message ***

20 years ago(print_changelog_deltas): Neutralize "<#" as
Jim Meyering [Tue, 26 Aug 2003 07:19:57 +0000 (07:19 +0000)]
(print_changelog_deltas): Neutralize "<#" as
"<\#" to avoid magic from Gnus when posting parts of this script.

20 years ago*** empty log message ***
Jim Meyering [Tue, 26 Aug 2003 06:39:10 +0000 (06:39 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 25 Aug 2003 07:39:36 +0000 (07:39 +0000)]
*** empty log message ***

20 years ago(main): Warn about use of deprecated `-l' option.
Jim Meyering [Mon, 25 Aug 2003 07:39:26 +0000 (07:39 +0000)]
(main): Warn about use of deprecated `-l' option.

20 years ago.
Jim Meyering [Mon, 25 Aug 2003 06:30:06 +0000 (06:30 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sat, 23 Aug 2003 12:23:50 +0000 (12:23 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 23 Aug 2003 12:23:35 +0000 (12:23 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 22 Aug 2003 09:46:16 +0000 (09:46 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 22 Aug 2003 08:20:29 +0000 (08:20 +0000)]
*** empty log message ***

20 years ago(do_stat): For link count at end of line, use %h format,
Jim Meyering [Fri, 22 Aug 2003 08:20:05 +0000 (08:20 +0000)]
(do_stat): For link count at end of line, use %h format,
instead of %-5h.  The latter would make stat emit trailing spaces.

20 years ago*** empty log message ***
Jim Meyering [Wed, 20 Aug 2003 15:32:56 +0000 (15:32 +0000)]
*** empty log message ***

20 years ago(EXTRA_DIST): Add .x-sc_space_tab .x-sc_sun_os_names
Jim Meyering [Wed, 20 Aug 2003 15:32:48 +0000 (15:32 +0000)]
(EXTRA_DIST): Add .x-sc_space_tab .x-sc_sun_os_names

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

20 years ago.
Jim Meyering [Tue, 19 Aug 2003 21:05:04 +0000 (21:05 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 17:55:59 +0000 (17:55 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 17:50:32 +0000 (17:50 +0000)]
*** empty log message ***

20 years ago(MSGID_BUGS_ADDRESS): Define.
Jim Meyering [Tue, 19 Aug 2003 17:49:48 +0000 (17:49 +0000)]
(MSGID_BUGS_ADDRESS): Define.

20 years ago*** empty log message ***
Jim Meyering [Tue, 19 Aug 2003 17:02:25 +0000 (17:02 +0000)]
*** empty log message ***