platform/upstream/coreutils.git
21 years agotail -c +N would perform an extra read after encountering EOF
Jim Meyering [Sat, 12 Oct 2002 08:39:12 +0000 (08:39 +0000)]
tail -c +N would perform an extra read after encountering EOF
[this change is analogous (bytes vs. lines) to the one of 2002-01-27]

(start_bytes): Detect EOF, inform caller.
(tail_bytes): Upon EOF in start_bytes, return immediately.
(file_lines): Reorganize to use memrchr rather than an explicit loop.
Adapt to new safe_read ABI.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Oct 2002 20:03:44 +0000 (20:03 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Oct 2002 20:02:21 +0000 (20:02 +0000)]
*** empty log message ***

21 years ago(TESTS): Add deref.
Jim Meyering [Fri, 11 Oct 2002 19:59:31 +0000 (19:59 +0000)]
(TESTS): Add deref.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Oct 2002 19:58:32 +0000 (19:58 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Oct 2002 19:56:56 +0000 (19:56 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Oct 2002 15:48:53 +0000 (15:48 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Oct 2002 08:32:43 +0000 (08:32 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Oct 2002 08:32:14 +0000 (08:32 +0000)]
*** empty log message ***

21 years agoNew file/test, for the fix on 2002-10-08.
Jim Meyering [Thu, 10 Oct 2002 08:31:29 +0000 (08:31 +0000)]
New file/test, for the fix on 2002-10-08.

21 years ago(TESTS): Add target-1.
Jim Meyering [Thu, 10 Oct 2002 08:31:02 +0000 (08:31 +0000)]
(TESTS): Add target-1.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Oct 2002 07:57:35 +0000 (07:57 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Thu, 10 Oct 2002 07:27:18 +0000 (07:27 +0000)]
.

21 years ago(wc): Adapt to new safe_read ABI.
Jim Meyering [Wed, 9 Oct 2002 15:07:52 +0000 (15:07 +0000)]
(wc): Adapt to new safe_read ABI.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Oct 2002 13:28:55 +0000 (13:28 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Oct 2002 08:10:03 +0000 (08:10 +0000)]
*** empty log message ***

21 years agoEnsure that certain environment variables
Jim Meyering [Wed, 9 Oct 2002 08:09:57 +0000 (08:09 +0000)]
Ensure that certain environment variables
are not set (e.g., SIMPLA_BACKUP_SUFFIX).

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Oct 2002 08:09:35 +0000 (08:09 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Oct 2002 07:28:19 +0000 (07:28 +0000)]
*** empty log message ***

21 years agoMark this as an expensive test; it would
Jim Meyering [Wed, 9 Oct 2002 07:28:11 +0000 (07:28 +0000)]
Mark this as an expensive test; it would
consume 4GB of disk space on systems without support for sparse files.
Fix a logic error that'd make it `cat err' even though dd didn't fail.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Oct 2002 07:16:17 +0000 (07:16 +0000)]
*** empty log message ***

21 years ago(.jar): Fix typo: s/01;3/01;31/.
Jim Meyering [Wed, 9 Oct 2002 07:11:44 +0000 (07:11 +0000)]
(.jar): Fix typo: s/01;3/01;31/.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Oct 2002 07:00:27 +0000 (07:00 +0000)]
*** empty log message ***

21 years agoEnsure that ls produces English messages.
Jim Meyering [Wed, 9 Oct 2002 07:00:14 +0000 (07:00 +0000)]
Ensure that ls produces English messages.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Oct 2002 06:59:54 +0000 (06:59 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Oct 2002 14:26:19 +0000 (14:26 +0000)]
*** empty log message ***

21 years ago(main): Fix target_directory parsing when n_files == 1.
Jim Meyering [Tue, 8 Oct 2002 14:25:49 +0000 (14:25 +0000)]
(main): Fix target_directory parsing when n_files == 1.
Patch by Dmitry V. Levin.

21 years agoFix syntax in test: use =, not ==.
Jim Meyering [Tue, 8 Oct 2002 09:25:34 +0000 (09:25 +0000)]
Fix syntax in test: use =, not ==.

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Oct 2002 09:22:25 +0000 (09:22 +0000)]
*** empty log message ***

21 years agoUse double quotes around diagnostic.
Jim Meyering [Tue, 8 Oct 2002 09:21:08 +0000 (09:21 +0000)]
Use double quotes around diagnostic.

21 years agoUse double quotes around diagnostic.
Jim Meyering [Tue, 8 Oct 2002 09:18:12 +0000 (09:18 +0000)]
Use double quotes around diagnostic.

21 years ago(save_stdin, tac_stdin_to_mem): Adapt to new safe_read ABI.
Jim Meyering [Tue, 8 Oct 2002 07:20:28 +0000 (07:20 +0000)]
(save_stdin, tac_stdin_to_mem): Adapt to new safe_read ABI.

21 years agoRename local variable: chars_read -> bytes_read
Jim Meyering [Tue, 8 Oct 2002 07:14:48 +0000 (07:14 +0000)]
Rename local variable: chars_read -> bytes_read

21 years ago(squeeze_filter, read_and_delete, read_and_xlate): Adapt to new safe_read ABI.
Jim Meyering [Tue, 8 Oct 2002 07:13:56 +0000 (07:13 +0000)]
(squeeze_filter, read_and_delete, read_and_xlate): Adapt to new safe_read ABI.

21 years ago(sysv_sum_file): Adapt to new safe_read ABI.
Jim Meyering [Tue, 8 Oct 2002 07:11:03 +0000 (07:11 +0000)]
(sysv_sum_file): Adapt to new safe_read ABI.

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Oct 2002 06:21:55 +0000 (06:21 +0000)]
*** empty log message ***

