platform/upstream/coreutils.git
24 years agodon't hard-code `rm'
Jim Meyering [Tue, 2 May 2000 06:56:31 +0000 (06:56 +0000)]
don't hard-code `rm'

24 years ago(usage): Add the answer to `How do I remove a file named -f?'
Jim Meyering [Tue, 2 May 2000 06:55:49 +0000 (06:55 +0000)]
(usage): Add the answer to `How do I remove a file named -f?'

24 years ago*** empty log message ***
Jim Meyering [Mon, 1 May 2000 14:59:21 +0000 (14:59 +0000)]
*** empty log message ***

24 years ago(full_write): Remove `FIXME' part of comment.
Jim Meyering [Mon, 1 May 2000 14:40:08 +0000 (14:40 +0000)]
(full_write): Remove `FIXME' part of comment.

24 years ago*** empty log message ***
Jim Meyering [Mon, 1 May 2000 14:15:17 +0000 (14:15 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 1 May 2000 14:10:38 +0000 (14:10 +0000)]
*** empty log message ***

24 years ago(change_attributes): Don't remove the destination file upon failure.
Jim Meyering [Mon, 1 May 2000 14:09:19 +0000 (14:09 +0000)]
(change_attributes): Don't remove the destination file upon failure.

24 years ago[checked in with intention to back out...]
Jim Meyering [Mon, 1 May 2000 13:55:09 +0000 (13:55 +0000)]
[checked in with intention to back out...]
(change_attributes): Unlink the destination file
if either of the chown or the chmod calls fails.  Don't even attempt
the chmod if the chown fails.
Suggestion from Marc Olzheim.

24 years ago.
Jim Meyering [Mon, 1 May 2000 11:40:52 +0000 (11:40 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 1 May 2000 08:36:29 +0000 (08:36 +0000)]
*** empty log message ***

24 years agoUse AC_MSG_CHECKING instead of obsolete AC_CHECKING.
Jim Meyering [Mon, 1 May 2000 08:36:13 +0000 (08:36 +0000)]
Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.

24 years agofix typos
Jim Meyering [Mon, 1 May 2000 08:32:35 +0000 (08:32 +0000)]
fix typos

24 years ago*** empty log message ***
Jim Meyering [Mon, 1 May 2000 08:29:38 +0000 (08:29 +0000)]
*** empty log message ***

24 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Jim Meyering [Mon, 1 May 2000 08:29:28 +0000 (08:29 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Based on a patch from Bruno Haible.

24 years ago(read_filesystem_list): Add BeOS support.
Jim Meyering [Mon, 1 May 2000 08:03:33 +0000 (08:03 +0000)]
(read_filesystem_list): Add BeOS support.

24 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Jim Meyering [Mon, 1 May 2000 07:58:34 +0000 (07:58 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.

24 years ago*** empty log message ***
Jim Meyering [Sun, 30 Apr 2000 21:48:27 +0000 (21:48 +0000)]
*** empty log message ***

24 years ago(O_NOCTTY): Define if not defined already.
Jim Meyering [Sun, 30 Apr 2000 21:48:23 +0000 (21:48 +0000)]
(O_NOCTTY): Define if not defined already.
(touch): Add O_NOCTTY to the flags passed to open.

24 years ago.
Jim Meyering [Sun, 30 Apr 2000 16:25:54 +0000 (16:25 +0000)]
.

24 years ago.
Jim Meyering [Sun, 30 Apr 2000 16:25:30 +0000 (16:25 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 30 Apr 2000 16:25:24 +0000 (16:25 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sun, 30 Apr 2000 16:24:00 +0000 (16:24 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 30 Apr 2000 16:20:57 +0000 (16:20 +0000)]
*** empty log message ***

24 years agotweak comment
Jim Meyering [Sun, 30 Apr 2000 16:19:57 +0000 (16:19 +0000)]
tweak comment

24 years agoDetect and terminate upon write failure.
Jim Meyering [Sun, 30 Apr 2000 16:19:06 +0000 (16:19 +0000)]
Detect and terminate upon write failure.

24 years agoalphabetize
Jim Meyering [Sun, 30 Apr 2000 11:19:35 +0000 (11:19 +0000)]
alphabetize

24 years ago*** empty log message *** FILEUTILS-4_0r
Jim Meyering [Sat, 29 Apr 2000 10:18:29 +0000 (10:18 +0000)]
*** empty log message ***

24 years ago[LSTAT_FOLLOWS_SLASHED_SYMLINK] (lstat): Define to rpl_lstat.
Jim Meyering [Sat, 29 Apr 2000 10:17:42 +0000 (10:17 +0000)]
[LSTAT_FOLLOWS_SLASHED_SYMLINK] (lstat): Define to rpl_lstat.

24 years agouse an all-symbolic mode string
Jim Meyering [Sat, 29 Apr 2000 09:37:44 +0000 (09:37 +0000)]
use an all-symbolic mode string

24 years ago*** empty log message ***
Jim Meyering [Sat, 29 Apr 2000 09:25:58 +0000 (09:25 +0000)]
*** empty log message ***

24 years agoDeclare strdup only if it's not defined.
Jim Meyering [Sat, 29 Apr 2000 09:25:09 +0000 (09:25 +0000)]
Declare strdup only if it's not defined.

24 years ago*** empty log message ***
Jim Meyering [Sat, 29 Apr 2000 08:44:40 +0000 (08:44 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 29 Apr 2000 08:44:11 +0000 (08:44 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 28 Apr 2000 16:50:24 +0000 (16:50 +0000)]
*** empty log message ***

24 years ago[HAVE_LIMITS_H]: Include limits.h before regex.h to avoid
Jim Meyering [Fri, 28 Apr 2000 16:49:38 +0000 (16:49 +0000)]
[HAVE_LIMITS_H]: Include limits.h before regex.h to avoid
redefinition warning on some systems (HPUX).  Otherwise, regex.h is
included first, then limits.h is included by locale.h by libintl.h.
From John David Anglin.

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:27:08 +0000 (12:27 +0000)]
*** empty log message ***

24 years ago(pop_dir): Remove through_symlink arg; use null cwd
Jim Meyering [Thu, 27 Apr 2000 12:23:59 +0000 (12:23 +0000)]
(pop_dir): Remove through_symlink arg; use null cwd
for that purpose instead.
(count_entry): Also save the directory if we're saving more
than one level.
Fix file descriptor and memory leak when chdir fails.

24 years ago.
Jim Meyering [Thu, 27 Apr 2000 12:19:38 +0000 (12:19 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:17:43 +0000 (12:17 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:15:23 +0000 (12:15 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Thu, 27 Apr 2000 12:13:20 +0000 (12:13 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:13:11 +0000 (12:13 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:12:42 +0000 (12:12 +0000)]
*** empty log message ***

24 years agofix typo
Jim Meyering [Thu, 27 Apr 2000 12:10:38 +0000 (12:10 +0000)]
fix typo

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 12:09:44 +0000 (12:09 +0000)]
*** empty log message ***

24 years agoUse mkdir, not $MKDIR.
Jim Meyering [Thu, 27 Apr 2000 12:08:59 +0000 (12:08 +0000)]
Use mkdir, not $MKDIR.

24 years ago(TESTS_ENVIRONMENT): Set PATH, not MKDIR.
Jim Meyering [Thu, 27 Apr 2000 12:08:19 +0000 (12:08 +0000)]
(TESTS_ENVIRONMENT): Set PATH, not MKDIR.

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 08:31:18 +0000 (08:31 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:47:05 +0000 (06:47 +0000)]
*** empty log message ***

24 years agotweak comment
Jim Meyering [Thu, 27 Apr 2000 06:46:13 +0000 (06:46 +0000)]
tweak comment

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:44:20 +0000 (06:44 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:36:05 +0000 (06:36 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:34:07 +0000 (06:34 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:30:59 +0000 (06:30 +0000)]
*** empty log message ***

24 years ago(TESTS): Add special-1.
Jim Meyering [Thu, 27 Apr 2000 06:30:26 +0000 (06:30 +0000)]
(TESTS): Add special-1.

24 years ago*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 21:59:34 +0000 (21:59 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 21:59:01 +0000 (21:59 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:55:48 +0000 (12:55 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:54:26 +0000 (12:54 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:52:54 +0000 (12:52 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 26 Apr 2000 12:43:19 +0000 (12:43 +0000)]
*** empty log message ***

24 years agoRename global: s/path_mode/create_parents/.
Jim Meyering [Wed, 26 Apr 2000 12:43:12 +0000 (12:43 +0000)]
Rename global: s/path_mode/create_parents/.
(main): No longer perform explicit chmod when creating
parent directories, since make_path now does the chmod.

24 years ago.
Jim Meyering [Wed, 26 Apr 2000 12:36:49 +0000 (12:36 +0000)]
.

24 years ago(S_IRWXUGO): Define.
Jim Meyering [Wed, 26 Apr 2000 12:36:43 +0000 (12:36 +0000)]
(S_IRWXUGO): Define.
(make_path): Always perform explicit chmod if MODE specifies any
of the `special' permission bits.

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Apr 2000 15:36:15 +0000 (15:36 +0000)]
*** empty log message ***

24 years ago[__BEOS__]: Ignore O_BINARY and O_TEXT.
Jim Meyering [Wed, 19 Apr 2000 15:36:05 +0000 (15:36 +0000)]
[__BEOS__]: Ignore O_BINARY and O_TEXT.

24 years ago*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 17:28:34 +0000 (17:28 +0000)]
*** empty log message ***

24 years agoadd comment
Jim Meyering [Tue, 18 Apr 2000 13:41:26 +0000 (13:41 +0000)]
add comment

24 years ago*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:40:29 +0000 (13:40 +0000)]
*** empty log message ***

24 years ago[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.
Jim Meyering [Tue, 18 Apr 2000 13:40:25 +0000 (13:40 +0000)]
[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.
For BeOS.  Based on a patch from Bruno Haible.

24 years ago*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:35:22 +0000 (13:35 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_GETPAGESIZE): New macro.
Jim Meyering [Tue, 18 Apr 2000 13:35:18 +0000 (13:35 +0000)]
(jm_PREREQ_GETPAGESIZE): New macro.
(jm_PREREQ): Use it.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Apr 2000 11:39:36 +0000 (11:39 +0000)]
*** empty log message ***

24 years ago(my_strftime) [strftime]: Declare strftime here, since the definition
Jim Meyering [Mon, 17 Apr 2000 11:39:26 +0000 (11:39 +0000)]
(my_strftime) [strftime]: Declare strftime here, since the definition
of it to rpl_strftime also defined-away the system's declaration.

24 years ago.
Jim Meyering [Mon, 17 Apr 2000 11:26:33 +0000 (11:26 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Apr 2000 09:56:02 +0000 (09:56 +0000)]
*** empty log message ***

24 years agoGet it right :-)
Jim Meyering [Mon, 17 Apr 2000 09:55:53 +0000 (09:55 +0000)]
Get it right :-)
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
Suggestion from Akim Demaille.

24 years agoAccept new option: --from=CURRENT_OWNER:CURRENT_GROUP.
Jim Meyering [Mon, 17 Apr 2000 08:19:52 +0000 (08:19 +0000)]
Accept new option: --from=CURRENT_OWNER:CURRENT_GROUP.
(enum) [FROM_OPTION]: New member.
(long_options): New getopt spec.
(change_file_owner): Add old_user, old_group parameters.  Use them.
(change_dir_owner): Likewise.
(usage): Describe.
(main): New case.

24 years agoDon't remove support for --max-consecutive-size-changes just yet...
Jim Meyering [Mon, 17 Apr 2000 06:49:07 +0000 (06:49 +0000)]
Don't remove support for --max-consecutive-size-changes just yet...

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Apr 2000 16:28:46 +0000 (16:28 +0000)]
*** empty log message ***

24 years ago(tail invocation): Remove description.
Jim Meyering [Sun, 16 Apr 2000 16:03:44 +0000 (16:03 +0000)]
(tail invocation): Remove description.

24 years agoRemove option: --max-consecutive-size-changes=N.
Jim Meyering [Sun, 16 Apr 2000 16:03:34 +0000 (16:03 +0000)]
Remove option: --max-consecutive-size-changes=N.
Doesn't seem useful.
(usage): Remove description.

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Apr 2000 13:51:27 +0000 (13:51 +0000)]
*** empty log message ***

24 years agoNew option: --strip-trailing-slashes.
Jim Meyering [Sun, 16 Apr 2000 13:51:22 +0000 (13:51 +0000)]
New option: --strip-trailing-slashes.
(enum) [STRIP_TRAILING_SLASHES_OPTION]: New member.
(remove_trailing_slashes): New global.
(long_opts): New getopt spec.
(usage): Describe.
(do_copy): Strip trailing slashes on SOURCE names only if the new
option has been specified.
(main): New case.

24 years ago(TESTS): Add symlink-slash.
Jim Meyering [Sun, 16 Apr 2000 13:49:22 +0000 (13:49 +0000)]
(TESTS): Add symlink-slash.

24 years ago*** empty log message ***
Jim Meyering [Sun, 16 Apr 2000 13:48:38 +0000 (13:48 +0000)]
*** empty log message ***

24 years agoadd comment
Jim Meyering [Sun, 16 Apr 2000 12:16:03 +0000 (12:16 +0000)]
add comment

24 years ago.
Jim Meyering [Sat, 15 Apr 2000 22:04:06 +0000 (22:04 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 15 Apr 2000 21:58:37 +0000 (21:58 +0000)]
*** empty log message ***

24 years agoUse `C' to denote so-called `contiguous' files, the same way that tar does.
Jim Meyering [Sat, 15 Apr 2000 21:54:46 +0000 (21:54 +0000)]
Use `C' to denote so-called `contiguous' files, the same way that tar does.
* filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define.
(ftypelet): Use S_ISCTG.

24 years ago*** empty log message ***
Jim Meyering [Sat, 15 Apr 2000 21:48:58 +0000 (21:48 +0000)]
*** empty log message ***

24 years agotweak copyright date
Jim Meyering [Fri, 14 Apr 2000 16:12:16 +0000 (16:12 +0000)]
tweak copyright date

24 years ago*** empty log message ***
Jim Meyering [Fri, 14 Apr 2000 15:42:02 +0000 (15:42 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
Jim Meyering [Fri, 14 Apr 2000 15:41:06 +0000 (15:41 +0000)]
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.

24 years agoShorten `#ifdef HAVE_...' to `#if HAVE_...' and
Jim Meyering [Fri, 14 Apr 2000 12:41:05 +0000 (12:41 +0000)]
Shorten `#ifdef HAVE_...' to `#if HAVE_...' and
remove unnecessary uses of `defined' (aesthetics).

24 years ago*** empty log message ***
Jim Meyering [Thu, 13 Apr 2000 08:37:57 +0000 (08:37 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Thu, 13 Apr 2000 08:34:47 +0000 (08:34 +0000)]
.

24 years ago.
Jim Meyering [Thu, 13 Apr 2000 08:16:13 +0000 (08:16 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Thu, 13 Apr 2000 08:15:07 +0000 (08:15 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
Jim Meyering [Thu, 13 Apr 2000 08:15:01 +0000 (08:15 +0000)]
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
to insert required #ifndef into config.h.in.
Suggestion from Akim Demaille.