platform/upstream/coreutils.git
24 years agoAdd a test for this fix.
Jim Meyering [Thu, 11 Nov 1999 13:46:19 +0000 (13:46 +0000)]
Add a test for this fix.

24 years ago.
Jim Meyering [Thu, 11 Nov 1999 13:20:24 +0000 (13:20 +0000)]
.

24 years ago(copy_internal): Treat src and dest as the `same' in
Jim Meyering [Thu, 11 Nov 1999 13:19:36 +0000 (13:19 +0000)]
(copy_internal): Treat src and dest as the `same' in
`mv src symlink-to-src' when src and dest are on different partitions.
Otherwise, that `mv' command would silently remove `src'.
Reported by Michael Stone.

24 years ago*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 12:12:23 +0000 (12:12 +0000)]
*** empty log message ***

24 years agore-comment debugging diff stmt
Jim Meyering [Thu, 11 Nov 1999 11:41:18 +0000 (11:41 +0000)]
re-comment debugging diff stmt

24 years ago(make_path): Fix long-latent bug (note others
Jim Meyering [Thu, 11 Nov 1999 11:00:50 +0000 (11:00 +0000)]
(make_path): Fix long-latent bug (note others
just like it were fixed in 1998-01-02).
A user (FIXME, who?) reported that using `install -d -g foo 1/2`
only sets the group on the intermediate directory, not the final
component.  From Michael Stone.

24 years agoremove unnecessary trailing semicolons
Jim Meyering [Thu, 11 Nov 1999 07:50:59 +0000 (07:50 +0000)]
remove unnecessary trailing semicolons

24 years agoimport 1.019
Jim Meyering [Wed, 10 Nov 1999 06:14:12 +0000 (06:14 +0000)]
import 1.019

24 years ago*** empty log message ***
Jim Meyering [Tue, 9 Nov 1999 20:41:33 +0000 (20:41 +0000)]
*** empty log message ***

24 years ago(NEW): Undefine to avoid warning about redefinition.
Jim Meyering [Tue, 9 Nov 1999 20:41:18 +0000 (20:41 +0000)]
(NEW): Undefine to avoid warning about redefinition.
(NEW): Redefine in terms of XMALLOC.

24 years ago(XMALLOC): Correct misnamed macro parameter name: s/N_bytes/N_items/.
Jim Meyering [Tue, 9 Nov 1999 20:34:17 +0000 (20:34 +0000)]
(XMALLOC): Correct misnamed macro parameter name: s/N_bytes/N_items/.
(XCALLOC): Likewise.
(XREALLOC): Likewise.

24 years agoadd `' around link(2)
Jim Meyering [Mon, 8 Nov 1999 09:25:08 +0000 (09:25 +0000)]
add `' around link(2)

24 years agoFix harmless-for-now typo: s/,/dnl/.
Jim Meyering [Mon, 8 Nov 1999 09:23:43 +0000 (09:23 +0000)]
Fix harmless-for-now typo: s/,/dnl/.
From Akim.

24 years agoeffectively require AC_CHECK_HEADERS(unistd.h)
Jim Meyering [Mon, 8 Nov 1999 09:18:27 +0000 (09:18 +0000)]
effectively require AC_CHECK_HEADERS(unistd.h)

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 21:06:17 +0000 (21:06 +0000)]
*** empty log message ***

24 years ago(default_block_size): New function.
Jim Meyering [Sun, 7 Nov 1999 21:06:02 +0000 (21:06 +0000)]
(default_block_size): New function.
(humblock): Use it if no block size is specified.
(human_block_size): If the specified block size is zero, report an
error if report_errors is nonzero; otherwise use the default.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 20:34:11 +0000 (20:34 +0000)]
*** empty log message ***

24 years agoAdd several more TERM types.
Jim Meyering [Sun, 7 Nov 1999 20:34:03 +0000 (20:34 +0000)]
Add several more TERM types.
Add .bz2 suffix.
Add .png for real this time.
Change the image types colors to be visible in a black-on-white xterm.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 20:25:21 +0000 (20:25 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 20:23:48 +0000 (20:23 +0000)]
*** empty log message ***