21 years ago(cat): Don't advance the write pointer past the end of the write buffer.
Jim Meyering [Tue, 8 Oct 2002 06:21:31 +0000 (06:21 +0000)]
(cat): Don't advance the write pointer past the end of the write buffer.

21 years ago(begfield, limfield): Don't advance the write pointer past the
Jim Meyering [Tue, 8 Oct 2002 06:19:00 +0000 (06:19 +0000)]
(begfield, limfield): Don't advance the write pointer past the
end of the write buffer.

21 years ago(head_bytes, head_lines): Adapt to new safe_read ABI.
Jim Meyering [Mon, 7 Oct 2002 05:13:59 +0000 (05:13 +0000)]
(head_bytes, head_lines): Adapt to new safe_read ABI.

21 years ago*** empty log message ***
Jim Meyering [Mon, 7 Oct 2002 05:13:34 +0000 (05:13 +0000)]
*** empty log message ***

21 years ago(scanargs): Ensure that specified block sizes (specified
Jim Meyering [Sun, 6 Oct 2002 16:17:56 +0000 (16:17 +0000)]
(scanargs): Ensure that specified block sizes (specified
via ibs=N, obs=N, and bs=N) are no larger than SSIZE_MAX.
(skip, dd_copy): Adapt to new safe_read ABI.

21 years ago(simple_cat, cat): Adapt to new safe_read ABI.
Jim Meyering [Sun, 6 Oct 2002 15:48:49 +0000 (15:48 +0000)]
(simple_cat, cat): Adapt to new safe_read ABI.

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Oct 2002 14:55:17 +0000 (14:55 +0000)]
*** empty log message ***

21 years agoUpdate prototype.
Jim Meyering [Sun, 6 Oct 2002 14:55:12 +0000 (14:55 +0000)]
Update prototype.
(SAFE_READ_ERROR): Define.

21 years ago(safe_read): Change type of function from ssize_t to size_t.
Jim Meyering [Sun, 6 Oct 2002 14:55:01 +0000 (14:55 +0000)]
(safe_read): Change type of function from ssize_t to size_t.

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Oct 2002 06:44:50 +0000 (06:44 +0000)]
*** empty log message ***

21 years ago(signatures): Define.
Jim Meyering [Sun, 6 Oct 2002 06:44:43 +0000 (06:44 +0000)]
(signatures): Define.
(%.sig): New rule.
(announcement): Depend on $(signatures).

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Oct 2002 06:34:55 +0000 (06:34 +0000)]
*** empty log message ***

