platform/upstream/coreutils.git
23 years ago(strip_trailing_slashes): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 10:00:52 +0000 (10:00 +0000)]
(strip_trailing_slashes): Remove; now in dirname.h.
(make_path_private): Use dir_len instead of
dir_name, and avoid an extra mealloc call.

23 years ago(copy_internal): Remove the code that tested for NULL
Jim Meyering [Sat, 12 May 2001 09:58:03 +0000 (09:58 +0000)]
(copy_internal): Remove the code that tested for NULL
dir_name return value.  That can't happen.

23 years agoInclude "dirname.h".
Jim Meyering [Sat, 12 May 2001 09:54:19 +0000 (09:54 +0000)]
Include "dirname.h".
(strip_trailing_slashes_2): Remove; now done by
strip_trailing_slashes.  All callers changed.

23 years ago(base_name): Remove decl; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 09:53:45 +0000 (09:53 +0000)]
(base_name): Remove decl; now in dirname.h.

23 years agoInclude dirname.h, to get base_name
Jim Meyering [Sat, 12 May 2001 09:52:56 +0000 (09:52 +0000)]
Include dirname.h, to get base_name

23 years agoinclude dirname.h.
Jim Meyering [Sat, 12 May 2001 09:51:59 +0000 (09:51 +0000)]
include dirname.h.

23 years ago(strip_trailing_slashes): Remove declaration; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 09:51:23 +0000 (09:51 +0000)]
(strip_trailing_slashes): Remove declaration; now in dirname.h.

23 years agoWording changes related to -o, -n, and -g.
Jim Meyering [Sat, 12 May 2001 08:44:31 +0000 (08:44 +0000)]
Wording changes related to -o, -n, and -g.

23 years ago(usage): Minor wording changes related to -o, -n, and -g.
Jim Meyering [Sat, 12 May 2001 08:23:23 +0000 (08:23 +0000)]
(usage): Minor wording changes related to -o, -n, and -g.
From Paul Eggert.

23 years ago*** empty log message ***
Jim Meyering [Sat, 12 May 2001 08:10:33 +0000 (08:10 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 12 May 2001 08:04:52 +0000 (08:04 +0000)]
*** empty log message ***

23 years ago(mode_changed, change_file_mode):
Jim Meyering [Sat, 12 May 2001 08:04:44 +0000 (08:04 +0000)]
(mode_changed, change_file_mode):
There's no need to invoke both lstat and stat here, so call just
one of the two functions.

23 years ago.
Jim Meyering [Fri, 11 May 2001 14:06:22 +0000 (14:06 +0000)]
.

23 years ago(shred invocation): Warn about backups and mirrors.
Jim Meyering [Fri, 11 May 2001 11:23:37 +0000 (11:23 +0000)]
(shred invocation): Warn about backups and mirrors.

23 years ago(usage): Warn about backups and mirrors.
Jim Meyering [Fri, 11 May 2001 11:23:24 +0000 (11:23 +0000)]
(usage): Warn about backups and mirrors.

23 years agos/POSIX/posix/
Jim Meyering [Fri, 11 May 2001 10:38:56 +0000 (10:38 +0000)]
s/POSIX/posix/

23 years agoremove trailing spaces
Jim Meyering [Fri, 11 May 2001 10:38:23 +0000 (10:38 +0000)]
remove trailing spaces

23 years agofix typo: missing `r}' in this line:
Jim Meyering [Fri, 11 May 2001 10:38:13 +0000 (10:38 +0000)]
fix typo: missing `r}' in this line:
  @itemx --temporary-directory=@var{tempdir}

23 years agoshift off the leading `_'
Jim Meyering [Fri, 11 May 2001 09:14:22 +0000 (09:14 +0000)]
shift off the leading `_'

23 years agoFactor out the root-only test into this ...
Jim Meyering [Fri, 11 May 2001 09:10:09 +0000 (09:10 +0000)]
Factor out the root-only test into this ...
Source ../root-only instead.

23 years ago*** empty log message ***
Jim Meyering [Fri, 11 May 2001 08:19:41 +0000 (08:19 +0000)]
*** empty log message ***

23 years ago(shred invocation): Warn about backups. From Nelson Beebe.
Jim Meyering [Fri, 11 May 2001 08:18:18 +0000 (08:18 +0000)]
(shred invocation): Warn about backups.  From Nelson Beebe.

