Commit Graph
22946 Commits
Author SHA1 Message Date
Jim Meyering 5ff988ec22 (leave_dir): If cycle-check's saved dev-ino pair matches
that of the current directory (which we're about to chdir ".." out of),
then save the dev-ino of the parent, instead.
2006-03-12 22:03:17 +00:00
Jim Meyering ac1e215dc2 *** empty log message *** 2006-03-12 22:02:12 +00:00
Jim Meyering 275d9242ff (SAME_INODE): Remove definition. 2006-03-12 22:02:03 +00:00
Jim Meyering fa44d25fdb Include "same-inode.h".
(CYCLE_CHECK_REFLECT_CHDIR_UP): Define.
2006-03-12 22:01:29 +00:00
Jim Meyering 6ae28d0eb5 (SAME_INODE): Remove definition.
Include "same-inode.h", instead.
2006-03-12 21:59:55 +00:00
Jim Meyering 1ccf35a5e3 (SAME_INODE): Remove definition.
Include "same-inode.h", instead.
2006-03-12 21:59:29 +00:00
Jim Meyering a0d7555ba0 *** empty log message *** 2006-03-12 21:50:12 +00:00
Jim Meyering 9dbfaca637 (gl_SAME): Add same-inode.h to the list. 2006-03-12 21:49:48 +00:00
Jim Meyering 34401c51f9 (gl_CYCLE_CHECK): Add same-inode.h to the list. 2006-03-12 21:48:52 +00:00
Jim Meyering eb5f5d091d (gl_CHDIR_SAFER): Add same-inode.h to the list. 2006-03-12 20:46:36 +00:00
Jim Meyering dc73889ce6 (SAME_INODE): New file/macro. 2006-03-12 20:45:31 +00:00
Jim Meyering 9c8902a290 *** empty log message *** 2006-03-12 20:45:10 +00:00
Jim Meyering 90be59547e (SAME_INODE): Remove definition.
Include "same-inode.h", instead.
2006-03-12 20:45:04 +00:00
Jim Meyering 801f6fc44e . 2006-03-12 19:24:52 +00:00
Paul Eggert 99db964248 Remove asctime_r, ctime_r, and let m4 specify the sources. 2006-03-12 08:07:34 +00:00
Paul Eggert 66314b605e Add time_r.m4. 2006-03-12 08:07:09 +00:00
Paul Eggert c9d6c40b73 (gl_PREREQ): Require gl_TIME_R. 2006-03-12 08:06:49 +00:00
Paul Eggert be8d40f7e7 (asctime_r, ctime_r): Remove. 2006-03-12 08:06:00 +00:00
Paul Eggert 9c4784e50e (libcoreutils_a_SOURCES): Remove time_r.c, time_r.h,
as this is now done in m4.
2006-03-12 08:05:22 +00:00
Paul Eggert 13431ec5b0 New file, from gnulib. 2006-03-12 08:04:42 +00:00
Jim Meyering 7384af3482 *** empty log message *** 2006-03-11 20:40:23 +00:00
Jim Meyering 28bffbc6fe (robust_getcwd): Prepend only one slash, not two. 2006-03-11 20:40:18 +00:00
Jim Meyering 76d20d82dd Fix a bug whereby a user with write access to a directory being removed
could cause the removal of that directory to fail with an erroneous
diagnostic about a directory cycle.  Reported by Vineet Chadha.

(AD_pop_and_chdir): If the directory we're about to
leave (and try to rmdir) is the one whose dev_ino is being used to
detect a cycle, reset cycle_check_state.dev_ino to that of the parent.
2006-03-10 21:47:34 +00:00
Jim Meyering 6754d7a74f *** empty log message *** 2006-03-10 21:44:30 +00:00
Jim Meyering b72303e7e6 mention today's rm -r fix. 2006-03-10 21:31:53 +00:00
Jim Meyering bf46e04149 *** empty log message *** 2006-03-10 21:24:38 +00:00
Paul Eggert 90b915c863 Handle dd's file-creation flags even on file descriptors. Improve
test cases and documentation for these flags.
2006-03-08 18:58:39 +00:00
Paul Eggert 12565180f4 Add test cases for append, nofollow, directory,
and nolinks flags.  Simplify redirection to /dev/null in some cases.
2006-03-08 18:57:55 +00:00
Paul Eggert cf40950274 (set_fd_flags): Handle file-creation flags on file
descriptors, rather than ignoring them.
2006-03-08 18:57:39 +00:00
Paul Eggert e190228997 Document dd's new 'directory' and 'nolinks' flags. 2006-03-08 18:57:21 +00:00
Paul Eggert c66e95f41f iflags->iflag. This fixes a typo that meant the
noatime test never tested anything.
2006-03-08 18:21:54 +00:00
Jim Meyering 4e96bd9131 *** empty log message *** 2006-03-06 15:27:56 +00:00
Jim Meyering 2810f3534b Add `SEE ALSO' references to syscalls from utilities of the same name. 2006-03-06 15:27:50 +00:00
Paul Eggert ca6207e2f9 Describe dd, ls changes. Convert from Latin-1 to UTF-8. 2006-03-06 07:22:02 +00:00
Paul Eggert 7c7486d168 (dd invocation): New flags directory, nolinks.
Alphabetize nofollow.
2006-03-06 07:21:40 +00:00
Paul Eggert c21aeb1bd8 (O_NOLINKS): Define to 0 if not already defined. 2006-03-06 07:20:35 +00:00
Paul Eggert 82a7e80d5b (flags, usage): New flags directory, nolinks. 2006-03-06 07:20:19 +00:00
Paul Eggert 78006af421 (usage): Mention that -f disables --color. 2006-03-06 07:02:39 +00:00
Jim Meyering 64e8ade1fa *** empty log message *** 2006-03-05 17:29:13 +00:00
Jim Meyering 103d096349 *** empty log message *** 2006-03-05 17:28:51 +00:00
Jim Meyering 2467cad537 Set SHELL, if not already set, in order to
avoid failure when `make check' is run through debuild;  dircolors
would fail due to lack of $SHELL.  Reported by Sven Joachim.
2006-03-05 17:28:42 +00:00
Jim Meyering bda9edc1d5 . 2006-03-05 11:23:15 +00:00
Jim Meyering 0be41be0df *** empty log message *** 2006-03-05 11:20:57 +00:00
Jim Meyering 83e984547b Make `base64 --wrap=N' work for N=0, and for N larger than SIZE_MAX.
(wrap_write, do_encode, main): Change type of
parameters and locals, wrap_column, form size_t to uintmax_t.
(main): Adjust to use xstrtoumax, accordingly.
2006-03-05 11:20:53 +00:00
Jim Meyering 450dee8d8d add warning comment 2006-03-03 07:49:39 +00:00
Jim Meyering 158c715afd *** empty log message *** 2006-03-03 07:44:12 +00:00
Jim Meyering d95fa804bb Don't fail when run from an environment with SHELL not a Bourne
shell, e.g. `env SHELL=/bin/csh make check' would fail this test.

Invoke each non-failing test with -b.
Reported by Michael Stone.
2006-03-03 07:44:02 +00:00
Paul Eggert cdf8e464b0 Require gl_USE_SYSTEM_EXTENSIONS, not merely AC_GNU_SOURCE, for the
benefit of Solaris 10 when compiled pedantically.
2006-03-02 07:37:12 +00:00
Paul Eggert d124b35e42 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test", not "==". 2006-03-02 03:42:49 +00:00
Jim Meyering 79e217821d *** empty log message *** 2006-02-27 14:40:58 +00:00