24 years ago(xstat): New global.
Jim Meyering [Sun, 7 Nov 1999 20:18:11 +0000 (20:18 +0000)]
(xstat): New global.
(main): Define it.
(change_file_group): Use it.  Before this change, when running chgrp
on a symlink without --dereference (-h) and when the requested group
is the same as the group for the *symlink*, chgrp would do nothing.
Now it changes the group of the file referenced through the symlink.
Reported by Martin Mitchell.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 20:17:18 +0000 (20:17 +0000)]
*** empty log message ***

24 years agoDefine and use REFERENCE_FILE_OPTION and
Jim Meyering [Sun, 7 Nov 1999 20:02:19 +0000 (20:02 +0000)]
Define and use REFERENCE_FILE_OPTION and
DEREFERENCE_OPTION in place of bare `CHAR_MAX + N'.

24 years agoUse REFERENCE_FILE_OPTION instead of bare `CHAR_MAX + 1'.
Jim Meyering [Sun, 7 Nov 1999 20:00:54 +0000 (20:00 +0000)]
Use REFERENCE_FILE_OPTION instead of bare `CHAR_MAX + 1'.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 15:41:37 +0000 (15:41 +0000)]
*** empty log message ***

24 years agoAdd `, 1, [FIXME]' to each use of AC_DEFINE.
Jim Meyering [Sun, 7 Nov 1999 15:40:29 +0000 (15:40 +0000)]
Add `, 1, [FIXME]' to each use of AC_DEFINE.

24 years ago.
Jim Meyering [Sun, 7 Nov 1999 11:52:07 +0000 (11:52 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 11:46:24 +0000 (11:46 +0000)]
*** empty log message ***

24 years agoFix a typo: s/||/&&/.
Jim Meyering [Sun, 7 Nov 1999 11:46:20 +0000 (11:46 +0000)]
Fix a typo: s/||/&&/.

24 years agoAdd hard-link-to-symlink test.
Jim Meyering [Sun, 7 Nov 1999 11:44:22 +0000 (11:44 +0000)]
Add hard-link-to-symlink test.

24 years agovariable name change
Jim Meyering [Sun, 7 Nov 1999 11:13:04 +0000 (11:13 +0000)]
variable name change
move framework_failure to bottom

24 years ago(do_link): Warn that making a hard link to a symbolic link is not portable.
Jim Meyering [Sun, 7 Nov 1999 11:07:53 +0000 (11:07 +0000)]
(do_link): Warn that making a hard link to a symbolic link is not portable.

24 years agoRemove entire #if LINK_FOLLOWS_SYMLINKS block.
Jim Meyering [Sun, 7 Nov 1999 11:04:00 +0000 (11:04 +0000)]
Remove entire #if LINK_FOLLOWS_SYMLINKS block.

24 years agoAdd comment prior to removing #if LINK_FOLLOWS_SYMLINKS block
Jim Meyering [Sun, 7 Nov 1999 11:03:20 +0000 (11:03 +0000)]
Add comment prior to removing #if LINK_FOLLOWS_SYMLINKS block

24 years agoAllow hard links to symlinks on systems that support it.
Jim Meyering [Sun, 7 Nov 1999 10:50:11 +0000 (10:50 +0000)]
Allow hard links to symlinks on systems that support it.
(STAT_LIKE_LINK): Define.
(do_link): Use STAT_LIKE_LINK, rather than bare `stat', and perform
the extra lstat only on systems where LINK_FOLLOWS_SYMLINKS.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 10:49:07 +0000 (10:49 +0000)]
*** empty log message ***

24 years agoUse --b=simple, not the now-deprecated `-V simple'.
Jim Meyering [Sun, 7 Nov 1999 10:47:52 +0000 (10:47 +0000)]
Use --b=simple, not the now-deprecated `-V simple'.

24 years agodefine LINK_FOLLOWS_SYMLINKS
Jim Meyering [Sun, 7 Nov 1999 10:35:53 +0000 (10:35 +0000)]
define LINK_FOLLOWS_SYMLINKS

24 years ago.
Jim Meyering [Sun, 7 Nov 1999 10:33:47 +0000 (10:33 +0000)]
.

