Jim Meyering [Fri, 14 May 2004 07:29:04 +0000 (07:29 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 May 2004 07:28:39 +0000 (07:28 +0000)]
Fix typo: s/supercede/supersede/.
Jim Meyering [Thu, 13 May 2004 07:27:25 +0000 (07:27 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 May 2004 07:27:10 +0000 (07:27 +0000)]
(unquote, make_printable_str): Use e.g. '\a' rather than '\007',
for portability to EBCDIC hosts.
Jim Meyering [Thu, 13 May 2004 07:26:46 +0000 (07:26 +0000)]
(print_esc_char): Use e.g. '\a' rather than '\007',
for portability to EBCDIC hosts.
Jim Meyering [Thu, 13 May 2004 07:26:14 +0000 (07:26 +0000)]
(print_ascii, dump_strings): Use e.g. '\a' rather than
'\007', for portability to EBCDIC hosts.
Jim Meyering [Thu, 13 May 2004 07:05:05 +0000 (07:05 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 May 2004 07:04:58 +0000 (07:04 +0000)]
Don't assume that "make -C" works; Solaris "make" doesn't have -C.
* src/Makefile.am (all_programs.list): New rule, copied from
man/Makefile.am and tests/Makefile.am, except that we use the
system tr rather than ./tr and we don't use tr -s.
* tests/Makefile.am (all_programs): Use it.
* man/Makefile.am (all_programs): Likewise. Renamed from programs,
for consistency. All uses changed.
Jim Meyering [Thu, 13 May 2004 07:03:52 +0000 (07:03 +0000)]
Don't assume that "make -C" works; Solaris "make" doesn't have -C.
* src/Makefile.am (all_programs.list): New rule, copied from
man/Makefile.am and tests/Makefile.am, except that we use the
system tr rather than ./tr and we don't use tr -s.
* tests/Makefile.am (all_programs): Use it.
Jim Meyering [Thu, 13 May 2004 07:03:00 +0000 (07:03 +0000)]
Don't assume that "make -C" works; Solaris "make" doesn't have -C.
(all_programs.list): New rule, copied from
man/Makefile.am and tests/Makefile.am, except that we use the
system tr rather than ./tr and we don't use tr -s.
Jim Meyering [Wed, 12 May 2004 09:35:19 +0000 (09:35 +0000)]
*** empty log message ***
Jim Meyering [Wed, 12 May 2004 09:35:06 +0000 (09:35 +0000)]
(AD_pop_and_chdir): Move lstat-`.' into if-block
where the result is used. This avoids one unnecessary lstat call
per command line argument.
Jim Meyering [Tue, 11 May 2004 19:41:37 +0000 (19:41 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 May 2004 19:41:33 +0000 (19:41 +0000)]
(TESTS): Add unread3.
Jim Meyering [Tue, 11 May 2004 19:41:23 +0000 (19:41 +0000)]
New test, for the above fix and today's lib/save-cwd.c improvement.
Jim Meyering [Tue, 11 May 2004 18:34:56 +0000 (18:34 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 May 2004 18:34:38 +0000 (18:34 +0000)]
(save_cwd): If opening `.' read-only fails, try write-only.
Jim Meyering [Tue, 11 May 2004 18:25:32 +0000 (18:25 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 May 2004 16:50:25 +0000 (16:50 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 May 2004 16:48:42 +0000 (16:48 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 May 2004 16:42:17 +0000 (16:42 +0000)]
(save_cwd) [HAVE_FCHDIR]: Don't fail just
because opening `.' failed. Resort to using xgetcwd.
Jim Meyering [Tue, 11 May 2004 16:14:22 +0000 (16:14 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 May 2004 16:14:11 +0000 (16:14 +0000)]
Don't include "save-cwd.h". It's no longer used.
Jim Meyering [Mon, 10 May 2004 18:15:41 +0000 (18:15 +0000)]
.
Jim Meyering [Mon, 10 May 2004 15:13:52 +0000 (15:13 +0000)]
*** empty log message ***
Jim Meyering [Mon, 10 May 2004 15:13:45 +0000 (15:13 +0000)]
(TESTS): Add trap.
Jim Meyering [Mon, 10 May 2004 15:13:29 +0000 (15:13 +0000)]
New file. Test for bug fix of 2004-04-18.
Jim Meyering [Mon, 10 May 2004 14:27:53 +0000 (14:27 +0000)]
*** empty log message ***
Jim Meyering [Mon, 10 May 2004 14:27:45 +0000 (14:27 +0000)]
(AD_push): Don't use errno in diagnostic about `changed dev/ino'.
Jim Meyering [Mon, 10 May 2004 07:15:56 +0000 (07:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 10 May 2004 07:15:03 +0000 (07:15 +0000)]
Remove this generated file from CVS.
Jim Meyering [Mon, 10 May 2004 07:04:59 +0000 (07:04 +0000)]
.
Jim Meyering [Sun, 9 May 2004 19:44:10 +0000 (19:44 +0000)]
.
Jim Meyering [Sun, 9 May 2004 19:43:35 +0000 (19:43 +0000)]
.
Jim Meyering [Sun, 9 May 2004 19:43:27 +0000 (19:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 9 May 2004 19:43:23 +0000 (19:43 +0000)]
(check-texinfo): grep -w IO
Jim Meyering [Sun, 9 May 2004 19:42:23 +0000 (19:42 +0000)]
*** empty log message ***
Jim Meyering [Sun, 9 May 2004 19:42:19 +0000 (19:42 +0000)]
(stat invocation): Change IO to I/O.
Jim Meyering [Sun, 9 May 2004 19:29:54 +0000 (19:29 +0000)]
*** empty log message ***
Jim Meyering [Sun, 9 May 2004 19:29:42 +0000 (19:29 +0000)]
(unquote): Use xcalloc rather than xmalloc and
a loop initializing the just-allocated memory to zero.
Jim Meyering [Sat, 8 May 2004 22:24:25 +0000 (22:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 May 2004 12:49:57 +0000 (12:49 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 May 2004 12:49:53 +0000 (12:49 +0000)]
(TESTS): Add no-give-up.
Jim Meyering [Sat, 8 May 2004 12:49:22 +0000 (12:49 +0000)]
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.
Jim Meyering [Sat, 8 May 2004 12:47:23 +0000 (12:47 +0000)]
New file; check for the above fix.
Jim Meyering [Fri, 7 May 2004 06:48:31 +0000 (06:48 +0000)]
Update from gnulib.
(obstack_finish): Rename local: s/value/__value/.
Jim Meyering [Fri, 7 May 2004 06:48:12 +0000 (06:48 +0000)]
Update from gnulib.
(_): Define only if not already defined.
Jim Meyering [Thu, 6 May 2004 15:35:13 +0000 (15:35 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 May 2004 14:51:20 +0000 (14:51 +0000)]
(main): Use xnmalloc, rather than xmalloc.
Jim Meyering [Thu, 6 May 2004 14:50:17 +0000 (14:50 +0000)]
(main): Use xnmalloc, rather than xmalloc.
Jim Meyering [Thu, 6 May 2004 14:49:32 +0000 (14:49 +0000)]
(list_entries_users): Use xnmalloc, rather than xmalloc.
Jim Meyering [Thu, 6 May 2004 14:48:07 +0000 (14:48 +0000)]
(do_wipefd): Use xnmalloc, rather than xmalloc.
Jim Meyering [Thu, 6 May 2004 14:46:00 +0000 (14:46 +0000)]
(xgetgroups): Use variable name, rather than type name in computing buffer
size for xnmalloc.
Jim Meyering [Thu, 6 May 2004 14:43:31 +0000 (14:43 +0000)]
(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.
Jim Meyering [Thu, 6 May 2004 14:24:50 +0000 (14:24 +0000)]
(main): Use xnmalloc, rather than xmalloc.
Jim Meyering [Thu, 6 May 2004 14:24:16 +0000 (14:24 +0000)]
(elide_tail_bytes_pipe): Use xnmalloc, rather than xmalloc.
Jim Meyering [Thu, 6 May 2004 14:23:08 +0000 (14:23 +0000)]
(get_input_fstatus): Use xnmalloc, rather than xmalloc.
Jim Meyering [Tue, 4 May 2004 11:36:13 +0000 (11:36 +0000)]
.
Jim Meyering [Tue, 4 May 2004 07:26:41 +0000 (07:26 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 May 2004 07:26:33 +0000 (07:26 +0000)]
(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).
Jim Meyering [Mon, 3 May 2004 12:50:32 +0000 (12:50 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 May 2004 12:50:24 +0000 (12:50 +0000)]
(lchown) [CHOWN_MODIFIES_SYMLINK]: Just call chown.
Jim Meyering [Mon, 3 May 2004 11:52:46 +0000 (11:52 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 May 2004 11:52:39 +0000 (11:52 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 May 2004 11:52:33 +0000 (11:52 +0000)]
(EXTRA_DIST): Add m4/ChangeLog, now that we no longer have m4/Makefile*.
Jim Meyering [Mon, 3 May 2004 11:50:52 +0000 (11:50 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 May 2004 11:07:59 +0000 (11:07 +0000)]
.
Jim Meyering [Mon, 3 May 2004 11:03:14 +0000 (11:03 +0000)]
Temporary work-around for the problem reported here:
http://sources.redhat.com/ml/automake/2004-05/msg00023.html
(FIXME: the number `23' may not be accurate)
(AM_GNU_GETTEXT): Don't require AM_INTL_SUBDIR.
(AM_INTL_SUBDIR): Comment out definition.
Jim Meyering [Sat, 1 May 2004 16:45:58 +0000 (16:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 May 2004 16:45:39 +0000 (16:45 +0000)]
Remove unused file.
Jim Meyering [Sat, 1 May 2004 16:44:31 +0000 (16:44 +0000)]
Remove unused file.
Jim Meyering [Sat, 1 May 2004 16:43:46 +0000 (16:43 +0000)]
Remove unused file.
Jim Meyering [Sat, 1 May 2004 16:41:43 +0000 (16:41 +0000)]
Remove unused file.
Jim Meyering [Sat, 1 May 2004 16:41:02 +0000 (16:41 +0000)]
Remove unused file.
Jim Meyering [Sat, 1 May 2004 16:39:48 +0000 (16:39 +0000)]
Remove unused file.
Jim Meyering [Sat, 1 May 2004 16:38:12 +0000 (16:38 +0000)]
Remove file. This is now part of mktime.m4.
Jim Meyering [Sat, 1 May 2004 16:20:22 +0000 (16:20 +0000)]
.
Jim Meyering [Sat, 1 May 2004 14:42:45 +0000 (14:42 +0000)]
.
Jim Meyering [Sat, 1 May 2004 14:42:06 +0000 (14:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 May 2004 14:42:00 +0000 (14:42 +0000)]
(gl_MACROS): Move fchown-checking code to chown.m4.
Jim Meyering [Sat, 1 May 2004 14:41:21 +0000 (14:41 +0000)]
(gl_PREREQ_CHOWN): Check for fcntl.h.
See if we need an fchown replacement.
(gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
(gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
and use the replacement function if we detect either defect.
Jim Meyering [Sat, 1 May 2004 14:36:29 +0000 (14:36 +0000)]
(rpl_chown) [CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE]:
Wrap old code with this conditional.
[CHOWN_MODIFIES_SYMLINK]: Try to work around a chown
function that does not dereference symlinks.
Jim Meyering [Sat, 1 May 2004 14:33:41 +0000 (14:33 +0000)]
When chown or chgrp is modifying the referent of a symlink,
use the chown(2) function, if possible.
(change_file_owner): Don't hard-code the
open/fchown/close kludge here. Use `chown' instead.
The chown function works just fine on conforming systems.
Other systems now go through the new chown wrapper that
resorts to the old kludge.
Jim Meyering [Sat, 1 May 2004 06:49:01 +0000 (06:49 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 May 2004 06:48:55 +0000 (06:48 +0000)]
(change_file_owner): Add a comment.
Jim Meyering [Thu, 29 Apr 2004 16:03:21 +0000 (16:03 +0000)]
.
Jim Meyering [Wed, 28 Apr 2004 12:42:14 +0000 (12:42 +0000)]
Whoops: s/sc_src_tight_scope/sc_tight_scope/
Jim Meyering [Tue, 27 Apr 2004 19:01:00 +0000 (19:01 +0000)]
.
Jim Meyering [Tue, 27 Apr 2004 18:39:21 +0000 (18:39 +0000)]
(syntax_table, re_syntax_table): Remove declarations of two unused
variables (they were exposed by the above change).
Jim Meyering [Tue, 27 Apr 2004 18:37:14 +0000 (18:37 +0000)]
Make over 40 global extern variables `static'.
Jim Meyering [Tue, 27 Apr 2004 17:03:58 +0000 (17:03 +0000)]
(sc_tight_scope): Also check for global variables, (BSS section).
Jim Meyering [Tue, 27 Apr 2004 16:58:16 +0000 (16:58 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Apr 2004 16:58:02 +0000 (16:58 +0000)]
Rename to sc_tight_scope.
(syntax-check-rules): Really add it.
Jim Meyering [Tue, 27 Apr 2004 16:57:23 +0000 (16:57 +0000)]
Rename to sc_tight_scope.
Jim Meyering [Tue, 27 Apr 2004 16:36:08 +0000 (16:36 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Apr 2004 16:36:03 +0000 (16:36 +0000)]
(backup_type): Declare `static'.
Jim Meyering [Tue, 27 Apr 2004 16:34:47 +0000 (16:34 +0000)]
(opt_nul_terminate_output): Declare `static'.
Jim Meyering [Tue, 27 Apr 2004 16:32:43 +0000 (16:32 +0000)]
(G_fail): Declare `static'.
Jim Meyering [Tue, 27 Apr 2004 15:02:35 +0000 (15:02 +0000)]
*** empty log message ***
Jim Meyering [Tue, 27 Apr 2004 15:02:11 +0000 (15:02 +0000)]
(forget_created, remember_created)
(src_to_dest_lookup, remember_copied, hash_init, forget_all):
Add `extern' keyword.