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.
Jim Meyering [Tue, 8 Oct 2002 07:11:03 +0000 (07:11 +0000)]
(sysv_sum_file): Adapt to new safe_read ABI.
Jim Meyering [Tue, 8 Oct 2002 06:21:55 +0000 (06:21 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Mon, 7 Oct 2002 05:13:59 +0000 (05:13 +0000)]
(head_bytes, head_lines): Adapt to new safe_read ABI.
Jim Meyering [Mon, 7 Oct 2002 05:13:34 +0000 (05:13 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 6 Oct 2002 15:48:49 +0000 (15:48 +0000)]
(simple_cat, cat): Adapt to new safe_read ABI.
Jim Meyering [Sun, 6 Oct 2002 14:55:17 +0000 (14:55 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Oct 2002 14:55:12 +0000 (14:55 +0000)]
Update prototype.
(SAFE_READ_ERROR): Define.
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.
Jim Meyering [Sun, 6 Oct 2002 06:44:50 +0000 (06:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Oct 2002 06:44:43 +0000 (06:44 +0000)]
(signatures): Define.
(%.sig): New rule.
(announcement): Depend on $(signatures).
Jim Meyering [Sun, 6 Oct 2002 06:34:55 +0000 (06:34 +0000)]
*** empty log message ***
Jim Meyering [Sun, 6 Oct 2002 06:34:45 +0000 (06:34 +0000)]
bump to 4.5.3
Jim Meyering [Sun, 6 Oct 2002 06:12:27 +0000 (06:12 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 5 Oct 2002 20:12:57 +0000 (20:12 +0000)]
.
Jim Meyering [Sat, 5 Oct 2002 19:57:30 +0000 (19:57 +0000)]
.
Jim Meyering [Sat, 5 Oct 2002 19:56:44 +0000 (19:56 +0000)]
.
Jim Meyering [Sat, 5 Oct 2002 19:56:34 +0000 (19:56 +0000)]
(TESTS): Add i-no-r.
Jim Meyering [Sat, 5 Oct 2002 19:56:00 +0000 (19:56 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:55:19 +0000 (19:55 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 5 Oct 2002 19:21:33 +0000 (19:21 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:17:57 +0000 (19:17 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:17:05 +0000 (19:17 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 19:16:00 +0000 (19:16 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 17:02:43 +0000 (17:02 +0000)]
.
Jim Meyering [Sat, 5 Oct 2002 08:30:07 +0000 (08:30 +0000)]
*** empty log message ***
Jim Meyering [Sat, 5 Oct 2002 08:29:21 +0000 (08:29 +0000)]
save dd's stderr, and output it if dd fails
Jim Meyering [Sat, 5 Oct 2002 08:27:45 +0000 (08:27 +0000)]
redirect dd's stderr
Jim Meyering [Sat, 5 Oct 2002 08:26:42 +0000 (08:26 +0000)]
(TESTS): Add big-4gb.
Jim Meyering [Sat, 5 Oct 2002 08:26:35 +0000 (08:26 +0000)]
*** empty log message ***
Jim Meyering [Fri, 4 Oct 2002 11:25:09 +0000 (11:25 +0000)]
add a comment
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.
Jim Meyering [Fri, 4 Oct 2002 11:19:22 +0000 (11:19 +0000)]
Redirect errors (e.g. missing file) to /dev/null.
Jim Meyering [Thu, 3 Oct 2002 09:32:14 +0000 (09:32 +0000)]
*** empty log message ***
Jim Meyering [Thu, 3 Oct 2002 09:31:12 +0000 (09:31 +0000)]
Mark translatable string with `N_ (...)'.
Jim Meyering [Thu, 3 Oct 2002 09:28:02 +0000 (09:28 +0000)]
(AUTHORS): Mark translatable string with `N_ (...)'.
Jim Meyering [Wed, 2 Oct 2002 06:51:13 +0000 (06:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Oct 2002 06:50:57 +0000 (06:50 +0000)]
(AC_CONFIG_FILES): Remove old/* names.
Jim Meyering [Wed, 2 Oct 2002 06:50:19 +0000 (06:50 +0000)]
update from master
Jim Meyering [Wed, 2 Oct 2002 06:41:07 +0000 (06:41 +0000)]
*** empty log message ***
Jim Meyering [Wed, 2 Oct 2002 06:40:46 +0000 (06:40 +0000)]
(SUBDIRS): Remove `old'.
(EXTRA_DIST): List the files in old/.
Jim Meyering [Tue, 1 Oct 2002 11:43:19 +0000 (11:43 +0000)]
*** empty log message ***
Jim Meyering [Tue, 1 Oct 2002 07:58:20 +0000 (07:58 +0000)]
*** empty log message ***
Jim Meyering [Tue, 1 Oct 2002 07:58:16 +0000 (07:58 +0000)]
*** empty log message ***
Jim Meyering [Tue, 1 Oct 2002 07:58:03 +0000 (07:58 +0000)]
(SSIZE_MAX): Define.
Jim Meyering [Mon, 30 Sep 2002 22:03:45 +0000 (22:03 +0000)]
.
Jim Meyering [Mon, 30 Sep 2002 22:02:48 +0000 (22:02 +0000)]
.
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.
Jim Meyering [Mon, 30 Sep 2002 16:14:02 +0000 (16:14 +0000)]
*** empty log message ***
Jim Meyering [Mon, 30 Sep 2002 08:01:02 +0000 (08:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 30 Sep 2002 06:35:44 +0000 (06:35 +0000)]
update from master
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.
Jim Meyering [Sun, 29 Sep 2002 21:25:11 +0000 (21:25 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 29 Sep 2002 18:06:06 +0000 (18:06 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 29 Sep 2002 18:05:40 +0000 (18:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 18:01:37 +0000 (18:01 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 18:00:28 +0000 (18:00 +0000)]
(main): Split a long line.
Jim Meyering [Sun, 29 Sep 2002 17:26:38 +0000 (17:26 +0000)]
update from master
Jim Meyering [Sun, 29 Sep 2002 17:26:18 +0000 (17:26 +0000)]
.
Jim Meyering [Sun, 29 Sep 2002 17:26:09 +0000 (17:26 +0000)]
(TESTS): Add slink.
Jim Meyering [Sun, 29 Sep 2002 17:26:00 +0000 (17:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 17:25:43 +0000 (17:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 17:23:03 +0000 (17:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 17:17:28 +0000 (17:17 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 17:12:36 +0000 (17:12 +0000)]
.
Jim Meyering [Sun, 29 Sep 2002 08:44:36 +0000 (08:44 +0000)]
.
Jim Meyering [Sun, 29 Sep 2002 08:43:24 +0000 (08:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 08:43:19 +0000 (08:43 +0000)]
In move mode, always first try to rename. Before, upon failure to
rename a directory, this code would never attempt to rename any
other file in that directory, but would thenceforth always copy.
On some systems (NetApp version ??), renaming a directory may fail
with EXDEV, yet renaming files within that directory to a newly-
created destination directory succeeds.
(copy_internal): Remove local, move_mode;
use x->move_mode instead. Based on a patch from Tom Haynes.
Jim Meyering [Sun, 29 Sep 2002 08:35:05 +0000 (08:35 +0000)]
*** empty log message ***
Jim Meyering [Sun, 29 Sep 2002 08:33:41 +0000 (08:33 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Sep 2002 22:03:55 +0000 (22:03 +0000)]
.
Jim Meyering [Sat, 28 Sep 2002 22:03:31 +0000 (22:03 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Sep 2002 22:03:26 +0000 (22:03 +0000)]
(AM_INTL_SUBDIR): Don't require gt_HEADER_INTTYPES_H.
It's not necessary with autoconf-2.54.
Jim Meyering [Sat, 28 Sep 2002 21:40:45 +0000 (21:40 +0000)]
(jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
Jim Meyering [Sat, 28 Sep 2002 21:39:28 +0000 (21:39 +0000)]
(jm_MACROS): Don't set GETGROUPS_LIB here; now it's
done via getgroups.m4's wrapper function.
Jim Meyering [Sat, 28 Sep 2002 17:02:56 +0000 (17:02 +0000)]
update from master
Jim Meyering [Sat, 28 Sep 2002 16:53:57 +0000 (16:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Sep 2002 16:53:25 +0000 (16:53 +0000)]
Remove file -- now it's part of autoconf-2.54
Jim Meyering [Sat, 28 Sep 2002 16:50:43 +0000 (16:50 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Sep 2002 16:50:34 +0000 (16:50 +0000)]
(FAIL_ONLY_ONE_WAY): New macro. Factor out some duplication.
(main): Use it.
[case 'a']: Use strtoul rather than strtol to avoid compiler warnings.
Jim Meyering [Sat, 28 Sep 2002 16:32:31 +0000 (16:32 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Sep 2002 16:32:23 +0000 (16:32 +0000)]
(begfield, limfield): Rearrange comparisons to avoid compiler warnings.
(fillbuf, keycompare): Cast literal `-1' to size_t in comparisons,
to avoid compiler warnings.
Jim Meyering [Sat, 28 Sep 2002 16:29:25 +0000 (16:29 +0000)]
(dopass): Use a uintmax_t temporary to avoid bogus compiler warnings.
Jim Meyering [Sat, 28 Sep 2002 09:21:17 +0000 (09:21 +0000)]
(tail_bytes): Change type of bytes_remaining to off_t
to avoid overflow. Reported by Hans Lermen.
Jim Meyering [Sat, 28 Sep 2002 07:55:25 +0000 (07:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Sep 2002 07:55:16 +0000 (07:55 +0000)]
*** empty log message ***
Jim Meyering [Sat, 28 Sep 2002 07:55:08 +0000 (07:55 +0000)]
(make_path): Restore umask *before* creating the final component.
Jim Meyering [Sat, 28 Sep 2002 07:51:17 +0000 (07:51 +0000)]
Fix things so `mkdir -p' can create very deep directories, e.g.,
mkdir -p $(perl -e 'print "a/" x 40000') now works.
(main): For --parents (-p), call make_path with the
entire directory name, so we don't ever require that file operations
like stat or chmod be performed on the entire command line argument.
Jim Meyering [Thu, 26 Sep 2002 08:40:44 +0000 (08:40 +0000)]
*** empty log message ***
Jim Meyering [Thu, 26 Sep 2002 08:39:20 +0000 (08:39 +0000)]
(get_ids): Use strtoul, not strtol. Remove some casts.
Jim Meyering [Thu, 26 Sep 2002 08:25:44 +0000 (08:25 +0000)]
add a FIXME comment
Jim Meyering [Thu, 26 Sep 2002 08:20:32 +0000 (08:20 +0000)]
*** empty log message ***
Jim Meyering [Thu, 26 Sep 2002 08:18:33 +0000 (08:18 +0000)]
[! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>.
(UINTMAX_MAX) [!defined UINTMAX_MAX]: New macro.
(PROPAGATE_ALL_ONES): Work even if X is unsigned and narrower than
int. Work more efficiently if X is the same width as uintmax_t.
Do not compare X to -1, to avoid bogus compiler warning.
(get_fs_usage): (uintmax_t) -1 -> UINTMAX_MAX to avoid a cast.
Don't assume that f_frsize and f_bsize are the same type.