21 years agobump to 4.5.3
Jim Meyering [Sun, 6 Oct 2002 06:34:45 +0000 (06:34 +0000)]
bump to 4.5.3

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Oct 2002 06:12:27 +0000 (06:12 +0000)]
*** empty log message ***

21 years ago(announcement): Output all URLs for detached
Jim Meyering [Sun, 6 Oct 2002 06:12:12 +0000 (06:12 +0000)]
(announcement): Output all URLs for detached
signatures, not just the last one from the previous loop.

21 years ago.
Jim Meyering [Sat, 5 Oct 2002 20:12:57 +0000 (20:12 +0000)]
.

21 years ago. COREUTILS-4_5_2 v4.5.2
Jim Meyering [Sat, 5 Oct 2002 19:57:30 +0000 (19:57 +0000)]
.

21 years ago.
Jim Meyering [Sat, 5 Oct 2002 19:56:44 +0000 (19:56 +0000)]
.

21 years ago(TESTS): Add i-no-r.
Jim Meyering [Sat, 5 Oct 2002 19:56:34 +0000 (19:56 +0000)]
(TESTS): Add i-no-r.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:56:00 +0000 (19:56 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:55:19 +0000 (19:55 +0000)]
*** empty log message ***

21 years ago(remove_entry) [ROOT_CAN_UNLINK_DIRS]: With `rm -i DIR',
Jim Meyering [Sat, 5 Oct 2002 19:54:25 +0000 (19:54 +0000)]
(remove_entry) [ROOT_CAN_UNLINK_DIRS]: With `rm -i DIR',
don't recurse into directory, DIR.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:21:33 +0000 (19:21 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:17:57 +0000 (19:17 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:17:05 +0000 (19:17 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:16:00 +0000 (19:16 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 5 Oct 2002 17:02:43 +0000 (17:02 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 08:30:07 +0000 (08:30 +0000)]
*** empty log message ***

21 years agosave dd's stderr, and output it if dd fails
Jim Meyering [Sat, 5 Oct 2002 08:29:21 +0000 (08:29 +0000)]
save dd's stderr, and output it if dd fails

21 years agoredirect dd's stderr
Jim Meyering [Sat, 5 Oct 2002 08:27:45 +0000 (08:27 +0000)]
redirect dd's stderr

21 years ago(TESTS): Add big-4gb.
Jim Meyering [Sat, 5 Oct 2002 08:26:42 +0000 (08:26 +0000)]
(TESTS): Add big-4gb.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 08:26:35 +0000 (08:26 +0000)]
*** empty log message ***

21 years agoadd a comment
Jim Meyering [Fri, 4 Oct 2002 11:25:09 +0000 (11:25 +0000)]
add a comment

21 years agoUndo last change.
Jim Meyering [Fri, 4 Oct 2002 11:24:12 +0000 (11:24 +0000)]
Undo last change.
Instead, run du only on the symlinks that were successfully created.

21 years agoRedirect errors (e.g. missing file) to /dev/null.
Jim Meyering [Fri, 4 Oct 2002 11:19:22 +0000 (11:19 +0000)]
Redirect errors (e.g. missing file) to /dev/null.

21 years ago*** empty log message ***
Jim Meyering [Thu, 3 Oct 2002 09:32:14 +0000 (09:32 +0000)]
*** empty log message ***

21 years agoMark translatable string with `N_ (...)'.
Jim Meyering [Thu, 3 Oct 2002 09:31:12 +0000 (09:31 +0000)]
Mark translatable string with `N_ (...)'.

21 years ago(AUTHORS): Mark translatable string with `N_ (...)'.
Jim Meyering [Thu, 3 Oct 2002 09:28:02 +0000 (09:28 +0000)]
(AUTHORS): Mark translatable string with `N_ (...)'.

21 years ago*** empty log message ***
Jim Meyering [Wed, 2 Oct 2002 06:51:13 +0000 (06:51 +0000)]
*** empty log message ***

