platform/upstream/coreutils.git
24 years agoConvert --backup to take an optional argument.
Jim Meyering [Sun, 31 Oct 1999 10:42:12 +0000 (10:42 +0000)]
Convert --backup to take an optional argument.
Deprecate --version-control (-V) in comments.
(usage): Remove mention of --version-control.
(main): Make -V warn then fall through into --backup case.
[--backup case]: Handle optional arg.

24 years agotweak usage
Jim Meyering [Sun, 31 Oct 1999 10:36:54 +0000 (10:36 +0000)]
tweak usage

24 years ago.
Jim Meyering [Sun, 31 Oct 1999 10:35:47 +0000 (10:35 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 31 Oct 1999 07:43:07 +0000 (07:43 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 31 Oct 1999 07:32:05 +0000 (07:32 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Oct 1999 16:27:10 +0000 (16:27 +0000)]
*** empty log message ***

24 years agoRemove file, since the fix made it into the experimental version of autoconf.
Jim Meyering [Sat, 30 Oct 1999 16:27:04 +0000 (16:27 +0000)]
Remove file, since the fix made it into the experimental version of autoconf.

24 years agoindent more prettily
Jim Meyering [Sat, 30 Oct 1999 16:20:29 +0000 (16:20 +0000)]
indent more prettily

24 years agoremove stray comma
Jim Meyering [Sat, 30 Oct 1999 16:20:05 +0000 (16:20 +0000)]
remove stray comma

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Oct 1999 11:28:41 +0000 (11:28 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sat, 30 Oct 1999 11:24:34 +0000 (11:24 +0000)]
.

24 years ago.
Jim Meyering [Sat, 30 Oct 1999 11:24:14 +0000 (11:24 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Oct 1999 08:11:41 +0000 (08:11 +0000)]
*** empty log message ***

24 years agoRequire 2.14a. Remove backslash before backtick in m4-quoted string.
Jim Meyering [Sat, 30 Oct 1999 08:11:32 +0000 (08:11 +0000)]
Require 2.14a.  Remove backslash before backtick in m4-quoted string.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Oct 1999 08:10:40 +0000 (08:10 +0000)]
*** empty log message ***

24 years agoRequire 2.14a. Remove backslash before backtick in m4-quoted string.
Jim Meyering [Sat, 30 Oct 1999 08:09:10 +0000 (08:09 +0000)]
Require 2.14a.  Remove backslash before backtick in m4-quoted string.

24 years agoUse new AC_TYPE_SSIZE_T instead of my hacked AC_CHECK_TYPE.
Jim Meyering [Sat, 30 Oct 1999 08:08:57 +0000 (08:08 +0000)]
Use new AC_TYPE_SSIZE_T instead of my hacked AC_CHECK_TYPE.
Require 2.14a.  Remove backslash before backtick in m4-quoted string.

24 years agoRemove file, since the fix made it into the experimental
Jim Meyering [Sat, 30 Oct 1999 07:58:08 +0000 (07:58 +0000)]
Remove file, since the fix made it into the experimental
version of autoconf.

24 years agoNew file, requires experimental version of autoconf.
Jim Meyering [Sat, 30 Oct 1999 07:53:04 +0000 (07:53 +0000)]
New file, requires experimental version of autoconf.

24 years agoRemove file, now that latest version of AC_CHECK_TYPE
Jim Meyering [Sat, 30 Oct 1999 07:52:40 +0000 (07:52 +0000)]
Remove file, now that latest version of AC_CHECK_TYPE
takes a third arg to specify additional #includes.

24 years ago(usage): Tweak --backup description
Jim Meyering [Sat, 30 Oct 1999 07:04:01 +0000 (07:04 +0000)]
(usage): Tweak --backup description

24 years ago.
Jim Meyering [Sat, 30 Oct 1999 07:03:18 +0000 (07:03 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 30 Oct 1999 06:32:42 +0000 (06:32 +0000)]
*** empty log message ***

24 years agoConvert --backup to take an optional argument.
Jim Meyering [Sat, 30 Oct 1999 06:30:56 +0000 (06:30 +0000)]
Convert --backup to take an optional argument.
Deprecate --version-control (-V) in comments.
(usage): Remove mention of --version-control.
(main): Make -V warn then fall through into --backup case.
[--backup case]: Handle optional arg.

24 years ago(do_copy): Constify `dest', and cast-away the new
Jim Meyering [Sun, 24 Oct 1999 21:28:37 +0000 (21:28 +0000)]
(do_copy): Constify `dest', and cast-away the new
const in assignment to new_dest.

24 years agoadd missing program_name arg to match new usage %s
Jim Meyering [Sun, 24 Oct 1999 21:26:51 +0000 (21:26 +0000)]
add missing program_name arg to match new usage %s

24 years ago.
Jim Meyering [Sun, 24 Oct 1999 17:00:35 +0000 (17:00 +0000)]
.

24 years agolabel use of -V/--versin-control as a warning
Jim Meyering [Sat, 23 Oct 1999 15:32:01 +0000 (15:32 +0000)]
label use of -V/--versin-control as a warning

24 years ago.
Jim Meyering [Sat, 23 Oct 1999 13:31:09 +0000 (13:31 +0000)]
.

24 years agoimport version 1.015
Jim Meyering [Sat, 23 Oct 1999 13:30:28 +0000 (13:30 +0000)]
import version 1.015

24 years ago*** empty log message ***
Jim Meyering [Sat, 23 Oct 1999 13:25:05 +0000 (13:25 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 23 Oct 1999 13:18:34 +0000 (13:18 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 23 Oct 1999 13:18:10 +0000 (13:18 +0000)]
*** empty log message ***

24 years ago(TESTS): Add dangling-symlink.
Jim Meyering [Sat, 23 Oct 1999 13:16:50 +0000 (13:16 +0000)]
(TESTS): Add dangling-symlink.

24 years ago*** empty log message ***
Jim Meyering [Sat, 23 Oct 1999 11:46:48 +0000 (11:46 +0000)]
*** empty log message ***

24 years ago(full_write): Remove unused decl.
Jim Meyering [Sat, 23 Oct 1999 11:46:03 +0000 (11:46 +0000)]
(full_write): Remove unused decl.
(open_maybe_create): Remove.
(touch): Don't record whether the file was created; this isn't
possible to do reliably and portably without race conditions.
If the file was created and if amtime_now is nonzero, this
change means we'll have to do another utime system call, but
that's no more harmful than the previous version of this code.

24 years ago*** empty log message ***
Jim Meyering [Sun, 17 Oct 1999 21:33:49 +0000 (21:33 +0000)]
*** empty log message ***

24 years agoRemove use of mv's now-deprecated
Jim Meyering [Sun, 17 Oct 1999 21:33:38 +0000 (21:33 +0000)]
Remove use of mv's now-deprecated
-V option.  Use --b=simple instead of -b -V simple.

24 years agoConvert --backup to take an optional argument.
Jim Meyering [Sun, 17 Oct 1999 21:31:45 +0000 (21:31 +0000)]
Convert --backup to take an optional argument.
Deprecate --version-control (-V) in comments.
(usage): Remove mention of --version-control.
(main): Make -V warn then fall through into --backup case.
[--backup case]: Handle optional arg.

24 years ago*** empty log message ***
Jim Meyering [Sun, 17 Oct 1999 21:31:04 +0000 (21:31 +0000)]
*** empty log message ***

24 years agouse x, y, not a, b.
Jim Meyering [Sun, 17 Oct 1999 21:29:15 +0000 (21:29 +0000)]
use x, y, not a, b.

24 years agoadapt to work for mv, too
Jim Meyering [Sun, 17 Oct 1999 21:24:26 +0000 (21:24 +0000)]
adapt to work for mv, too

24 years agochange a message and add usage(1) to another.
Jim Meyering [Sun, 17 Oct 1999 16:26:30 +0000 (16:26 +0000)]
change a message and add usage(1) to another.

24 years ago*** empty log message ***
Jim Meyering [Sun, 17 Oct 1999 10:04:10 +0000 (10:04 +0000)]
*** empty log message ***

24 years agoAccept new option: --target-directory=DIR
Jim Meyering [Sun, 17 Oct 1999 10:01:30 +0000 (10:01 +0000)]
Accept new option: --target-directory=DIR
(TARGET_DIRECTORY_OPTION): Define.
(SPARSE_OPTION): Define.
(usage): Describe it.
(do_copy): Change meanings/names of first two parameters: use `n_files'
in place of `argc - optind', and `file' instead of `argv + optind'.
Add parameter, target_directory.
(main): Pass new arg, target_directory.

24 years agodon't compute isdir() of -- or an option string
Jim Meyering [Sun, 17 Oct 1999 07:39:20 +0000 (07:39 +0000)]
don't compute isdir() of -- or an option string

24 years agoremove last `,' in enum
Jim Meyering [Sun, 17 Oct 1999 07:25:34 +0000 (07:25 +0000)]
remove last `,' in enum

24 years ago(TESTS): Add cp-mv-backup.
Jim Meyering [Sat, 16 Oct 1999 14:52:40 +0000 (14:52 +0000)]
(TESTS): Add cp-mv-backup.

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Oct 1999 14:51:45 +0000 (14:51 +0000)]
*** empty log message ***

24 years agoRemove use of cp's now-deprecated --version-control option.
Jim Meyering [Sat, 16 Oct 1999 14:50:26 +0000 (14:50 +0000)]
Remove use of cp's now-deprecated --version-control option.

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Oct 1999 14:48:25 +0000 (14:48 +0000)]
*** empty log message ***

24 years agoConvert --backup to take an optional argument.
Jim Meyering [Sat, 16 Oct 1999 14:48:16 +0000 (14:48 +0000)]
Convert --backup to take an optional argument.
Deprecate --version-control (-V) in comments.
(usage): Remove mention of --version-control.
(main): Make -V warn then fall through into --backup case.
[--backup case]: Handle optional arg.

24 years agoRemove use of cp's now-deprecated -V option.
Jim Meyering [Sat, 16 Oct 1999 14:44:17 +0000 (14:44 +0000)]
Remove use of cp's now-deprecated -V option.
Use --b=simple instead of -b -V simple.

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Oct 1999 13:49:28 +0000 (13:49 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Oct 1999 13:39:50 +0000 (13:39 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 16 Oct 1999 13:13:39 +0000 (13:13 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 11 Oct 1999 14:04:32 +0000 (14:04 +0000)]
*** empty log message ***

24 years agoupdate from GNU lib C
Jim Meyering [Mon, 11 Oct 1999 12:39:14 +0000 (12:39 +0000)]
update from GNU lib C

24 years ago*** empty log message ***
Jim Meyering [Mon, 11 Oct 1999 12:39:09 +0000 (12:39 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 11 Oct 1999 12:38:55 +0000 (12:38 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 9 Oct 1999 13:22:57 +0000 (13:22 +0000)]
*** empty log message ***

24 years agoAccept new option: --target-directory=DIR
Jim Meyering [Sat, 9 Oct 1999 13:22:08 +0000 (13:22 +0000)]
Accept new option: --target-directory=DIR
(TARGET_DIRECTORY_OPTION): Define.
(usage): Describe it.
(main): Implement it.
Make code clearer:  use new variable `n_files' in place of
`argc - optind'.  Use `file' instead of `argv + optind'.

24 years ago*** empty log message ***
Jim Meyering [Thu, 7 Oct 1999 12:46:15 +0000 (12:46 +0000)]
*** empty log message ***

24 years agoDon't require autoconf-2.14.1.
Jim Meyering [Mon, 4 Oct 1999 07:51:44 +0000 (07:51 +0000)]
Don't require autoconf-2.14.1.

24 years ago*** empty log message ***
Jim Meyering [Mon, 4 Oct 1999 07:51:26 +0000 (07:51 +0000)]
*** empty log message ***

24 years ago(__attribute__): Wrap with #ifndef __attribute__.
Jim Meyering [Mon, 4 Oct 1999 06:04:19 +0000 (06:04 +0000)]
(__attribute__): Wrap with #ifndef __attribute__.

24 years ago(__attribute__): Define to empty if GCC claims to
Jim Meyering [Mon, 4 Oct 1999 06:02:41 +0000 (06:02 +0000)]
(__attribute__): Define to empty if GCC claims to
be before 2.8; this is needed for OPENStep 4.2 cc.  Also,
define to empty if strict ANSI.

24 years ago(__attribute__): Define to empty if GCC claims to
Jim Meyering [Mon, 4 Oct 1999 05:59:37 +0000 (05:59 +0000)]
(__attribute__): Define to empty if GCC claims to
be before 2.8; this is needed for OPENStep 4.2 cc.  Also,
define to empty if strict ANSI.

24 years ago(TARGET_DIRECTORY_OPTION): Define.
Jim Meyering [Sun, 3 Oct 1999 16:59:07 +0000 (16:59 +0000)]
(TARGET_DIRECTORY_OPTION): Define.
(usage): Describe it.
(main): Implement it.
Remove unused variable, stdin_tty.
Make code clearer:  use new variable `n_files' in place of
`argc - optind'.  Use `file' instead of `argv + optind'.

24 years agoanother example for tr -- illustrating problems with `-' in ranges..
Jim Meyering [Sat, 2 Oct 1999 11:46:53 +0000 (11:46 +0000)]
another example for tr -- illustrating problems with `-' in ranges..

24 years ago*** empty log message ***
Jim Meyering [Sat, 2 Oct 1999 11:42:26 +0000 (11:42 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sat, 2 Oct 1999 11:12:34 +0000 (11:12 +0000)]
.

24 years ago.
Jim Meyering [Sat, 2 Oct 1999 11:12:06 +0000 (11:12 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Wed, 29 Sep 1999 14:44:36 +0000 (14:44 +0000)]
*** empty log message ***

24 years ago(AC_SYS_LARGEFILE_FLAGS): Work around GCC 2.95.1 bug with HP-UX 10.20.
Jim Meyering [Wed, 29 Sep 1999 14:44:31 +0000 (14:44 +0000)]
(AC_SYS_LARGEFILE_FLAGS): Work around GCC 2.95.1 bug with HP-UX 10.20.

24 years agoDo s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.
Jim Meyering [Tue, 28 Sep 1999 16:22:54 +0000 (16:22 +0000)]
Do s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.
Do the same for other config.h macros like CLOSEDIR_VOID and MAJOR_*.

24 years agoDo s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.
Jim Meyering [Tue, 28 Sep 1999 16:22:38 +0000 (16:22 +0000)]
Do s/#ifdef HAVE_/#if HAVE_/ -- solely for aesthetics.

24 years ago*** empty log message ***
Jim Meyering [Tue, 28 Sep 1999 15:27:13 +0000 (15:27 +0000)]
*** empty log message ***

24 years ago(__attribute__): Protect against redefinition.
Jim Meyering [Tue, 28 Sep 1999 15:26:45 +0000 (15:26 +0000)]
(__attribute__): Protect against redefinition.

24 years ago*** empty log message ***
Jim Meyering [Tue, 28 Sep 1999 14:48:53 +0000 (14:48 +0000)]
*** empty log message ***

24 years ago(error_at_line): Use strerror portably here, too,
Jim Meyering [Tue, 28 Sep 1999 14:48:43 +0000 (14:48 +0000)]
(error_at_line): Use strerror portably here, too,
just as was done in error.

24 years ago.
Jim Meyering [Sun, 26 Sep 1999 22:36:11 +0000 (22:36 +0000)]
.

24 years ago(xalloc_die): Rename from xalloc_fail and update callers.
Jim Meyering [Sun, 26 Sep 1999 19:05:39 +0000 (19:05 +0000)]
(xalloc_die): Rename from xalloc_fail and update callers.
Use explicit exit to help avoid warnings.

24 years agosmall correction from Akim
Jim Meyering [Sun, 26 Sep 1999 19:01:12 +0000 (19:01 +0000)]
small correction from Akim

24 years ago*** empty log message ***
Jim Meyering [Sun, 26 Sep 1999 18:53:01 +0000 (18:53 +0000)]
*** empty log message ***

24 years ago(DIRECTORY_SEPARATOR): Define.
Jim Meyering [Sun, 26 Sep 1999 18:52:51 +0000 (18:52 +0000)]
(DIRECTORY_SEPARATOR): Define.
(ISSLASH): Define.
(path_concat): Allow parameter DIR to be NULL.
(xpath_concat): New function.
From Akim Demaille.

24 years ago(__attribute__): Define.
Jim Meyering [Sun, 26 Sep 1999 18:42:56 +0000 (18:42 +0000)]
(__attribute__): Define.
(ATTRIBUTE_NORETURN): Define.
(xalloc_fail_func): Add noreturn attribute.
(xalloc_die): Declare.
(NEW): Define as yet unused macro.
(XFREE): Likewise
(CCLONE): Likewise.
(CLONE): Likewise.
From Akim Demaille.

24 years ago(base_name): Add prototype. From Akim Demaille.
Jim Meyering [Sun, 26 Sep 1999 18:37:02 +0000 (18:37 +0000)]
(base_name): Add prototype.  From Akim Demaille.

24 years ago.
Jim Meyering [Fri, 24 Sep 1999 07:42:42 +0000 (07:42 +0000)]
.

24 years ago.
Jim Meyering [Fri, 24 Sep 1999 07:35:42 +0000 (07:35 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 19 Sep 1999 16:48:43 +0000 (16:48 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 19 Sep 1999 16:47:58 +0000 (16:47 +0000)]
*** empty log message ***

24 years ago[STAT_MACROS_BROKEN] (S_ISLNK): Undefine.
Jim Meyering [Sun, 19 Sep 1999 16:46:50 +0000 (16:46 +0000)]
[STAT_MACROS_BROKEN] (S_ISLNK): Undefine.
(S_ISLNK): Define if necessary.
This is necessary on a NEC SX-4 with SUPER-UX 9.1.

24 years ago*** empty log message ***
Jim Meyering [Sun, 19 Sep 1999 16:45:24 +0000 (16:45 +0000)]
*** empty log message ***

24 years ago(siginfo_handler): Mark parameter with ATTRIBUTE_UNUSED.
Jim Meyering [Sun, 19 Sep 1999 16:23:17 +0000 (16:23 +0000)]
(siginfo_handler): Mark parameter with ATTRIBUTE_UNUSED.
Change lots of count and index variables to be of unsigned type.
(dd_copy): Add new unsigned variable, n_bytes_read, in place of
many uses of `nread'.

24 years ago*** empty log message ***
Jim Meyering [Sun, 19 Sep 1999 16:22:23 +0000 (16:22 +0000)]
*** empty log message ***

24 years ago(__attribute__): Define.
Jim Meyering [Sun, 19 Sep 1999 16:21:26 +0000 (16:21 +0000)]
(__attribute__): Define.
(ATTRIBUTE_NORETURN): Remove #else clause.
(ATTRIBUTE_UNUSED): Define.

24 years agoRemove useless parens in #if directive
Jim Meyering [Sun, 19 Sep 1999 08:09:50 +0000 (08:09 +0000)]
Remove useless parens in #if directive

24 years ago.
Jim Meyering [Sat, 18 Sep 1999 21:18:37 +0000 (21:18 +0000)]
.

24 years ago.
Jim Meyering [Sat, 18 Sep 1999 21:17:29 +0000 (21:17 +0000)]
.