Jim Meyering [Mon, 20 Feb 2006 16:49:27 +0000 (16:49 +0000)]
Update documentation to match previous patch.
Jim Meyering [Mon, 20 Feb 2006 13:01:56 +0000 (13:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 20 Feb 2006 13:01:51 +0000 (13:01 +0000)]
(rm invocation): Document new -I option, and new --interactive behavior.
Jim Meyering [Mon, 20 Feb 2006 13:01:20 +0000 (13:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 20 Feb 2006 13:00:54 +0000 (13:00 +0000)]
.
Jim Meyering [Mon, 20 Feb 2006 13:00:16 +0000 (13:00 +0000)]
.
Jim Meyering [Mon, 20 Feb 2006 13:00:03 +0000 (13:00 +0000)]
Remove entry for implementing rm -I
Jim Meyering [Mon, 20 Feb 2006 12:50:38 +0000 (12:50 +0000)]
New option for rm: --interactive=once (-I).
Document it, along with change to rm --interactive.
Jim Meyering [Mon, 20 Feb 2006 12:49:54 +0000 (12:49 +0000)]
tests for new, -I, option
Jim Meyering [Mon, 20 Feb 2006 12:49:14 +0000 (12:49 +0000)]
(TESTS): Add interactive-always and interactive-once.
Jim Meyering [Mon, 20 Feb 2006 12:48:11 +0000 (12:48 +0000)]
(INTERACTIVE_OPTION): New enum value.
(interactive_type): New enum.
(long_opts): Let interactive take an optional argument.
(interactive_args, interactive_types): New option arguments.
(usage): Document -I, --interactive=WHEN. Use program_name
instead of a basename.
(main): New -I option, new behavior to --interactive.
[From Eric Blake]
Jim Meyering [Sat, 18 Feb 2006 07:45:27 +0000 (07:45 +0000)]
(usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.
Jim Meyering [Sat, 18 Feb 2006 07:44:22 +0000 (07:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 18 Feb 2006 07:40:51 +0000 (07:40 +0000)]
(sc_two_space_separator_in_usage): Make the regular
expression match more of the target lines, e.g., those that start with
`-S,' (short option followed by a comma) or that include `=[...]'.
Patch by Nicolas François.
Jim Meyering [Sat, 18 Feb 2006 07:23:05 +0000 (07:23 +0000)]
(usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.
Jim Meyering [Sat, 18 Feb 2006 07:21:50 +0000 (07:21 +0000)]
(usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.
Paul Eggert [Thu, 16 Feb 2006 23:34:00 +0000 (23:34 +0000)]
Sync from gnulib.
Jim Meyering [Thu, 16 Feb 2006 23:10:27 +0000 (23:10 +0000)]
*** empty log message ***
Jim Meyering [Thu, 16 Feb 2006 23:10:01 +0000 (23:10 +0000)]
Include lstat.h, so that uses of lstat are converted
to uses of rpl_lstat, e.g., on Solaris 9. Otherwise, programs like
du (which now uses the openat-enabled fts and hence fstatat) would
mistakenly fail to dereference a symlink-to-directory specified
with a trailing slash.
Jim Meyering [Thu, 16 Feb 2006 20:39:10 +0000 (20:39 +0000)]
.
Jim Meyering [Thu, 16 Feb 2006 20:28:32 +0000 (20:28 +0000)]
.
Jim Meyering [Wed, 15 Feb 2006 08:51:52 +0000 (08:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 15 Feb 2006 08:51:47 +0000 (08:51 +0000)]
(alpha beta major): For `make major', ensure that the
version string is of the form N.N[.N]*, where N is one or more digits.
Paul Eggert [Tue, 14 Feb 2006 23:08:59 +0000 (23:08 +0000)]
Sync from gnulib.
Jim Meyering [Tue, 14 Feb 2006 22:21:56 +0000 (22:21 +0000)]
fix typo in diagnostic
Jim Meyering [Tue, 14 Feb 2006 20:23:23 +0000 (20:23 +0000)]
*** empty log message ***
Jim Meyering [Tue, 14 Feb 2006 20:23:07 +0000 (20:23 +0000)]
update from gnulib
Jim Meyering [Tue, 14 Feb 2006 12:27:35 +0000 (12:27 +0000)]
update from gnulib
Paul Eggert [Mon, 13 Feb 2006 23:30:58 +0000 (23:30 +0000)]
Clarify wording in the light of later comments from the Open Group
and from rms.
Jim Meyering [Mon, 13 Feb 2006 18:29:31 +0000 (18:29 +0000)]
*** empty log message ***
Jim Meyering [Mon, 13 Feb 2006 18:29:24 +0000 (18:29 +0000)]
(all): Emit diagnostics to stderr, not stdout.
Jim Meyering [Sun, 12 Feb 2006 15:15:32 +0000 (15:15 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Feb 2006 15:15:06 +0000 (15:15 +0000)]
(patch-check): New target.
(local-checks-available): Add to the list.
Jim Meyering [Sun, 12 Feb 2006 08:48:46 +0000 (08:48 +0000)]
*** empty log message ***
Jim Meyering [Sun, 12 Feb 2006 08:48:42 +0000 (08:48 +0000)]
(Character sets): Don't say that an unknown
backslash-escape causes an error message -- it doesn't.
Mention that `\' also removes any special significance, so
is useful for [, ], *, -. Prompted by Richard Neill in
http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=14937
Jim Meyering [Sun, 12 Feb 2006 08:41:18 +0000 (08:41 +0000)]
(Character sets): Don't say that an unknown
backslash-escape causes an error message -- it doesn't.
Jim Meyering [Sun, 12 Feb 2006 07:55:38 +0000 (07:55 +0000)]
fix typo in comment
Jim Meyering [Sat, 11 Feb 2006 20:58:28 +0000 (20:58 +0000)]
.
Jim Meyering [Sat, 11 Feb 2006 20:58:09 +0000 (20:58 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:57:30 +0000 (20:57 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:56:08 +0000 (20:56 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:55:58 +0000 (20:55 +0000)]
Adjust two expected diagnostics, now that they're
a tiny bit less precise: cannot remove `a/1': ... instead of
cannot open directory `a/1': ...
Jim Meyering [Sat, 11 Feb 2006 20:54:42 +0000 (20:54 +0000)]
.
Jim Meyering [Sat, 11 Feb 2006 20:53:33 +0000 (20:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:53:01 +0000 (20:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:52:49 +0000 (20:52 +0000)]
.
Jim Meyering [Sat, 11 Feb 2006 20:45:22 +0000 (20:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:45:20 +0000 (20:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:45:15 +0000 (20:45 +0000)]
(EXTRA_DIST): Add c99-to-c98.diff.
Jim Meyering [Sat, 11 Feb 2006 20:44:05 +0000 (20:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:43:24 +0000 (20:43 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:43:20 +0000 (20:43 +0000)]
(EXTRA_DIST): Add .x-po-check.
Jim Meyering [Sat, 11 Feb 2006 20:42:27 +0000 (20:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:41:41 +0000 (20:41 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:40:49 +0000 (20:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 19:25:29 +0000 (19:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 19:25:26 +0000 (19:25 +0000)]
Bug fix:
rm -r must remove an empty directory, even if it is inaccessible.
Jim Meyering [Sat, 11 Feb 2006 19:25:02 +0000 (19:25 +0000)]
rm -r must remove an empty directory, even if it is inaccessible.
(close_preserve_errno): New function.
(fd_to_subdirp): Don't print a diagnostic in this function.
Do it from the callers instead, unless rmdir succeeds.
(remove_cwd_entries, remove_dir): Adjust callers.
Jim Meyering [Sat, 11 Feb 2006 18:03:52 +0000 (18:03 +0000)]
(TESTS): Add empty-inacc.
Jim Meyering [Sat, 11 Feb 2006 18:03:29 +0000 (18:03 +0000)]
# Ensure that rm -rf removes an empty-and-inaccessible directory.
Jim Meyering [Sat, 11 Feb 2006 07:38:25 +0000 (07:38 +0000)]
add a comment
Jim Meyering [Sat, 11 Feb 2006 07:36:16 +0000 (07:36 +0000)]
*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 07:36:10 +0000 (07:36 +0000)]
(syntax-check-rules): Automatically derive this list of sc_-prefixed rule names.
Paul Eggert [Sat, 11 Feb 2006 06:05:39 +0000 (06:05 +0000)]
Makefile.maint import from Bison.
Paul Eggert [Sat, 11 Feb 2006 06:05:23 +0000 (06:05 +0000)]
(CVS_LIST): Don't assume cvsu is available.
(CVS_LIST_EXCEPT): New macro, to simplify exception-processing.
Most uses of CVS_LIST changed to use CVS_LIST_EXCEPT.
(syntax-check-rules): Bring back sc_changelong. (Hmm, why did it
go away? was that an accident?)
(sc_cast_of_argument_to_free, sc_cast_of_x_alloc_return_value):
(sc_cast_of_alloca_return_value, sc_space_tab, sc_prohibit_atoi_atof):
(sc_error_exit_success, sc_file_system, sc_no_if_have_config_h):
(sc_system_h_headers, sc_sun_os_names, sc_trailing_blank):
(sc_two_space_separator_in_usage, sc_unmarked_diagnostics):
(sc_obsolete_symbols, sc_changelog, sc_prohibit_jm_in_m4):
(sc_useless_cpp_parens, makefile-check, m4-check, po-check):
(author_mark_check, makefile_path_separator_check):
Output line numbers, to simplify navigation of Emacs *compilation*
buffers.
(sc_prohibit_atoi_atof, sc_file_system):
Rework slightly so that Makefile.maint doesn't get reported as a
violation of its own syntax rules.
(sc_dd_max_sym_length): Use ifneq to do nothing, instead of doing
it at run-time (which didn't work with Bison). Fix a makefile typo,
caught by Makefile.maint itself: spaces where a tab should be.
(po-check): Check lib/*.[ch] even if not in CVS; used by Bison,
which copies from ../gnulib/lib/*.[ch] to lib/*.[ch].
Ignore djgpp and man subdirectories, to avoid false matches with
Bison and coreutils, respectively. Use sort -u to remove the
resulting duplicates.
Paul Eggert [Sat, 11 Feb 2006 06:04:56 +0000 (06:04 +0000)]
Rework slightly to avoid bogus warning from
sc_two_space_separator_in_usage.
Paul Eggert [Sat, 11 Feb 2006 00:36:08 +0000 (00:36 +0000)]
Fix typo in previous checkin: I deleted a '2' by mistake.
Jim Meyering [Fri, 10 Feb 2006 17:47:24 +0000 (17:47 +0000)]
*** empty log message ***
Jim Meyering [Fri, 10 Feb 2006 17:47:16 +0000 (17:47 +0000)]
Use gzip's --rsyncable option only if it's available.
(gzip_rsyncable): New variable.
(GZIP_ENV): Use it.
Jim Meyering [Wed, 8 Feb 2006 12:44:45 +0000 (12:44 +0000)]
*** empty log message ***
Jim Meyering [Wed, 8 Feb 2006 12:44:36 +0000 (12:44 +0000)]
(local-checks-available): Define in terms of
the expansion, $(syntax-check-rules), rather than the single,
top-level target `syntax-check', so that it's easier to exclude
individual rules (via $(local-checks-to-skip)).
(tgz-md5, tgz-sha1, ...): Remove now-unused definitions.
Paul Eggert [Wed, 8 Feb 2006 00:08:38 +0000 (00:08 +0000)]
(close_stdout): Don't assume 'bool' converts nonzero
ints to 0 or 1, as this isn't true for the stdbool.h substitute.
Jim Meyering [Tue, 7 Feb 2006 22:33:01 +0000 (22:33 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Feb 2006 22:32:50 +0000 (22:32 +0000)]
(!defined O_DIRECT): If O_DIRECTIO is defined (as it is on Tru64),
define O_DIRECT to that. Patch From James Lemley.
Jim Meyering [Tue, 7 Feb 2006 09:21:27 +0000 (09:21 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Feb 2006 09:18:46 +0000 (09:18 +0000)]
*** empty log message ***
Jim Meyering [Tue, 7 Feb 2006 09:18:28 +0000 (09:18 +0000)]
(expected_failure_status_vdir):
Redirect an expected disk-full diagnostic to /dev/null.
Jim Meyering [Tue, 7 Feb 2006 08:40:58 +0000 (08:40 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 12:42:13 +0000 (12:42 +0000)]
Mention the `cp -RL' bug fix.
Jim Meyering [Mon, 6 Feb 2006 12:41:55 +0000 (12:41 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 12:37:47 +0000 (12:37 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 09:06:50 +0000 (09:06 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 09:05:29 +0000 (09:05 +0000)]
.
Jim Meyering [Mon, 6 Feb 2006 08:57:49 +0000 (08:57 +0000)]
(sc_two_space_separator_in_usage): New rule.
(syntax-check-rules): Add it.
Jim Meyering [Mon, 6 Feb 2006 08:46:06 +0000 (08:46 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 08:01:46 +0000 (08:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 08:00:23 +0000 (08:00 +0000)]
(usage): Use two spaces (not one) to separate the --no-preserve-root option
string from its description, so help2man formats the derived man page properly.
Jim Meyering [Mon, 6 Feb 2006 07:58:53 +0000 (07:58 +0000)]
(usage): Use two spaces (not one) to separate the
--first-only option string from its description, so help2man formats
the derived man page properly.
Jim Meyering [Mon, 6 Feb 2006 07:56:05 +0000 (07:56 +0000)]
(EXTRA_DIST): Add .x-sc_two_space_separator_in_usage.
Jim Meyering [Mon, 6 Feb 2006 07:40:35 +0000 (07:40 +0000)]
*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 07:39:37 +0000 (07:39 +0000)]
(usage): Use two spaces (not one) to separate the
option string from its description, so help2man formats the
derived man page properly. Patch from Nicolas François
in http://bugs.debian.org/351601.
Paul Eggert [Mon, 6 Feb 2006 05:22:12 +0000 (05:22 +0000)]
(gl_USE_SYSTEM_EXTENSIONS): Don't #define
__EXTENSIONS__ if this causes compilation to fail.
Jim Meyering [Sat, 4 Feb 2006 10:49:21 +0000 (10:49 +0000)]
(copy_internal): cp -RL no longer fails when encountering
the same directory more than once in the hierarchy beneath a single
command-line argument. That is legitimate, e.g. when there are
two or more symbolic links, each pointing to some directory that
would not otherwise be copied. Reported by Christophe LYON.
Jim Meyering [Sat, 4 Feb 2006 10:48:00 +0000 (10:48 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Feb 2006 10:45:44 +0000 (10:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Feb 2006 10:44:39 +0000 (10:44 +0000)]
*** empty log message ***
Jim Meyering [Sat, 4 Feb 2006 10:44:19 +0000 (10:44 +0000)]
tweak comment
Jim Meyering [Sat, 4 Feb 2006 09:40:13 +0000 (09:40 +0000)]
add a comment
Jim Meyering [Sat, 4 Feb 2006 09:37:41 +0000 (09:37 +0000)]
(TESTS): Add cp-deref.
Jim Meyering [Sat, 4 Feb 2006 09:37:32 +0000 (09:37 +0000)]
New file. Test for today's fix.