24 years ago.
Jim Meyering [Sun, 7 Nov 1999 10:33:22 +0000 (10:33 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 10:33:11 +0000 (10:33 +0000)]
*** empty log message ***

24 years agoadd missing \n\
Jim Meyering [Sun, 7 Nov 1999 09:23:06 +0000 (09:23 +0000)]
add missing \n\

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 09:22:18 +0000 (09:22 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 09:20:04 +0000 (09:20 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 08:46:34 +0000 (08:46 +0000)]
*** empty log message ***

24 years ago(remove_parents): Use the correct test
Jim Meyering [Sun, 7 Nov 1999 08:38:50 +0000 (08:38 +0000)]
(remove_parents): Use the correct test
(same as in main) in handling --ignore-fail-on-non-empty.
From Michael Stone.

24 years ago.
Jim Meyering [Sun, 7 Nov 1999 08:15:37 +0000 (08:15 +0000)]
.

24 years agowhoops, add quotes in last change
Jim Meyering [Sat, 6 Nov 1999 21:58:42 +0000 (21:58 +0000)]
whoops, add quotes in last change

24 years agoremove backticks from comments
Jim Meyering [Sat, 6 Nov 1999 21:58:19 +0000 (21:58 +0000)]
remove backticks from comments

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 Nov 1999 21:31:09 +0000 (21:31 +0000)]
*** empty log message ***

24 years ago(jm_MACROS): Use jm_AC_FUNC_LINK_FOLLOWS_SYMLINK here.
Jim Meyering [Sat, 6 Nov 1999 21:30:47 +0000 (21:30 +0000)]
(jm_MACROS): Use jm_AC_FUNC_LINK_FOLLOWS_SYMLINK here.

24 years ago(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
Jim Meyering [Sat, 6 Nov 1999 21:30:16 +0000 (21:30 +0000)]
(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.

24 years ago(do_link): Fix typo (in which the function name `symlink'
Jim Meyering [Sat, 6 Nov 1999 16:21:18 +0000 (16:21 +0000)]
(do_link): Fix typo (in which the function name `symlink'
was tested instead of the variable `symbolic_link') that could make
ln perform an unneeded `stat' call.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 Nov 1999 09:55:32 +0000 (09:55 +0000)]
*** empty log message ***

24 years ago(long_options): Correct typo (s/'F'/'p'/) so that `-p'
Jim Meyering [Sat, 6 Nov 1999 09:55:13 +0000 (09:55 +0000)]
(long_options): Correct typo (s/'F'/'p'/) so that `-p'
works as the short form of --file-type, per the documentation.
From Michael Stone.

24 years ago*** empty log message ***
Jim Meyering [Sat, 6 Nov 1999 09:54:46 +0000 (09:54 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sat, 6 Nov 1999 09:04:58 +0000 (09:04 +0000)]
.

24 years ago.
Jim Meyering [Sat, 6 Nov 1999 09:04:22 +0000 (09:04 +0000)]
.

24 years agoUse HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.
Jim Meyering [Fri, 5 Nov 1999 09:55:24 +0000 (09:55 +0000)]
Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.

24 years agoUse `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
Jim Meyering [Fri, 5 Nov 1999 09:48:53 +0000 (09:48 +0000)]
Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
AC_STRUCT_ST_BLKSIZE.

24 years agoremove stray `x's
Jim Meyering [Fri, 5 Nov 1999 09:34:41 +0000 (09:34 +0000)]
remove stray `x's

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 Nov 1999 09:27:20 +0000 (09:27 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_ALL_TYPES): Move some tests from configure.in
Jim Meyering [Fri, 5 Nov 1999 09:27:14 +0000 (09:27 +0000)]
(jm_CHECK_ALL_TYPES): Move some tests from configure.in
of textutils, fileutils, and sh-utils into this one (shared between
those packages) file.

24 years ago*** empty log message ***
Jim Meyering [Fri, 5 Nov 1999 07:59:48 +0000 (07:59 +0000)]
*** empty log message ***

24 years ago(SORTALLOC): New macro.
Jim Meyering [Fri, 5 Nov 1999 07:59:40 +0000 (07:59 +0000)]
(SORTALLOC): New macro.
(sortalloc, mergealloc, LINEALLOC): Use it.
(sortalloc, mergealloc, linelength): Now const.
(sortalloc): Increase from 0.5 to 8 MB.
(mergealloc): Increase from 16 to 256 kB.
(LINEALLOC): Increase from 0.25 to 4 MB.

24 years ago.
Jim Meyering [Thu, 4 Nov 1999 23:14:45 +0000 (23:14 +0000)]
.

24 years agoDo not consider newline to be part of a line when comparing lines
Jim Meyering [Thu, 4 Nov 1999 23:13:40 +0000 (23:13 +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.

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