platform/upstream/coreutils.git
24 years ago*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 08:55:00 +0000 (08:55 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 22 Nov 1999 08:54:09 +0000 (08:54 +0000)]
*** empty log message ***

24 years ago(TESTS): Add `assert'.
Jim Meyering [Mon, 22 Nov 1999 08:40:50 +0000 (08:40 +0000)]
(TESTS): Add `assert'.

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

24 years ago(errno_rmdir_non_empty): New function to encapsulate errno comparison.
Jim Meyering [Sat, 20 Nov 1999 12:15:46 +0000 (12:15 +0000)]
(errno_rmdir_non_empty): New function to encapsulate errno comparison.
(remove_parents): Use it.
(main): Use it.

24 years ago*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 11:18:54 +0000 (11:18 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 10:46:39 +0000 (10:46 +0000)]
*** empty log message ***

24 years agoRun `diff -u' if the test fails.
Jim Meyering [Sat, 20 Nov 1999 10:46:06 +0000 (10:46 +0000)]
Run `diff -u' if the test fails.

24 years ago*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 10:39:29 +0000 (10:39 +0000)]
*** empty log message ***

24 years agoUse `ls' and `touch', not $LS and $TOUCH.
Jim Meyering [Sat, 20 Nov 1999 10:39:19 +0000 (10:39 +0000)]
Use `ls' and `touch', not $LS and $TOUCH.

24 years ago(TESTS_ENVIRONMENT): Specify PATH, etc.
Jim Meyering [Sat, 20 Nov 1999 10:38:38 +0000 (10:38 +0000)]
(TESTS_ENVIRONMENT): Specify PATH, etc.

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

24 years agoDeclare lstat; needed on e.g. SunOS4.
Jim Meyering [Sat, 20 Nov 1999 09:50:58 +0000 (09:50 +0000)]
Declare lstat;  needed on e.g. SunOS4.
Reported by Tom Tromey.

24 years ago*** empty log message ***
Jim Meyering [Fri, 19 Nov 1999 17:02:38 +0000 (17:02 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 19 Nov 1999 17:02:31 +0000 (17:02 +0000)]
*** empty log message ***

24 years ago(strstr): Include config.h.
Jim Meyering [Fri, 19 Nov 1999 17:02:01 +0000 (17:02 +0000)]
(strstr): Include config.h.
Add a `;' between shloop label and `}'.

24 years ago*** empty log message ***
Jim Meyering [Fri, 19 Nov 1999 11:49:53 +0000 (11:49 +0000)]
*** empty log message ***

24 years ago(AC_SYS_LARGEFILE_FLAGS): Work around a
Jim Meyering [Fri, 19 Nov 1999 11:49:44 +0000 (11:49 +0000)]
(AC_SYS_LARGEFILE_FLAGS): Work around a
problem with the QNX 4.25 shell, which doesn't propagate exit
status of failed commands inside shell assignments.

24 years ago*** empty log message *** FILEUTILS-4_0j-trial
Jim Meyering [Fri, 19 Nov 1999 11:12:07 +0000 (11:12 +0000)]
*** empty log message ***

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

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

24 years agoUse new AC_CONFIG_LINKS in place of AC_LINK_FILES.
Jim Meyering [Wed, 17 Nov 1999 14:04:32 +0000 (14:04 +0000)]
Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.

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

24 years ago(S_IRWXUGO): Define if necessary.
Jim Meyering [Wed, 17 Nov 1999 08:18:38 +0000 (08:18 +0000)]
(S_IRWXUGO): Define if necessary.
(main): Use chmod to set the permissions if bits other than those
of S_IRWXUGO were requested.  Reported by Sami Farin.

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

24 years ago*** empty log message ***
Jim Meyering [Mon, 15 Nov 1999 22:26:57 +0000 (22:26 +0000)]
*** empty log message ***

24 years ago(touch): Simplify code a tad, using fd == -1 instead
Jim Meyering [Sun, 14 Nov 1999 20:44:56 +0000 (20:44 +0000)]
(touch): Simplify code a tad, using fd == -1 instead
of separate valid_fd variable.

24 years ago.
Jim Meyering [Sat, 13 Nov 1999 23:21:01 +0000 (23:21 +0000)]
.

24 years ago# Also test the combination of --no-create and -a.
Jim Meyering [Sat, 13 Nov 1999 23:20:14 +0000 (23:20 +0000)]
# Also test the combination of --no-create and -a.

24 years ago.
Jim Meyering [Sat, 13 Nov 1999 23:19:08 +0000 (23:19 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 13 Nov 1999 14:55:01 +0000 (14:55 +0000)]
*** empty log message ***

24 years ago(touch): Don't fail just because we couldn't open
Jim Meyering [Sat, 13 Nov 1999 14:47:21 +0000 (14:47 +0000)]
(touch): Don't fail just because we couldn't open
an existing file.  This makes it so that touching a read-only
file now works.  Also clean up and simplify.
Based on a patch from Chip Salzenberg.

24 years ago*** empty log message ***
Jim Meyering [Sat, 13 Nov 1999 14:46:21 +0000 (14:46 +0000)]
*** empty log message ***

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

24 years ago(TESTS): Add no-rights.
Jim Meyering [Sat, 13 Nov 1999 13:27:25 +0000 (13:27 +0000)]
(TESTS): Add no-rights.

24 years agonew test for touch -c fix
Jim Meyering [Sat, 13 Nov 1999 13:24:54 +0000 (13:24 +0000)]
new test for touch -c fix

24 years agoimport latest
Jim Meyering [Sat, 13 Nov 1999 10:13:16 +0000 (10:13 +0000)]
import latest

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

24 years ago*** empty log message ***
Jim Meyering [Fri, 12 Nov 1999 10:54:21 +0000 (10:54 +0000)]
*** empty log message ***

24 years ago(print_nth_dir): Write one fewer byte so we don't print a trailing slash.
Jim Meyering [Fri, 12 Nov 1999 10:50:01 +0000 (10:50 +0000)]
(print_nth_dir): Write one fewer byte so we don't print a trailing slash.
(rm): Fix bugs in (and test, this time) the very-rarely-used code
to warn about directory cycles.

24 years agoAdjust comments to reflect that lots of code has moved to remove.c.
Jim Meyering [Fri, 12 Nov 1999 10:42:13 +0000 (10:42 +0000)]
Adjust comments to reflect that lots of code has moved to remove.c.

24 years ago*** empty log message ***
Jim Meyering [Fri, 12 Nov 1999 08:10:02 +0000 (08:10 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Fri, 12 Nov 1999 08:05:20 +0000 (08:05 +0000)]
*** empty log message ***

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

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

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.