21 years ago(AC_CONFIG_FILES): Remove old/* names.
Jim Meyering [Wed, 2 Oct 2002 06:50:57 +0000 (06:50 +0000)]
(AC_CONFIG_FILES): Remove old/* names.

21 years agoupdate from master
Jim Meyering [Wed, 2 Oct 2002 06:50:19 +0000 (06:50 +0000)]
update from master

21 years ago*** empty log message ***
Jim Meyering [Wed, 2 Oct 2002 06:41:07 +0000 (06:41 +0000)]
*** empty log message ***

21 years ago(SUBDIRS): Remove `old'.
Jim Meyering [Wed, 2 Oct 2002 06:40:46 +0000 (06:40 +0000)]
(SUBDIRS): Remove `old'.
(EXTRA_DIST): List the files in old/.

21 years ago*** empty log message ***
Jim Meyering [Tue, 1 Oct 2002 11:43:19 +0000 (11:43 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 1 Oct 2002 07:58:20 +0000 (07:58 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 1 Oct 2002 07:58:16 +0000 (07:58 +0000)]
*** empty log message ***

21 years ago(SSIZE_MAX): Define.
Jim Meyering [Tue, 1 Oct 2002 07:58:03 +0000 (07:58 +0000)]
(SSIZE_MAX): Define.

21 years ago.
Jim Meyering [Mon, 30 Sep 2002 22:03:45 +0000 (22:03 +0000)]
.

21 years ago.
Jim Meyering [Mon, 30 Sep 2002 22:02:48 +0000 (22:02 +0000)]
.

21 years agoDon't include stdlib.h here. It's already included via system.h.
Jim Meyering [Mon, 30 Sep 2002 21:20:08 +0000 (21:20 +0000)]
Don't include stdlib.h here.  It's already included via system.h.

21 years ago*** empty log message ***
Jim Meyering [Mon, 30 Sep 2002 16:14:02 +0000 (16:14 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 30 Sep 2002 08:01:02 +0000 (08:01 +0000)]
*** empty log message ***

21 years agoupdate from master
Jim Meyering [Mon, 30 Sep 2002 06:35:44 +0000 (06:35 +0000)]
update from master

21 years ago(find_bracketed_repeat): Rearrange pointer/integer
Jim Meyering [Sun, 29 Sep 2002 21:31:29 +0000 (21:31 +0000)]
(find_bracketed_repeat): Rearrange pointer/integer
expression to avoid warning from gcc.

21 years ago*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 21:25:11 +0000 (21:25 +0000)]
*** empty log message ***

21 years ago(simple_cat): Use a temporary to avoid bogus warnings.
Jim Meyering [Sun, 29 Sep 2002 21:25:03 +0000 (21:25 +0000)]
(simple_cat): Use a temporary to avoid bogus warnings.
(cat): Declare insize and outsize to be of type size_t, not int.
Rearrange pointer/integer expressions to avoid bogus warnings.
(main): Declare insize and outsize to be of type size_t, not int.

21 years ago*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 18:06:06 +0000 (18:06 +0000)]
*** empty log message ***

21 years ago(parse_options): Give a sensible diagnostic for
Jim Meyering [Sun, 29 Sep 2002 18:06:02 +0000 (18:06 +0000)]
(parse_options): Give a sensible diagnostic for
an invalid byte or line count.  Reported by Mikko Tuumanen.

21 years ago*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 18:05:40 +0000 (18:05 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 18:01:37 +0000 (18:01 +0000)]
*** empty log message ***

21 years ago(main): Split a long line.
Jim Meyering [Sun, 29 Sep 2002 18:00:28 +0000 (18:00 +0000)]
(main): Split a long line.

21 years agoupdate from master
Jim Meyering [Sun, 29 Sep 2002 17:26:38 +0000 (17:26 +0000)]
update from master

21 years ago.
Jim Meyering [Sun, 29 Sep 2002 17:26:18 +0000 (17:26 +0000)]
.

21 years ago(TESTS): Add slink.
Jim Meyering [Sun, 29 Sep 2002 17:26:09 +0000 (17:26 +0000)]
(TESTS): Add slink.