Commit Graph

7375 Commits

Author SHA1 Message Date
Jim Meyering f98d307bbb *** empty log message *** 1999-11-17 08:22:49 +00:00
Jim Meyering 06c06bd6f7 (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.
1999-11-17 08:18:38 +00:00
Jim Meyering 8c63b56030 *** empty log message *** 1999-11-17 08:18:22 +00:00
Jim Meyering 29e829a66a *** empty log message *** 1999-11-15 22:26:57 +00:00
Jim Meyering 2f50c6930d (touch): Simplify code a tad, using fd == -1 instead
of separate valid_fd variable.
1999-11-14 20:44:56 +00:00
Jim Meyering a3fc960f32 . 1999-11-13 23:21:01 +00:00
Jim Meyering 91ac2fec34 # Also test the combination of --no-create and -a. 1999-11-13 23:20:14 +00:00
Jim Meyering 55fa0c6a12 . 1999-11-13 23:19:08 +00:00
Jim Meyering 6bffd08ba5 *** empty log message *** 1999-11-13 14:55:01 +00:00
Jim Meyering 0e09235c9f (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.
1999-11-13 14:47:21 +00:00
Jim Meyering 6b85baa502 *** empty log message *** 1999-11-13 14:46:21 +00:00
Jim Meyering d46a35bbff *** empty log message *** 1999-11-13 13:28:39 +00:00
Jim Meyering 97523193b7 (TESTS): Add no-rights. 1999-11-13 13:27:25 +00:00
Jim Meyering 4f06def5c0 new test for touch -c fix 1999-11-13 13:24:54 +00:00
Jim Meyering 0ce2109a88 import latest 1999-11-13 10:13:16 +00:00
Jim Meyering 557af8f47e *** empty log message *** 1999-11-12 10:56:23 +00:00
Jim Meyering 987955f7c5 *** empty log message *** 1999-11-12 10:54:21 +00:00
Jim Meyering c5187c959c (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.
1999-11-12 10:50:01 +00:00
Jim Meyering 7872d7c932 Adjust comments to reflect that lots of code has moved to remove.c. 1999-11-12 10:42:13 +00:00
Jim Meyering f1c24743b8 *** empty log message *** 1999-11-12 08:10:02 +00:00
Jim Meyering 7cff7275f8 *** empty log message *** 1999-11-12 08:05:20 +00:00
Jim Meyering 286e9d9766 *** empty log message *** 1999-11-11 15:08:34 +00:00
Jim Meyering acf8442f02 *** empty log message *** 1999-11-11 13:46:40 +00:00
Jim Meyering b6a764d8c6 Add a test for this fix. 1999-11-11 13:46:19 +00:00
Jim Meyering 07d20c7e44 . 1999-11-11 13:20:24 +00:00
Jim Meyering 1b6c640f46 (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.
1999-11-11 13:19:36 +00:00
Jim Meyering 101ae141c6 *** empty log message *** 1999-11-11 12:12:23 +00:00
Jim Meyering 375c13c679 re-comment debugging diff stmt 1999-11-11 11:41:18 +00:00
Jim Meyering cbdf71ab00 (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.
1999-11-11 11:00:50 +00:00
Jim Meyering 05e6e5583e remove unnecessary trailing semicolons 1999-11-11 07:50:59 +00:00
Jim Meyering c4d7026cf9 import 1.019 1999-11-10 06:14:12 +00:00
Jim Meyering baee6fd135 *** empty log message *** 1999-11-09 20:41:33 +00:00
Jim Meyering 59339ab7e5 (NEW): Undefine to avoid warning about redefinition.
(NEW): Redefine in terms of XMALLOC.
1999-11-09 20:41:18 +00:00
Jim Meyering f5225442f8 (XMALLOC): Correct misnamed macro parameter name: s/N_bytes/N_items/.
(XCALLOC): Likewise.
(XREALLOC): Likewise.
1999-11-09 20:34:17 +00:00
Jim Meyering 1b5e676e38 add `' around link(2) 1999-11-08 09:25:08 +00:00
Jim Meyering cf6ad5dcca Fix harmless-for-now typo: s/,/dnl/.
From Akim.
1999-11-08 09:23:43 +00:00
Jim Meyering bb928b7ac4 effectively require AC_CHECK_HEADERS(unistd.h) 1999-11-08 09:18:27 +00:00
Jim Meyering 8851d83616 *** empty log message *** 1999-11-07 21:06:17 +00:00
Jim Meyering 41c5f76c2f (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.
1999-11-07 21:06:02 +00:00
Jim Meyering 0b23ffc1bf *** empty log message *** 1999-11-07 20:34:11 +00:00
Jim Meyering e2e5b7324e 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.
1999-11-07 20:34:03 +00:00
Jim Meyering f706863aa6 *** empty log message *** 1999-11-07 20:25:21 +00:00
Jim Meyering c1e927ff6d *** empty log message *** 1999-11-07 20:23:48 +00:00
Jim Meyering 717d76cf4b (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.
1999-11-07 20:18:11 +00:00
Jim Meyering 8bc2ecda80 *** empty log message *** 1999-11-07 20:17:18 +00:00
Jim Meyering 5907ad7277 Define and use REFERENCE_FILE_OPTION and
DEREFERENCE_OPTION in place of bare `CHAR_MAX + N'.
1999-11-07 20:02:19 +00:00
Jim Meyering 1645ace5e7 Use REFERENCE_FILE_OPTION instead of bare `CHAR_MAX + 1'. 1999-11-07 20:00:54 +00:00
Jim Meyering 0af22e4bb2 *** empty log message *** 1999-11-07 15:41:37 +00:00
Jim Meyering 7b165ea504 Add `, 1, [FIXME]' to each use of AC_DEFINE. 1999-11-07 15:40:29 +00:00
Jim Meyering a21ac71b0a . 1999-11-07 11:52:07 +00:00