platform/upstream/coreutils.git
24 years ago(memcoll): The two arguments cannot be
Jim Meyering [Thu, 4 Nov 1999 23:13:12 +0000 (23:13 +0000)]
(memcoll): The two arguments cannot be
adjacent any more, so remove the alloca/copy workaround for
that case.

24 years ago(readline): Do not leave room for an extra
Jim Meyering [Thu, 4 Nov 1999 23:12:42 +0000 (23:12 +0000)]
(readline): Do not leave room for an extra
byte after the newline; it's no longer needed.

24 years agoDo not consider newline to be part of a line when comparing lines
Jim Meyering [Thu, 4 Nov 1999 23:12:13 +0000 (23:12 +0000)]
Do not consider newline to be part of a line when comparing lines
in `sort' and `comm'.  POSIX.2 requires that we consider newline,
but this is a bug in the spec and the bug will likely be fixed.

Update tests `use-nl' and `11d' to reflect this change.

24 years ago(begfield, limfield, findlines, keycompare, compare):
Jim Meyering [Thu, 4 Nov 1999 23:11:34 +0000 (23:11 +0000)]
(begfield, limfield, findlines, keycompare, compare):
Do not consider newline to be part of a line when comparing lines
in `sort' and `comm'.  POSIX.2 requires that we consider newline,
but this is a bug in the spec and the bug will likely be fixed.

24 years ago(compare_files):
Jim Meyering [Thu, 4 Nov 1999 23:11:03 +0000 (23:11 +0000)]
(compare_files):
Do not consider newline to be part of a line when comparing lines
in `sort' and `comm'.  POSIX.2 requires that we consider newline,
but this is a bug in the spec and the bug will likely be fixed.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 Nov 1999 17:24:39 +0000 (17:24 +0000)]
*** empty log message ***

24 years agoRemove file. No longer needed since the new version of
Jim Meyering [Wed, 3 Nov 1999 17:24:33 +0000 (17:24 +0000)]
Remove file.  No longer needed since the new version of
AC_CHECK_TYPE checks includes unistd.h.

24 years agoUse straight `AC_CHECK_TYPE(ssize_t, int)'.
Jim Meyering [Wed, 3 Nov 1999 17:24:03 +0000 (17:24 +0000)]
Use straight `AC_CHECK_TYPE(ssize_t, int)'.
Suggestion from Akim Demaille.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 Nov 1999 13:07:04 +0000 (13:07 +0000)]
*** empty log message ***

24 years agoFix so that `tail -fn 2 file' works again.
Jim Meyering [Wed, 3 Nov 1999 13:06:50 +0000 (13:06 +0000)]
Fix so that `tail -fn 2 file' works again.

(anonymous enum) [LONG_FOLLOW_OPTION]: Define.
(long_options): Use LONG_FOLLOW_OPTION here, instead of 'f'.
(main): Remove the `::' after the `f' in getopt_long string.
Add `case LONG_FOLLOW_OPTION' after `case 'f':'.
Based on a patch from Tim Waugh.

24 years ago*** empty log message ***
Jim Meyering [Wed, 3 Nov 1999 13:05:43 +0000 (13:05 +0000)]
*** empty log message ***

24 years ago(anonymous enum) [RETRY_OPTION]: Define.
Jim Meyering [Wed, 3 Nov 1999 12:26:24 +0000 (12:26 +0000)]
(anonymous enum) [RETRY_OPTION]: Define.
[MAX_UNCHANGED_STATS_OPTION]: Likewise.
[MAX_CONSECUTIVE_SIZE_CHANGES_OPTION]: Likewise.
[PID_OPTION]: Likewise.
(long_options): Use *_OPTION instead of CHAR_MAX + N.
(main): Likewise.

24 years agoadd comma
Jim Meyering [Wed, 3 Nov 1999 12:20:11 +0000 (12:20 +0000)]
add comma

24 years ago(recheck): Don't refuse to tail a non-regular, non-pipe.
Jim Meyering [Wed, 3 Nov 1999 12:13:39 +0000 (12:13 +0000)]
(recheck): Don't refuse to tail a non-regular, non-pipe.
(tail_file): Likewise.

24 years agoinclude summary in [NAME] section
Jim Meyering [Tue, 2 Nov 1999 14:07:36 +0000 (14:07 +0000)]
include summary in [NAME] section

24 years agoinclude summary in [NAME] section
Jim Meyering [Tue, 2 Nov 1999 13:58:56 +0000 (13:58 +0000)]
include summary in [NAME] section

24 years agoinclude summary in [NAME] section
Jim Meyering [Tue, 2 Nov 1999 13:51:42 +0000 (13:51 +0000)]
include summary in [NAME] section

24 years agoremove copyright
Jim Meyering [Tue, 2 Nov 1999 13:49:10 +0000 (13:49 +0000)]
remove copyright

24 years agoversion 1.018
Jim Meyering [Tue, 2 Nov 1999 13:08:05 +0000 (13:08 +0000)]
version 1.018

24 years ago*** empty log message ***
Jim Meyering [Tue, 2 Nov 1999 07:20:28 +0000 (07:20 +0000)]
*** empty log message ***

24 years ago(usage): Warn about mixing use of `-r' with FIFOs and
Jim Meyering [Mon, 1 Nov 1999 16:00:40 +0000 (16:00 +0000)]
(usage): Warn about mixing use of `-r' with FIFOs and
other special files like /dev/zero.

24 years ago(MAINTAINERCLEANFILES): Set to $(BUILT_SOURCES).
Jim Meyering [Mon, 1 Nov 1999 09:53:41 +0000 (09:53 +0000)]
(MAINTAINERCLEANFILES): Set to $(BUILT_SOURCES).

24 years ago*** empty log message ***
Jim Meyering [Mon, 1 Nov 1999 09:53:13 +0000 (09:53 +0000)]
*** empty log message ***

24 years agoupdate a comment from alpha.gnu.org:/home/gd/gnu/lib/getdate.y
Jim Meyering [Sun, 31 Oct 1999 15:49:05 +0000 (15:49 +0000)]
update a comment from alpha.gnu.org:/home/gd/gnu/lib/getdate.y

24 years ago.
Jim Meyering [Sun, 31 Oct 1999 11:43:22 +0000 (11:43 +0000)]
.

24 years ago(my-distcheck): Remove $(DEPDIR) to work around automake bug.
Jim Meyering [Sun, 31 Oct 1999 11:43:05 +0000 (11:43 +0000)]
(my-distcheck): Remove $(DEPDIR) to work around automake bug.

24 years ago.
Jim Meyering [Sun, 31 Oct 1999 11:40:06 +0000 (11:40 +0000)]
.

24 years ago.
Jim Meyering [Sun, 31 Oct 1999 11:38:40 +0000 (11:38 +0000)]
.

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

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