Jim Meyering [Sat, 20 Nov 1999 10:46:06 +0000 (10:46 +0000)]
Run `diff -u' if the test fails.
Jim Meyering [Sat, 20 Nov 1999 10:39:29 +0000 (10:39 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 10:39:19 +0000 (10:39 +0000)]
Use `ls' and `touch', not $LS and $TOUCH.
Jim Meyering [Sat, 20 Nov 1999 10:38:38 +0000 (10:38 +0000)]
(TESTS_ENVIRONMENT): Specify PATH, etc.
Jim Meyering [Sat, 20 Nov 1999 09:51:31 +0000 (09:51 +0000)]
*** empty log message ***
Jim Meyering [Sat, 20 Nov 1999 09:50:58 +0000 (09:50 +0000)]
Declare lstat; needed on e.g. SunOS4.
Reported by Tom Tromey.
Jim Meyering [Fri, 19 Nov 1999 17:02:38 +0000 (17:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Nov 1999 17:02:31 +0000 (17:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 19 Nov 1999 17:02:01 +0000 (17:02 +0000)]
(strstr): Include config.h.
Add a `;' between shloop label and `}'.
Jim Meyering [Fri, 19 Nov 1999 11:49:53 +0000 (11:49 +0000)]
*** empty log message ***
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.
Jim Meyering [Fri, 19 Nov 1999 11:12:07 +0000 (11:12 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 Nov 1999 22:05:01 +0000 (22:05 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 Nov 1999 14:04:44 +0000 (14:04 +0000)]
*** empty log message ***
Jim Meyering [Wed, 17 Nov 1999 14:04:32 +0000 (14:04 +0000)]
Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
Jim Meyering [Wed, 17 Nov 1999 08:22:49 +0000 (08:22 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 17 Nov 1999 08:18:22 +0000 (08:18 +0000)]
*** empty log message ***
Jim Meyering [Mon, 15 Nov 1999 22:26:57 +0000 (22:26 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 13 Nov 1999 23:21:01 +0000 (23:21 +0000)]
.
Jim Meyering [Sat, 13 Nov 1999 23:20:14 +0000 (23:20 +0000)]
# Also test the combination of --no-create and -a.
Jim Meyering [Sat, 13 Nov 1999 23:19:08 +0000 (23:19 +0000)]
.
Jim Meyering [Sat, 13 Nov 1999 14:55:01 +0000 (14:55 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 13 Nov 1999 14:46:21 +0000 (14:46 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Nov 1999 13:28:39 +0000 (13:28 +0000)]
*** empty log message ***
Jim Meyering [Sat, 13 Nov 1999 13:27:25 +0000 (13:27 +0000)]
(TESTS): Add no-rights.
Jim Meyering [Sat, 13 Nov 1999 13:24:54 +0000 (13:24 +0000)]
new test for touch -c fix
Jim Meyering [Sat, 13 Nov 1999 10:13:16 +0000 (10:13 +0000)]
import latest
Jim Meyering [Fri, 12 Nov 1999 10:56:23 +0000 (10:56 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Nov 1999 10:54:21 +0000 (10:54 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Fri, 12 Nov 1999 08:10:02 +0000 (08:10 +0000)]
*** empty log message ***
Jim Meyering [Fri, 12 Nov 1999 08:05:20 +0000 (08:05 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 15:08:34 +0000 (15:08 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 13:46:40 +0000 (13:46 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 13:46:19 +0000 (13:46 +0000)]
Add a test for this fix.
Jim Meyering [Thu, 11 Nov 1999 13:20:24 +0000 (13:20 +0000)]
.
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.
Jim Meyering [Thu, 11 Nov 1999 12:12:23 +0000 (12:12 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Nov 1999 11:41:18 +0000 (11:41 +0000)]
re-comment debugging diff stmt
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.
Jim Meyering [Thu, 11 Nov 1999 07:50:59 +0000 (07:50 +0000)]
remove unnecessary trailing semicolons
Jim Meyering [Wed, 10 Nov 1999 06:14:12 +0000 (06:14 +0000)]
import 1.019
Jim Meyering [Tue, 9 Nov 1999 20:41:33 +0000 (20:41 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Mon, 8 Nov 1999 09:25:08 +0000 (09:25 +0000)]
add `' around link(2)
Jim Meyering [Mon, 8 Nov 1999 09:23:43 +0000 (09:23 +0000)]
Fix harmless-for-now typo: s/,/dnl/.
From Akim.
Jim Meyering [Mon, 8 Nov 1999 09:18:27 +0000 (09:18 +0000)]
effectively require AC_CHECK_HEADERS(unistd.h)
Jim Meyering [Sun, 7 Nov 1999 21:06:17 +0000 (21:06 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 7 Nov 1999 20:34:11 +0000 (20:34 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 7 Nov 1999 20:25:21 +0000 (20:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 20:23:48 +0000 (20:23 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 7 Nov 1999 20:17:18 +0000 (20:17 +0000)]
*** empty log message ***
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'.
Jim Meyering [Sun, 7 Nov 1999 20:00:54 +0000 (20:00 +0000)]
Use REFERENCE_FILE_OPTION instead of bare `CHAR_MAX + 1'.
Jim Meyering [Sun, 7 Nov 1999 15:41:37 +0000 (15:41 +0000)]
*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 15:40:29 +0000 (15:40 +0000)]
Add `, 1, [FIXME]' to each use of AC_DEFINE.
Jim Meyering [Sun, 7 Nov 1999 11:52:07 +0000 (11:52 +0000)]
.
Jim Meyering [Sun, 7 Nov 1999 11:46:24 +0000 (11:46 +0000)]
*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 11:46:20 +0000 (11:46 +0000)]
Fix a typo: s/||/&&/.
Jim Meyering [Sun, 7 Nov 1999 11:44:22 +0000 (11:44 +0000)]
Add hard-link-to-symlink test.
Jim Meyering [Sun, 7 Nov 1999 11:13:04 +0000 (11:13 +0000)]
variable name change
move framework_failure to bottom
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.
Jim Meyering [Sun, 7 Nov 1999 11:04:00 +0000 (11:04 +0000)]
Remove entire #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
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.
Jim Meyering [Sun, 7 Nov 1999 10:49:07 +0000 (10:49 +0000)]
*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 10:47:52 +0000 (10:47 +0000)]
Use --b=simple, not the now-deprecated `-V simple'.
Jim Meyering [Sun, 7 Nov 1999 10:35:53 +0000 (10:35 +0000)]
define LINK_FOLLOWS_SYMLINKS
Jim Meyering [Sun, 7 Nov 1999 10:33:47 +0000 (10:33 +0000)]
.
Jim Meyering [Sun, 7 Nov 1999 10:33:22 +0000 (10:33 +0000)]
.
Jim Meyering [Sun, 7 Nov 1999 10:33:11 +0000 (10:33 +0000)]
*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 09:23:06 +0000 (09:23 +0000)]
add missing \n\
Jim Meyering [Sun, 7 Nov 1999 09:22:18 +0000 (09:22 +0000)]
*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 09:20:04 +0000 (09:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 7 Nov 1999 08:46:34 +0000 (08:46 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 7 Nov 1999 08:15:37 +0000 (08:15 +0000)]
.
Jim Meyering [Sat, 6 Nov 1999 21:58:42 +0000 (21:58 +0000)]
whoops, add quotes in last change
Jim Meyering [Sat, 6 Nov 1999 21:58:19 +0000 (21:58 +0000)]
remove backticks from comments
Jim Meyering [Sat, 6 Nov 1999 21:31:09 +0000 (21:31 +0000)]
*** empty log message ***
Jim Meyering [Sat, 6 Nov 1999 21:30:47 +0000 (21:30 +0000)]
(jm_MACROS): Use jm_AC_FUNC_LINK_FOLLOWS_SYMLINK here.
Jim Meyering [Sat, 6 Nov 1999 21:30:16 +0000 (21:30 +0000)]
(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
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.
Jim Meyering [Sat, 6 Nov 1999 09:55:32 +0000 (09:55 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 6 Nov 1999 09:54:46 +0000 (09:54 +0000)]
*** empty log message ***
Jim Meyering [Sat, 6 Nov 1999 09:04:58 +0000 (09:04 +0000)]
.
Jim Meyering [Sat, 6 Nov 1999 09:04:22 +0000 (09:04 +0000)]
.
Jim Meyering [Fri, 5 Nov 1999 09:55:24 +0000 (09:55 +0000)]
Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.
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.
Jim Meyering [Fri, 5 Nov 1999 09:34:41 +0000 (09:34 +0000)]
remove stray `x's
Jim Meyering [Fri, 5 Nov 1999 09:27:20 +0000 (09:27 +0000)]
*** empty log message ***