platform/upstream/coreutils.git
23 years ago*** empty log message ***
Jim Meyering [Sun, 13 May 2001 15:23:54 +0000 (15:23 +0000)]
*** empty log message ***

23 years agoAdd new --dereference-command-line option.
Jim Meyering [Sun, 13 May 2001 15:23:20 +0000 (15:23 +0000)]
Add new --dereference-command-line option.
-H now means this instead of meaning --si, as POSIX requires.

23 years ago*** empty log message ***
Jim Meyering [Sun, 13 May 2001 15:22:28 +0000 (15:22 +0000)]
*** empty log message ***

23 years ago(run_tests): Fail if any test name is longer than 12 bytes.
Jim Meyering [Sun, 13 May 2001 15:22:23 +0000 (15:22 +0000)]
(run_tests): Fail if any test name is longer than 12 bytes.

23 years agoShorten test names so the length of a resulting file name doesn't exceed 14.
Jim Meyering [Sun, 13 May 2001 15:21:50 +0000 (15:21 +0000)]
Shorten test names so the length of a resulting file name doesn't exceed 14.

23 years agoRename slink-dir test to slink-dir-dF. Add new tests
Jim Meyering [Sun, 13 May 2001 15:14:20 +0000 (15:14 +0000)]
Rename slink-dir test to slink-dir-dF.  Add new tests
slink-dir-F, slink-dir-dFH, slink-dir-dFL.

23 years ago(enum Dereference_symlink): New type.
Jim Meyering [Sun, 13 May 2001 15:14:00 +0000 (15:14 +0000)]
(enum Dereference_symlink): New type.
(dereference): New var, replacing trace_links, which was removed.
(long_options, main, decode_switches, gobble_file, usage):
Implement the changes.

23 years ago*** empty log message ***
Jim Meyering [Sun, 13 May 2001 10:21:25 +0000 (10:21 +0000)]
*** empty log message ***

23 years ago(NODEV): New macro, if not already defined.
Jim Meyering [Sun, 13 May 2001 10:21:08 +0000 (10:21 +0000)]
(NODEV): New macro, if not already defined.

23 years ago(main): Check for overflow when converting out of uintmax_t.
Jim Meyering [Sun, 13 May 2001 10:20:36 +0000 (10:20 +0000)]
(main): Check for overflow when converting out of uintmax_t.
Do not assume that major_t and minor_t are no wider than int.
Check for makedev failures.  Convert device numbers via uintmax_t, not
unsigned long, just in case.  Coalesce duplicate code in the block and
character device cases.

23 years ago.
Jim Meyering [Sat, 12 May 2001 20:55:19 +0000 (20:55 +0000)]
.

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

23 years agoInclude "dirname.h".
Jim Meyering [Sat, 12 May 2001 16:05:51 +0000 (16:05 +0000)]
Include "dirname.h".
(base_name): Remove decl; now in dirname.h.

23 years agoInclude "dirname.h".
Jim Meyering [Sat, 12 May 2001 16:05:12 +0000 (16:05 +0000)]
Include "dirname.h".
(base_name, strip_trailing_slashes): Remove decls; now in dirname.h.
(main): Use base_len instead of strip_trailing_slashes to strip
trailing slashes.

23 years ago(strip_trailing_slashes): Remove decl; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 16:03:19 +0000 (16:03 +0000)]
(strip_trailing_slashes): Remove decl; now in dirname.h.
(main): Use dir_len rather than dir_name_r.

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

23 years ago(ISSLASH): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 15:50:27 +0000 (15:50 +0000)]
(ISSLASH): Remove; now in dirname.h.
(strip_trailing_slashes): Return nonzero if
a slash was stripped.  Do not strip the last slash after a
file system prefix.

23 years ago(base_name): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 15:48:00 +0000 (15:48 +0000)]
(base_name): Remove; now in dirname.h.
(STREQ): Remove.
(same_name): Handle the case where the basename ends in trailing '/'.

23 years ago(DIRECTORY_SEPARATOR, ISSLASH, FILESYSTEM_PREFIX_LEN): New macros.
Jim Meyering [Sat, 12 May 2001 15:46:36 +0000 (15:46 +0000)]
(DIRECTORY_SEPARATOR, ISSLASH, FILESYSTEM_PREFIX_LEN): New macros.
(base_name, base_len, dir_len, strip_trailing_slashes): New decls.

23 years ago(DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 15:45:43 +0000 (15:45 +0000)]
(DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.
(path_concat): Use base_len to compute
base length, not strlen; this means we cannot rely on memcpy
to null-terminate.

23 years agoUse "", not <> to include non-system header files.
Jim Meyering [Sat, 12 May 2001 15:41:11 +0000 (15:41 +0000)]
Use "", not <> to include non-system header files.

23 years agoUse "", not <> to include non-system header files.
Jim Meyering [Sat, 12 May 2001 15:40:47 +0000 (15:40 +0000)]
Use "", not <> to include non-system header files.

23 years agoUse "", not <> to include dirname.h.
Jim Meyering [Sat, 12 May 2001 15:39:45 +0000 (15:39 +0000)]
Use "", not <> to include dirname.h.

23 years ago(FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 15:38:00 +0000 (15:38 +0000)]
(FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.

Include <string.h> instead of <stdlib.h>.
Do not include <assert.h>; no longer needed.
Include xalloc.h.
(memrchr): Remove decl.
(dir_name_r): Remove.
(dir_len): Renamed from dirlen.  All callers changed.
Rewrite in terms of base_name, for simplicity and consistency.
(dir_name): Never return NULL.  All callers changed.
Do not include <stdlib.h> in test program; no longer needed.
return 0; is fine for test program.

23 years ago(FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 14:23:49 +0000 (14:23 +0000)]
(FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Remove; now in dirname.h.
Do not include <stdio.h>, <assert.h>; no longer needed.
Include <string.h>, <dirname.h>.
(base_name): Allow file names ending in slashes, other than names
that are all slashes.  In this case, return the basename followed
by the slashes.  This is more general, and can be used in places
where the original base_name purposely had an assertion failure.
(base_len): New function.

23 years ago(base_name): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 14:20:43 +0000 (14:20 +0000)]
(base_name): Remove; now in dirname.h.
Include <dirname.h> after size_t is defined.
(find_backup_file_name, max_backup_version): Use base_len instead of
rolling it ourselves.
Handle the case of "" and (on DOS) "C:" correctly.

23 years ago(ISSLASH, base_name): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 14:13:36 +0000 (14:13 +0000)]
(ISSLASH, base_name): Remove; now in dirname.h.
Include <dirname.h> after size_t is defined.

(addext): Use base_len to trim redundant
trailing slashes instead of doing it ourselves.
But do not trim the last slash if it is not redundant.

23 years agoInclude dirname.h.
Jim Meyering [Sat, 12 May 2001 10:05:42 +0000 (10:05 +0000)]
Include dirname.h.
(strip_trailing_slashes): Remove decl; now in dirname.h.

23 years agoInclude dirname.h.
Jim Meyering [Sat, 12 May 2001 10:05:15 +0000 (10:05 +0000)]
Include dirname.h.
(strip_trailing_slashes): Remove decl; now in dirname.h.

23 years ago.
Jim Meyering [Sat, 12 May 2001 10:04:13 +0000 (10:04 +0000)]
.

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

23 years ago(strip_trailing_slashes): Likewise.
Jim Meyering [Sat, 12 May 2001 10:03:07 +0000 (10:03 +0000)]
(strip_trailing_slashes): Likewise.
(find_mount_point): No need to strip trailing
slashes before invoking new dir_name.

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 ***