Commit Graph

7385 Commits

Author SHA1 Message Date
Jim Meyering 57bb960867 Declare lstat; needed on e.g. SunOS4.
Reported by Tom Tromey.
1999-11-20 09:50:58 +00:00
Jim Meyering 320be1758d *** empty log message *** 1999-11-19 17:02:38 +00:00
Jim Meyering 115758e03b *** empty log message *** 1999-11-19 17:02:31 +00:00
Jim Meyering 24e8e8409d (strstr): Include config.h.
Add a `;' between shloop label and `}'.
1999-11-19 17:02:01 +00:00
Jim Meyering 102caacbef *** empty log message *** 1999-11-19 11:49:53 +00:00
Jim Meyering cfe7b86608 (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.
1999-11-19 11:49:44 +00:00
Jim Meyering 7ec33cd342 *** empty log message *** FILEUTILS-4_0j-trial 1999-11-19 11:12:07 +00:00
Jim Meyering 2e05e2b7fa *** empty log message *** 1999-11-17 22:05:01 +00:00
Jim Meyering cc9b514f5d *** empty log message *** 1999-11-17 14:04:44 +00:00
Jim Meyering c49e7f4f22 Use new AC_CONFIG_LINKS in place of AC_LINK_FILES. 1999-11-17 14:04:32 +00:00
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