1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-22 23:25:21 +02:00
Commit Graph

18433 Commits

Author SHA1 Message Date
Jim Meyering
bcd1f744af New test, for the above fix and today's lib/save-cwd.c improvement. 2004-05-11 19:41:23 +00:00
Jim Meyering
6202854ac2 *** empty log message *** 2004-05-11 18:34:56 +00:00
Jim Meyering
76a6665c13 (save_cwd): If opening `.' read-only fails, try write-only. 2004-05-11 18:34:38 +00:00
Jim Meyering
ea85958d52 *** empty log message *** 2004-05-11 18:25:32 +00:00
Jim Meyering
3f84f91c7c *** empty log message *** 2004-05-11 16:50:25 +00:00
Jim Meyering
546b62a2bc *** empty log message *** 2004-05-11 16:48:42 +00:00
Jim Meyering
8853d12319 (save_cwd) [HAVE_FCHDIR]: Don't fail just
because opening `.' failed.  Resort to using xgetcwd.
2004-05-11 16:42:17 +00:00
Jim Meyering
52e15d0127 *** empty log message *** 2004-05-11 16:14:22 +00:00
Jim Meyering
0a9f091665 Don't include "save-cwd.h". It's no longer used. 2004-05-11 16:14:11 +00:00
Jim Meyering
128e1b2963 . 2004-05-10 18:15:41 +00:00
Jim Meyering
85b5ea3839 *** empty log message *** 2004-05-10 15:13:52 +00:00
Jim Meyering
6e73791bd4 (TESTS): Add trap. 2004-05-10 15:13:45 +00:00
Jim Meyering
c98f083d36 New file. Test for bug fix of 2004-04-18. 2004-05-10 15:13:29 +00:00
Jim Meyering
507294085a *** empty log message *** 2004-05-10 14:27:53 +00:00
Jim Meyering
0837deb037 (AD_push): Don't use errno in diagnostic about `changed dev/ino'. 2004-05-10 14:27:45 +00:00
Jim Meyering
bd0ebda8db *** empty log message *** 2004-05-10 07:15:56 +00:00
Jim Meyering
6d67072179 Remove this generated file from CVS. 2004-05-10 07:15:03 +00:00
Jim Meyering
063d037b37 . 2004-05-10 07:04:59 +00:00
Jim Meyering
0ee95541c1 . 2004-05-09 19:44:10 +00:00
Jim Meyering
b9d74188f2 . 2004-05-09 19:43:35 +00:00
Jim Meyering
61a7a3871d *** empty log message *** 2004-05-09 19:43:27 +00:00
Jim Meyering
bc99952263 (check-texinfo): grep -w IO 2004-05-09 19:43:23 +00:00
Jim Meyering
d77d6d8b9e *** empty log message *** 2004-05-09 19:42:23 +00:00
Jim Meyering
77cd88719f (stat invocation): Change IO to I/O. 2004-05-09 19:42:19 +00:00
Jim Meyering
e82d06e2f8 *** empty log message *** 2004-05-09 19:29:54 +00:00
Jim Meyering
6e9bba3889 (unquote): Use xcalloc rather than xmalloc and
a loop initializing the just-allocated memory to zero.
2004-05-09 19:29:42 +00:00
Jim Meyering
acf15d5163 *** empty log message *** 2004-05-08 22:24:25 +00:00
Jim Meyering
3496e470ca *** empty log message *** 2004-05-08 12:49:57 +00:00
Jim Meyering
66fd845fed (TESTS): Add no-give-up. 2004-05-08 12:49:53 +00:00
Jim Meyering
2e83808dd6 Fix bug where "rm" gave up too easily, reported by Dan Jacobsen in
<http://mail.gnu.org/archive/html/bug-coreutils/2004-05/msg00013.html>.

(remove_entry): Check for errno values like ENOENT
that show the file cannot be directory, instead of for errno
values like EPERM that show the file might be a directory.  This
is necessary because, when a single unlink() call has multiple
reasons to fail, it can set errno to any of those reasons; it's
only the rare errno value like ENOENT that excludes all the other
possible reasons to fail even when the file is a directory.
(remove_cwd_entries): Don't attempt chdir if the file is known
to not be a directory.
(remove_dir): Use the same method that remove_cwd_entries uses
(for some reason they differed).  Don't assert that saved_errno
must be EPERM; it might be just about anything.
2004-05-08 12:49:22 +00:00
Jim Meyering
198dc407d3 New file; check for the above fix. 2004-05-08 12:47:23 +00:00
Jim Meyering
0ce65fc205 Update from gnulib.
(obstack_finish): Rename local: s/value/__value/.
2004-05-07 06:48:31 +00:00
Jim Meyering
72462df0d2 Update from gnulib.
(_): Define only if not already defined.
2004-05-07 06:48:12 +00:00
Jim Meyering
f0271be19f *** empty log message *** 2004-05-06 15:35:13 +00:00
Jim Meyering
89bba9158d (main): Use xnmalloc, rather than xmalloc. 2004-05-06 14:51:20 +00:00
Jim Meyering
e93ae52456 (main): Use xnmalloc, rather than xmalloc. 2004-05-06 14:50:17 +00:00
Jim Meyering
4d9d9f4d02 (list_entries_users): Use xnmalloc, rather than xmalloc. 2004-05-06 14:49:32 +00:00
Jim Meyering
433aacf5c6 (do_wipefd): Use xnmalloc, rather than xmalloc. 2004-05-06 14:48:07 +00:00
Jim Meyering
1c4154dbb0 (xgetgroups): Use variable name, rather than type name in computing buffer
size for xnmalloc.
2004-05-06 14:46:00 +00:00
Jim Meyering
76ef73f50a (xgetgroups): Use xnmalloc, rather than xmalloc.
Don't add `1' to the buffer size (it was to protect against malloc
implementations that fail to allocate a buffer of size zero).
That is no longer necessary, since we use a malloc wrapper
on such systems.
2004-05-06 14:43:31 +00:00
Jim Meyering
782b73c514 (main): Use xnmalloc, rather than xmalloc. 2004-05-06 14:24:50 +00:00
Jim Meyering
94c2794761 (elide_tail_bytes_pipe): Use xnmalloc, rather than xmalloc. 2004-05-06 14:24:16 +00:00
Jim Meyering
4de12cc012 (get_input_fstatus): Use xnmalloc, rather than xmalloc. 2004-05-06 14:23:08 +00:00
Jim Meyering
1956f215e1 . 2004-05-04 11:36:13 +00:00
Jim Meyering
c9316ddd85 *** empty log message *** 2004-05-04 07:26:41 +00:00
Jim Meyering
3145fdd1ed (show_disk, show_point): If several filesystems are
mounted on the same mount point, prefer the last one, not the first.
Problem reported by Christian Jones in
<http://mail.gnu.org/archive/html/bug-coreutils/2004-04/msg00200.html>.
(show_disk): Remove unused statp arg.  Return bool, not int.
(show_point): Rewrite to avoid gotos.  Use the same algorithm
for lofs and dummies for each pass through the mount table,
rather than subtly different algorithms (which are probably
inadvertent).
2004-05-04 07:26:33 +00:00
Jim Meyering
b9c20c62fb *** empty log message *** 2004-05-03 12:50:32 +00:00
Jim Meyering
bf006459d8 (lchown) [CHOWN_MODIFIES_SYMLINK]: Just call chown. 2004-05-03 12:50:24 +00:00
Jim Meyering
b0ee1e8b78 *** empty log message *** 2004-05-03 11:52:46 +00:00
Jim Meyering
752efcbdb0 *** empty log message *** 2004-05-03 11:52:39 +00:00