Jim Meyering
de88ea4c5d
.
2006-09-24 19:27:02 +00:00
Jim Meyering
af5967eae2
* tests/mv/hard-verbose: New file. Test for the above fix.
...
* tests/mv/Makefile.am (TESTS): Add hard-verbose.
2006-09-24 16:55:13 +00:00
Jim Meyering
6649f01059
* tests/help-version (sync_args): Don't call sync, since it spins up
...
disks that I've deliberately caused to spin down (but not unmounted).
2006-09-24 16:46:41 +00:00
Jim Meyering
200aa48e15
* NEWS: Mention the improvement to sort.
2006-09-24 11:44:16 +00:00
Jim Meyering
867251d725
* tests/tail-2/proc-ksyms: Require that /proc/ksyms be readable
...
as well as existing.
2006-09-24 07:29:44 +00:00
Jim Meyering
b4963a7f70
* tests/ls/stat-dtype: Don't use tmpfs on linux-2.4 or older,
...
since that predated addition of d_type support.
2006-09-24 07:27:00 +00:00
Jim Meyering
453c215003
* Makefile.am (EXTRA_DIST): Sort file names.
...
Add bootstrap and gl/modules/getloadavg.diff
2006-09-23 17:00:29 +00:00
Jim Meyering
328efced8b
remove trailing blanks
2006-09-23 17:00:08 +00:00
Jim Meyering
7c8dece8c6
* gl/modules/getloadavg.diff: New file. Work around the way the latest
...
version of the getloadavg module interacts with our bootstrap script.
* bootstrap (gnulib_tool_options): Add "--local-dir gl".
2006-09-23 16:51:53 +00:00
Paul Eggert
5ffeefb1ab
* bootstrap: Add support for --force.
...
(usage): New function. Describe usage less tersely.
(CVS_only_file): New var.
2006-09-20 21:28:26 +00:00
Paul Eggert
2a01141018
* NEWS: Document fix for cp -i and mv -i.
...
* src/copy.c (copy_internal): With -i, prompt even if the source
is a directory and the destination is not. This is required by
POSIX and gives the user a chance to bail out before failing.
* tests/cp/Makefile.am (TESTS): Add cp-i.
* tests/cp/cp-i: New file.
* tests/mv/Makefile.am (TESTS): Add i-5.
* tests/mv/i-5: New file.
2006-09-20 17:32:14 +00:00
Jim Meyering
fae30e1af9
* NEWS: Mention the chmod bug fix.
2006-09-20 13:30:55 +00:00
Jim Meyering
2c83d42320
*** empty log message ***
2006-09-20 12:41:20 +00:00
Jim Meyering
396a52f790
* tests/chmod/inaccessible: New test.
...
* tests/chmod/Makefile.am (TESTS): Add inaccessible.
2006-09-20 12:38:22 +00:00
Jim Meyering
05ce3b2986
Fix the 2006-09-18 bug differently.
...
* src/chmod.c: (process_file): Upon FTS_NS for a top-level file,
tell fts_read to stat the file again, in case it has become
accessible since the initial fts_open call.
* src/chown-core.c (change_file_owner): Likewise.
2006-09-20 11:50:46 +00:00
Jim Meyering
1671b056a5
* src/chmod.c: Revert last change. There is a better way.
...
* src/chown-core.c: Likewise.
2006-09-20 11:26:18 +00:00
Paul Eggert
856443a97d
* coreutils.texi (Disk usage): Clarify intro. Problem reported by Van Ly.
2006-09-19 22:39:38 +00:00
Paul Eggert
7889cfbbc7
* src/ln.c (target_directory_operand): Rewrite to avoid porting
...
problem on Tandem reported by Matthew Woehlke in
<https://savannah.gnu.org/bugs/?17172 >.
2006-09-19 22:11:38 +00:00
Paul Eggert
90616d3a8f
(cp invocation): Clarify cp -i a bit more.
2006-09-19 21:54:01 +00:00
Paul Eggert
f544d8dd1a
* coreutils.texi (cp invocation): Say that -i and -f are
...
independent. Clarify -i's behavior.
2006-09-19 16:49:06 +00:00
Paul Eggert
0e3b87195a
Fix bug where chmod, chown, and chgrp did not process operands
...
left-to-right in some cases.
* src/chmod.c (wd_errno): New var.
(chmod_file): New function, with most of the contents of the
old prcess_file function.
(process_files): Use it. This gives file names to fts one
at a time, so that they are processed left-to-right as POSIX
requires.
* src/chown-core.c (wd_errno, chown_files): Likewise.
(chown_file): New function.
* tests/install/basic-1: Redo test so as to not workaround
the chmod bug, thereby testing for it.
2006-09-18 22:09:49 +00:00
Paul Eggert
bebf83d0fd
* src/shuf.c (main): Quote the entire range when reporting an
...
invalid one, rather than just the part that contained the error.
2006-09-18 20:38:54 +00:00
Paul Eggert
46dd4b1a8e
* tests/stty/row-col-1: Rewrite to avoid temporary file that is
...
sometimes left behind if the test is skipped or interrupted.
2006-09-18 20:34:50 +00:00
Paul Eggert
058f319e6d
* bootstrap (symlink_to_gnulib): New function.
...
(cp_mark_as_generated): Use it, to prefer symlinks-to-gnulib
to copies-of-gnulib.
(cp_mark_as_generated, slurp, gnulib_files):
Avoid making a copy if it's the same as the old version.
(gnulib_files): Add support for this variable (used by Bison).
2006-09-18 20:20:03 +00:00
Paul Eggert
87353aebd8
* tests/ls/stat-vs-dirent: Fix quoting problem in diagnostic
...
indicating flaw in kernel. Reword to say that the flaw isn't
serious for coreutils, since the flaw does affect ls -i.
2006-09-18 16:34:27 +00:00
Paul Eggert
5a73ad8c63
Fix bug in test case exposed by building on
...
Solaris 8 in a setgid directory. The test case incorrectly
assumed that 'symlink' would be in group $g1.
2006-09-18 16:11:00 +00:00
Jim Meyering
c9c0dc7bc6
* NEWS: Add a line for 6.3-cvs.
...
* configure.ac (AC_INIT): Bump to 6.3 and add "-cvs" suffix.
2006-09-18 13:01:09 +00:00
Jim Meyering
9c57927ad1
.
2006-09-18 08:09:54 +00:00
Jim Meyering
8cd9d29cfe
duh
COREUTILS-6_2
2006-09-18 07:51:48 +00:00
Jim Meyering
97f9240eaa
*** empty log message ***
2006-09-18 07:51:33 +00:00
Jim Meyering
500fdd0af9
*** empty log message ***
2006-09-18 07:51:07 +00:00
Jim Meyering
7da3ac75c2
Version 6.2.
...
* NEWS: Record the 6.2 release date.
* configure.ac (AC_INIT): Remove "-cvs" suffix from version string.
2006-09-18 05:58:55 +00:00
Jim Meyering
db2e7255ab
* tests/chgrp/basic: On an OpenBSD system, rather than failing
...
due to a known problem, merely warn about it.
Rewrite to avoid testing output of chgrp --verbose and chgrp -c.
Instead, use stat to test file system for desired results, directly.
* tests/chgrp/Makefile.am (TESTS_ENVIRONMENT): Set host_triplet.
2006-09-17 20:58:34 +00:00
Jim Meyering
1c904f14ea
* tests/envvar-check: Add more variable names to the list of those
...
that can affect these programs and tests: _POSIX2_VERSION, COLUMNS,
QUOTING_STYLE, TABSIZE, TERM, TMPDIR.
2006-09-17 20:29:05 +00:00
Jim Meyering
1fd966436a
.
2006-09-17 20:15:52 +00:00
Paul Eggert
b67faf329c
* NEWS: Document that mkdir -p and install -d now fork on occasion.
...
* bootstrap.conf (gnulib_modules): Add savewd.
* src/install.c: Include savewd.h.
(process_dir): New function.
(main, install_file_in_file_parents): Use it, along with the new
savewd module, to avoid some race conditions.
* src/mkdir.c: Include savewd.h.
(struct mkdir_options): New members make_ancestor_function, mode,
mode_bits.
(make_ancestor): Return 1 if the resulting directory is not readable.
(process_dir): New function.
(main): Use it, along with new savewd module, to avoid some
race conditions. Fill in new slots of struct mkdir_options, so
that callees get the values.
* tests/install/basic-1: Test for coreutils 5.97 bug that was
fixed in coreutils 6.0, and which should still be fixed with
this change.
* tests/mkdir/p-3: Likewise.
2006-09-16 20:03:56 +00:00
Jim Meyering
adbad7626c
* Makefile.maint (sc_require_config_h, sc_prohibit_assert_without_use):
...
Discard stdout from the new use of grep.
2006-09-16 08:44:18 +00:00
Jim Meyering
f944211020
* bootstrap.conf (gnulib_modules): Add rename-dest-slash.
...
The 2006-09-08 changes made it so "mv dir new-name/" would
fail on NetBSD 1.6. This makes it work once again.
2006-09-15 14:11:39 +00:00
Jim Meyering
32d83cf587
* src/mv.c (main): Remove unnecessary (always-true) test for 2 <= n.
...
Instead, since it's a little fragile, assert the condition.
(target_directory_operand): Update comment to reflect latest change.
2006-09-14 10:06:42 +00:00
Paul Eggert
33f1b50fca
(print_user): Rewrite to avoid warning from GCC 4.1.1 with -Wall.
2006-09-12 23:32:16 +00:00
Jim Meyering
e1fb2a80bb
* tests/mv/atomic: Check for specific strace output, rather than
...
simply nonempty. RHEL AS 4 would fail this test due to strace
generating "[ Process PID=14434 runs in 32 bit mode. ]".
Reported by Nelson Beebe.
2006-09-12 09:33:40 +00:00
Jim Meyering
fb15bc880a
* src/c99-to-c89.diff: Add another set of curly braces.
2006-09-11 13:56:15 +00:00
Jim Meyering
75b99e8f20
* src/remove.c (remove_dir): Move new cache_stat_init call onto
...
it's own line.
(rm_1): Move declaration of "st" and new cache_stat_init call
"down" to nearer where they're used.
2006-09-11 13:22:04 +00:00
Paul Eggert
d28b0d4de8
(eval6): Fix buffer overrun, or bad performance, if
...
substr's last operand is very large. Performance problem reported
by Sebastian Kreft.
2006-09-11 04:56:43 +00:00
Jim Meyering
6f2530cf3a
* Makefile.maint (sc_prohibit_assert_without_use): Likewise.
2006-09-09 16:18:57 +00:00
Jim Meyering
77d7a11b2f
* Makefile.maint (sc_require_config_h): Skip this test if there are no version-
...
controlled .c files.
2006-09-09 15:58:36 +00:00
Jim Meyering
5feb482bc3
.
2006-09-09 15:32:03 +00:00
Jim Meyering
1e7e9cd16e
restore leading "@"
2006-09-09 14:59:37 +00:00
Jim Meyering
cc29b366aa
* Makefile.maint (sc_prohibit_jm_in_m4): Don't hang when there
...
are no .m4 files.
2006-09-09 14:59:11 +00:00
Jim Meyering
262296271d
* bootstrap: Export CVS_RSH separate from its assignment, to work
...
even with Solaris 10's /bin/sh. Suggestion from Mark D. Baushke.
2006-09-08 19:28:46 +00:00