platform/upstream/coreutils.git
18 years ago(all): Emit diagnostics to stderr, not stdout.
Jim Meyering [Mon, 13 Feb 2006 18:29:24 +0000 (18:29 +0000)]
(all): Emit diagnostics to stderr, not stdout.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Feb 2006 15:15:32 +0000 (15:15 +0000)]
*** empty log message ***

18 years ago(patch-check): New target.
Jim Meyering [Sun, 12 Feb 2006 15:15:06 +0000 (15:15 +0000)]
(patch-check): New target.
(local-checks-available): Add to the list.

18 years ago*** empty log message ***
Jim Meyering [Sun, 12 Feb 2006 08:48:46 +0000 (08:48 +0000)]
*** empty log message ***

18 years ago(Character sets): Don't say that an unknown
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

18 years ago(Character sets): Don't say that an unknown
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.

18 years agofix typo in comment
Jim Meyering [Sun, 12 Feb 2006 07:55:38 +0000 (07:55 +0000)]
fix typo in comment

18 years ago.
Jim Meyering [Sat, 11 Feb 2006 20:58:28 +0000 (20:58 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:58:09 +0000 (20:58 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:57:30 +0000 (20:57 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:56:08 +0000 (20:56 +0000)]
*** empty log message ***

18 years agoAdjust two expected diagnostics, now that they're
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': ...

18 years ago.
Jim Meyering [Sat, 11 Feb 2006 20:54:42 +0000 (20:54 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:53:33 +0000 (20:53 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:53:01 +0000 (20:53 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Sat, 11 Feb 2006 20:52:49 +0000 (20:52 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:45:22 +0000 (20:45 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:45:20 +0000 (20:45 +0000)]
*** empty log message ***

18 years ago(EXTRA_DIST): Add c99-to-c98.diff.
Jim Meyering [Sat, 11 Feb 2006 20:45:15 +0000 (20:45 +0000)]
(EXTRA_DIST): Add c99-to-c98.diff.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:44:05 +0000 (20:44 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:43:24 +0000 (20:43 +0000)]
*** empty log message ***

18 years ago(EXTRA_DIST): Add .x-po-check.
Jim Meyering [Sat, 11 Feb 2006 20:43:20 +0000 (20:43 +0000)]
(EXTRA_DIST): Add .x-po-check.

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:42:27 +0000 (20:42 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:41:41 +0000 (20:41 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 20:40:49 +0000 (20:40 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 19:25:29 +0000 (19:25 +0000)]
*** empty log message ***

18 years agoBug fix:
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.

18 years agorm -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.

18 years ago(TESTS): Add empty-inacc.
Jim Meyering [Sat, 11 Feb 2006 18:03:52 +0000 (18:03 +0000)]
(TESTS): Add empty-inacc.

18 years ago# Ensure that rm -rf removes an empty-and-inaccessible directory.
Jim Meyering [Sat, 11 Feb 2006 18:03:29 +0000 (18:03 +0000)]
# Ensure that rm -rf removes an empty-and-inaccessible directory.

18 years agoadd a comment
Jim Meyering [Sat, 11 Feb 2006 07:38:25 +0000 (07:38 +0000)]
add a comment

18 years ago*** empty log message ***
Jim Meyering [Sat, 11 Feb 2006 07:36:16 +0000 (07:36 +0000)]
*** empty log message ***

18 years ago(syntax-check-rules): Automatically derive this list of sc_-prefixed rule names.
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.

18 years agoMakefile.maint import from Bison.
Paul Eggert [Sat, 11 Feb 2006 06:05:39 +0000 (06:05 +0000)]
Makefile.maint import from Bison.

18 years ago(CVS_LIST): Don't assume cvsu is available.
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.

18 years agoRework slightly to avoid bogus warning from
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.

18 years agoFix typo in previous checkin: I deleted a '2' by mistake.
Paul Eggert [Sat, 11 Feb 2006 00:36:08 +0000 (00:36 +0000)]
Fix typo in previous checkin: I deleted a '2' by mistake.

18 years ago*** empty log message ***
Jim Meyering [Fri, 10 Feb 2006 17:47:24 +0000 (17:47 +0000)]
*** empty log message ***

18 years agoUse gzip's --rsyncable option only if it's available.
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.

18 years ago*** empty log message ***
Jim Meyering [Wed, 8 Feb 2006 12:44:45 +0000 (12:44 +0000)]
*** empty log message ***

18 years ago(local-checks-available): Define in terms of
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.

18 years ago(close_stdout): Don't assume 'bool' converts nonzero
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.

18 years ago*** empty log message ***
Jim Meyering [Tue, 7 Feb 2006 22:33:01 +0000 (22:33 +0000)]
*** empty log message ***

18 years ago(!defined O_DIRECT): If O_DIRECTIO is defined (as it is on Tru64),
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.

18 years ago*** empty log message ***
Jim Meyering [Tue, 7 Feb 2006 09:21:27 +0000 (09:21 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Tue, 7 Feb 2006 09:18:46 +0000 (09:18 +0000)]
*** empty log message ***

18 years ago(expected_failure_status_vdir):
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.

18 years ago*** empty log message ***
Jim Meyering [Tue, 7 Feb 2006 08:40:58 +0000 (08:40 +0000)]
*** empty log message ***

18 years agoMention the `cp -RL' bug fix.
Jim Meyering [Mon, 6 Feb 2006 12:42:13 +0000 (12:42 +0000)]
Mention the `cp -RL' bug fix.

18 years ago*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 12:41:55 +0000 (12:41 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 12:37:47 +0000 (12:37 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 09:06:50 +0000 (09:06 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Mon, 6 Feb 2006 09:05:29 +0000 (09:05 +0000)]
.

18 years ago(sc_two_space_separator_in_usage): New rule.
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.

18 years ago*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 08:46:06 +0000 (08:46 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 08:01:46 +0000 (08:01 +0000)]
*** empty log message ***

18 years ago(usage): Use two spaces (not one) to separate the --no-preserve-root option
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.

18 years ago(usage): Use two spaces (not one) to separate the
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.

18 years ago(EXTRA_DIST): Add .x-sc_two_space_separator_in_usage.
Jim Meyering [Mon, 6 Feb 2006 07:56:05 +0000 (07:56 +0000)]
(EXTRA_DIST): Add .x-sc_two_space_separator_in_usage.

18 years ago*** empty log message ***
Jim Meyering [Mon, 6 Feb 2006 07:40:35 +0000 (07:40 +0000)]
*** empty log message ***

18 years ago(usage): Use two spaces (not one) to separate the
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.

18 years ago(gl_USE_SYSTEM_EXTENSIONS): Don't #define
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.

18 years ago(copy_internal): cp -RL no longer fails when encountering
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.

18 years ago*** empty log message ***
Jim Meyering [Sat, 4 Feb 2006 10:48:00 +0000 (10:48 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 4 Feb 2006 10:45:44 +0000 (10:45 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 4 Feb 2006 10:44:39 +0000 (10:44 +0000)]
*** empty log message ***

18 years agotweak comment
Jim Meyering [Sat, 4 Feb 2006 10:44:19 +0000 (10:44 +0000)]
tweak comment

18 years agoadd a comment
Jim Meyering [Sat, 4 Feb 2006 09:40:13 +0000 (09:40 +0000)]
add a comment

18 years ago(TESTS): Add cp-deref.
Jim Meyering [Sat, 4 Feb 2006 09:37:41 +0000 (09:37 +0000)]
(TESTS): Add cp-deref.

18 years agoNew file. Test for today's fix.
Jim Meyering [Sat, 4 Feb 2006 09:37:32 +0000 (09:37 +0000)]
New file.  Test for today's fix.

18 years ago*** empty log message ***
Jim Meyering [Fri, 3 Feb 2006 14:40:38 +0000 (14:40 +0000)]
*** empty log message ***

18 years agoRequire automake-1.9.6, not 1.8.3.
Jim Meyering [Fri, 3 Feb 2006 14:40:35 +0000 (14:40 +0000)]
Require automake-1.9.6, not 1.8.3.

18 years agoregenerate, as usual
Jim Meyering [Fri, 3 Feb 2006 14:09:53 +0000 (14:09 +0000)]
regenerate, as usual

18 years ago*** empty log message ***
Jim Meyering [Thu, 2 Feb 2006 21:25:10 +0000 (21:25 +0000)]
*** empty log message ***

18 years agoEliminate the unwelcome (albeit unlikely) possibility of xmalloc
Jim Meyering [Thu, 2 Feb 2006 21:25:06 +0000 (21:25 +0000)]
Eliminate the unwelcome (albeit unlikely) possibility of xmalloc
failure on deficient systems, and simplify gnulib lgpl dependencies.

(rpl_lstat): Rewrite to use stat() in place of the
xmalloc/lstat combination.  Based on a patch from Bruno Haible.

18 years ago(od invocation): Warn that -t a ignores the high order bit.
Paul Eggert [Thu, 2 Feb 2006 07:45:21 +0000 (07:45 +0000)]
(od invocation): Warn that -t a ignores the high order bit.

18 years ago(usage): Mention that -t a ignores high order bit.
Paul Eggert [Thu, 2 Feb 2006 07:44:57 +0000 (07:44 +0000)]
(usage): Mention that -t a ignores high order bit.

18 years ago*** empty log message ***
Jim Meyering [Wed, 1 Feb 2006 14:43:29 +0000 (14:43 +0000)]
*** empty log message ***

18 years ago(find_dir_entry): Remove unused local, `ent_sb_valid'.
Jim Meyering [Wed, 1 Feb 2006 14:43:24 +0000 (14:43 +0000)]
(find_dir_entry): Remove unused local, `ent_sb_valid'.

18 years ago*** empty log message ***
Jim Meyering [Tue, 31 Jan 2006 16:05:42 +0000 (16:05 +0000)]
*** empty log message ***

18 years agoUpdate from gnulib.
Jim Meyering [Tue, 31 Jan 2006 16:05:23 +0000 (16:05 +0000)]
Update from gnulib.

18 years agoUse better diagnostics for "head -3 -4" and likewise for tail.
Paul Eggert [Tue, 31 Jan 2006 01:39:44 +0000 (01:39 +0000)]
Use better diagnostics for "head -3 -4" and likewise for tail.

18 years ago(parse_options): Use a better diagnostic when someone uses a trailing
Paul Eggert [Tue, 31 Jan 2006 01:39:10 +0000 (01:39 +0000)]
(parse_options): Use a better diagnostic when someone uses a trailing
numeric option in an invalid way.

18 years ago(main): Use a better diagnostic when someone uses a
Paul Eggert [Tue, 31 Jan 2006 01:38:30 +0000 (01:38 +0000)]
(main): Use a better diagnostic when someone uses a
trailing numeric option in an invalid way.

18 years ago(tail invocation): In the obsolete usage, the
Paul Eggert [Tue, 31 Jan 2006 01:38:05 +0000 (01:38 +0000)]
(tail invocation): In the obsolete usage, the
count is optional, so put square brackets around it.

18 years ago*** empty log message ***
Jim Meyering [Mon, 30 Jan 2006 21:11:12 +0000 (21:11 +0000)]
*** empty log message ***

18 years agoInclude `count' keyword in man page synopsis,
Jim Meyering [Mon, 30 Jan 2006 21:11:06 +0000 (21:11 +0000)]
Include `count' keyword in man page synopsis,
per suggestion from http://bugs.debian.org/181585.

18 years ago(L_): Renamed from L. All uses changed.
Paul Eggert [Fri, 27 Jan 2006 18:41:50 +0000 (18:41 +0000)]
(L_): Renamed from L.  All uses changed.

18 years agoSync stdbool from gnulib.
Paul Eggert [Thu, 26 Jan 2006 21:01:56 +0000 (21:01 +0000)]
Sync stdbool from gnulib.

18 years agoMerge stdbool from gnulib; we're still not quite there yet.
Paul Eggert [Wed, 25 Jan 2006 18:32:46 +0000 (18:32 +0000)]
Merge stdbool from gnulib; we're still not quite there yet.

18 years ago(true, false) [defined __BEOS__]: undef, as before.
Paul Eggert [Wed, 25 Jan 2006 18:32:19 +0000 (18:32 +0000)]
(true, false) [defined __BEOS__]: undef, as before.
(_Bool) [!@HAVE__BOOL@ && defined __GNUC__]: Use an enum
rather than a #define.

18 years ago(AC_HEADER_STDBOOL): Add some comments.
Paul Eggert [Wed, 25 Jan 2006 18:31:56 +0000 (18:31 +0000)]
(AC_HEADER_STDBOOL): Add some comments.

18 years ago.
Jim Meyering [Wed, 25 Jan 2006 08:11:25 +0000 (08:11 +0000)]
.

18 years ago.
Jim Meyering [Wed, 25 Jan 2006 08:05:45 +0000 (08:05 +0000)]
.

18 years agoRemove this:
Jim Meyering [Wed, 25 Jan 2006 07:44:47 +0000 (07:44 +0000)]
Remove this:
^lib/readutmp.h

18 years agoRemove useless parentheses in cpp directive.
Jim Meyering [Wed, 25 Jan 2006 07:44:28 +0000 (07:44 +0000)]
Remove useless parentheses in cpp directive.

18 years agoremove fileblocks.c
Jim Meyering [Wed, 25 Jan 2006 07:43:38 +0000 (07:43 +0000)]
remove fileblocks.c

18 years ago*** empty log message ***
Jim Meyering [Wed, 25 Jan 2006 07:43:20 +0000 (07:43 +0000)]
*** empty log message ***

18 years agoRemove useless parentheses in cpp directive.
Jim Meyering [Wed, 25 Jan 2006 07:43:17 +0000 (07:43 +0000)]
Remove useless parentheses in cpp directive.

18 years ago(show_dev): If the file system claims to have more available than total
Paul Eggert [Tue, 24 Jan 2006 23:30:46 +0000 (23:30 +0000)]
(show_dev): If the file system claims to have more available than total
blocks, report the number of used blocks as being total - available
(a negative number) rather than as garbage.