23 years agoadd a space after a period
Jim Meyering [Fri, 11 May 2001 07:53:44 +0000 (07:53 +0000)]
add a space after a period
(true invocation): fix a typo

23 years agos/restriction deletion flag
Jim Meyering [Fri, 11 May 2001 07:36:22 +0000 (07:36 +0000)]
s/restriction deletion flag
 /restricted deletion flag/

23 years ago.
Jim Meyering [Fri, 11 May 2001 07:22:53 +0000 (07:22 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Thu, 10 May 2001 14:28:42 +0000 (14:28 +0000)]
*** empty log message ***

23 years ago(main): Fix thinko: s/argv[optind]/optarg/.
Jim Meyering [Thu, 10 May 2001 14:25:48 +0000 (14:25 +0000)]
(main): Fix thinko: s/argv[optind]/optarg/.

23 years ago*** empty log message ***
Jim Meyering [Wed, 9 May 2001 09:16:08 +0000 (09:16 +0000)]
*** empty log message ***

23 years ago(jm_MACROS): Do not check for fseeko; no longer used.
Jim Meyering [Wed, 9 May 2001 09:16:03 +0000 (09:16 +0000)]
(jm_MACROS): Do not check for fseeko; no longer used.

23 years ago*** empty log message ***
Jim Meyering [Mon, 7 May 2001 20:21:18 +0000 (20:21 +0000)]
*** empty log message ***

23 years agotweak diagnostic
Jim Meyering [Sat, 5 May 2001 17:32:40 +0000 (17:32 +0000)]
tweak diagnostic

23 years ago(decode_switches): Complain if the envvar, QUOTING_STYLE,
Jim Meyering [Sat, 5 May 2001 17:31:45 +0000 (17:31 +0000)]
(decode_switches): Complain if the envvar, QUOTING_STYLE,
is set to an invalid value.
Move some declarations of locals into scopes where they're used.

23 years ago*** empty log message ***
Jim Meyering [Sat, 5 May 2001 14:29:38 +0000 (14:29 +0000)]
*** empty log message ***

23 years ago(print_owner): New global variable.
Jim Meyering [Sat, 5 May 2001 14:29:02 +0000 (14:29 +0000)]
(print_owner): New global variable.
(usage): Update the description of -g.
(decode_switches): Honor the -g option (omit owner information),
now that POSIX specifies it.
(print_long_format): Don't print owner name if -g was specified.
Move declaration of `user_name' into the scope where it's used.
(print_group): Rename global from `inhibit_group'.  Update all
uses accordingly.

(decode_switches): Make -n work just like -l, except
with numeric IDs, per POSIX.  Before, to have any effect, -n had
to be used with -l.  Reported by Dale Scheetz.
(usage): Update the description of -n.
Separate the descriptions of -n and --numeric-uid-gid.
Split string in --help output that had exceeded my limit of 2048 bytes.

23 years ago*** empty log message ***
Jim Meyering [Sat, 5 May 2001 12:54:46 +0000 (12:54 +0000)]
*** empty log message ***

23 years ago(usage): Correct description of -3.
Jim Meyering [Sat, 5 May 2001 12:54:37 +0000 (12:54 +0000)]
(usage): Correct description of -3.

23 years ago*** empty log message ***
Jim Meyering [Sat, 5 May 2001 12:54:16 +0000 (12:54 +0000)]
*** empty log message ***

23 years agoUpdate from master repository.
Jim Meyering [Wed, 2 May 2001 09:52:32 +0000 (09:52 +0000)]
Update from master repository.

23 years ago(tgz-size, xd-size): Compute sizes.
Jim Meyering [Wed, 2 May 2001 08:09:14 +0000 (08:09 +0000)]
(tgz-size, xd-size): Compute sizes.
(announcement): Include sizes of .tar.gz and .xdelta files
in the announcement.

23 years ago*** empty log message ***
Jim Meyering [Sun, 29 Apr 2001 21:22:52 +0000 (21:22 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 29 Apr 2001 20:50:48 +0000 (20:50 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 29 Apr 2001 20:49:11 +0000 (20:49 +0000)]
*** empty log message ***

23 years ago*** empty log message *** FILEUTILS-4_1
Jim Meyering [Sun, 29 Apr 2001 11:33:44 +0000 (11:33 +0000)]
*** empty log message ***

23 years ago--help:
Jim Meyering [Sun, 29 Apr 2001 11:22:48 +0000 (11:22 +0000)]
--help:
downcase bulleted items
remove some periods

23 years ago*** empty log message ***
Jim Meyering [Sun, 29 Apr 2001 08:36:21 +0000 (08:36 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 29 Apr 2001 07:02:17 +0000 (07:02 +0000)]
*** empty log message ***

23 years ago(usage): Include in --help output the warning about
Jim Meyering [Sun, 29 Apr 2001 07:01:41 +0000 (07:01 +0000)]
(usage): Include in --help output the warning about
some of the filesystem types on which shred is not effective.

23 years ago(usage): Mention shred.
Jim Meyering [Sun, 29 Apr 2001 07:01:22 +0000 (07:01 +0000)]
(usage): Mention shred.

23 years agoRefer to shred.
Jim Meyering [Sun, 29 Apr 2001 07:01:12 +0000 (07:01 +0000)]
Refer to shred.
Remove the example showing how to remove `-foo', since that is now
in the --help output (and hence automatically included).

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Apr 2001 12:30:56 +0000 (12:30 +0000)]
*** empty log message ***

23 years ago(my-distcheck): Add a comment.
Jim Meyering [Wed, 25 Apr 2001 12:30:52 +0000 (12:30 +0000)]
(my-distcheck): Add a comment.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Apr 2001 08:27:16 +0000 (08:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 24 Apr 2001 07:21:14 +0000 (07:21 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 24 Apr 2001 07:16:45 +0000 (07:16 +0000)]
*** empty log message ***

23 years agoInclude wheel-size.h.
Jim Meyering [Tue, 24 Apr 2001 07:16:28 +0000 (07:16 +0000)]
Include wheel-size.h.
(WHEEL_START): Adjust definition.
(wheel_tab[]): Remove body of definition.
Include generated file, wheel.h, instead.

23 years ago.
Jim Meyering [Tue, 24 Apr 2001 07:07:29 +0000 (07:07 +0000)]
.

23 years ago*** empty log message *** FILEUTILS-4_0_45
Jim Meyering [Mon, 23 Apr 2001 07:38:44 +0000 (07:38 +0000)]
*** empty log message ***

23 years ago(dd_copy): When using sync with either block or unblock,
Jim Meyering [Mon, 23 Apr 2001 07:38:33 +0000 (07:38 +0000)]
(dd_copy): When using sync with either block or unblock,
pad with spaces.

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Apr 2001 07:33:37 +0000 (07:33 +0000)]
*** empty log message ***

23 years ago(block-sync-1): new test, for just-fixed bug
Jim Meyering [Mon, 23 Apr 2001 07:31:17 +0000 (07:31 +0000)]
(block-sync-1): new test, for just-fixed bug

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 21:37:36 +0000 (21:37 +0000)]
*** empty log message ***

23 years agofix typo in comment
Jim Meyering [Sun, 22 Apr 2001 21:35:11 +0000 (21:35 +0000)]
fix typo in comment

23 years ago(decode_switches): Ensure that -1 has no effect when it follows -l.
Jim Meyering [Sun, 22 Apr 2001 21:34:20 +0000 (21:34 +0000)]
(decode_switches): Ensure that -1 has no effect when it follows -l.

23 years ago*** empty log message *** TEXTUTILS-2_0_14
Jim Meyering [Sun, 22 Apr 2001 16:52:23 +0000 (16:52 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 22 Apr 2001 16:50:47 +0000 (16:50 +0000)]
.

23 years agofix typo in --help output
Jim Meyering [Sun, 22 Apr 2001 11:44:56 +0000 (11:44 +0000)]
fix typo in --help output

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 10:14:20 +0000 (10:14 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 10:12:59 +0000 (10:12 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 10:12:25 +0000 (10:12 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 22 Apr 2001 10:09:21 +0000 (10:09 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 09:16:14 +0000 (09:16 +0000)]
*** empty log message ***

23 years ago(main): Fix off-by-one error introduced with last change.
Jim Meyering [Sun, 22 Apr 2001 09:15:17 +0000 (09:15 +0000)]
(main): Fix off-by-one error introduced with last change.

23 years agocheck -R, too
Jim Meyering [Sun, 22 Apr 2001 09:14:14 +0000 (09:14 +0000)]
check -R, too

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 09:11:08 +0000 (09:11 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 09:10:29 +0000 (09:10 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 09:08:53 +0000 (09:08 +0000)]
*** empty log message ***

23 years ago(TESTS): Add no-arg.
Jim Meyering [Sun, 22 Apr 2001 09:08:45 +0000 (09:08 +0000)]
(TESTS): Add no-arg.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 08:31:40 +0000 (08:31 +0000)]
*** empty log message ***

23 years agoFix bugs when computing length of large files.
Jim Meyering [Sun, 22 Apr 2001 08:31:24 +0000 (08:31 +0000)]
Fix bugs when computing length of large files.
Add overflow and write error checks.  Use uint_fast32_t, not
unsigned long, to do checksum calculation, as C99 says
uint_fast32_t should be no slower and might be faster.

Include <stdio.h> and "system.h" even if CRCTAB is defined,
so that the code will compile if CRCTAB is defined.
Include "human.h" if CRCTAB is not defined.
(uint_fast32_t): Define if it appears that stdint.h didn't.
(BIT, remainder, main, crctab): Use uint_fast32_t, not unsigned long,
for checksums.
(fill_r, remainder, main): Use ANSI prototypes.
(fill_r, remainder, main): Omit duplicate code.
(main): Use uintmax_t, not unsigned long, for file lengths.
Use size_t, not long, for result of fread.
Check for overflow when computing file lengths.
Check for write error immediately after printing a line, so that
we don't write to stdout indefinitely after an error.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 07:29:13 +0000 (07:29 +0000)]
*** empty log message ***

23 years ago(usage): Mention that sync makes dd pad with spaces (rather than NULs)
Jim Meyering [Sun, 22 Apr 2001 07:28:58 +0000 (07:28 +0000)]
(usage): Mention that sync makes dd pad with spaces (rather than NULs)
when used with block or unblock.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Apr 2001 07:28:11 +0000 (07:28 +0000)]
*** empty log message ***

23 years ago*** empty log message *** FILEUTILS-4_0_44
Jim Meyering [Sat, 21 Apr 2001 18:26:19 +0000 (18:26 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 17:52:02 +0000 (17:52 +0000)]
*** empty log message ***

23 years agoWrite to a new file, so that a restrictive umask doesn't interfere.
Jim Meyering [Sat, 21 Apr 2001 17:51:46 +0000 (17:51 +0000)]
Write to a new file, so that a restrictive umask doesn't interfere.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:39:33 +0000 (14:39 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:39:14 +0000 (14:39 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:36:32 +0000 (14:36 +0000)]
*** empty log message ***

23 years agoEnsure that initial group id's are properly set for `d' and `d/f3'.
Jim Meyering [Sat, 21 Apr 2001 14:36:20 +0000 (14:36 +0000)]
Ensure that initial group id's are properly set for `d' and `d/f3'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:08:04 +0000 (14:08 +0000)]
*** empty log message ***

23 years agoCheck for chsize.
Jim Meyering [Sat, 21 Apr 2001 14:08:00 +0000 (14:08 +0000)]
Check for chsize.
Link with ftruncate.o unconditionally if ftruncate is missing.
This was required when cross-compiling to i586-mingw32msvc.

23 years ago.
Jim Meyering [Sat, 21 Apr 2001 10:22:34 +0000 (10:22 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 10:04:15 +0000 (10:04 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 10:01:29 +0000 (10:01 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 09:49:09 +0000 (09:49 +0000)]
*** empty log message ***

23 years ago(main): When given two or more arguments but the only one
Jim Meyering [Sat, 21 Apr 2001 09:47:39 +0000 (09:47 +0000)]
(main): When given two or more arguments but the only one
that exists is a directory, don't treat it as if it were the only
argument.  Before, `mkdir d; ls no-dir d 2>/dev/null' would act like
`ls d' and produce no output.  Now, it prints `d:'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 08:45:20 +0000 (08:45 +0000)]
*** empty log message ***

23 years agotests for latest fix
Jim Meyering [Sat, 21 Apr 2001 08:41:38 +0000 (08:41 +0000)]
tests for latest fix

23 years ago*** empty log message ***
Jim Meyering [Fri, 20 Apr 2001 17:33:48 +0000 (17:33 +0000)]
*** empty log message ***

23 years ago(false invocation): Describe how --help and
Jim Meyering [Fri, 20 Apr 2001 17:33:43 +0000 (17:33 +0000)]
(false invocation): Describe how --help and
--version are treated with and without POSIXLY_CORRECT.
(true invocation): Likewise.