platform/upstream/coreutils.git
19 years agoCorrect cpp indentation
Jim Meyering [Sat, 14 May 2005 08:03:44 +0000 (08:03 +0000)]
Correct cpp indentation

19 years agoNew unlinkdir module.
Paul Eggert [Sat, 14 May 2005 08:01:17 +0000 (08:01 +0000)]
New unlinkdir module.

19 years agoUpdate FSF postal mail address.
Jim Meyering [Sat, 14 May 2005 07:58:31 +0000 (07:58 +0000)]
Update FSF postal mail address.

19 years agoUpdate FSF postal mail address.
Jim Meyering [Sat, 14 May 2005 07:58:06 +0000 (07:58 +0000)]
Update FSF postal mail address.

19 years agoOne more
Jim Meyering [Sat, 14 May 2005 07:57:58 +0000 (07:57 +0000)]
One more
gethrxtime.c

19 years agoAdd these temporarily:
Jim Meyering [Sat, 14 May 2005 07:57:36 +0000 (07:57 +0000)]
Add these temporarily:
unlocked-io.h
gethrxtime.h
mountlist.h
xtime.h
path-concat.c

19 years agounlocked-io.h
Jim Meyering [Sat, 14 May 2005 07:56:31 +0000 (07:56 +0000)]
unlocked-io.h

19 years ago.
Jim Meyering [Sat, 14 May 2005 07:40:16 +0000 (07:40 +0000)]
.

19 years agodon't add gl_UNLINKDIR just yet :)
Jim Meyering [Sat, 14 May 2005 07:36:16 +0000 (07:36 +0000)]
don't add gl_UNLINKDIR just yet :)

19 years ago.
Jim Meyering [Sat, 14 May 2005 07:34:36 +0000 (07:34 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Sat, 14 May 2005 07:27:24 +0000 (07:27 +0000)]
*** empty log message ***

19 years agoDon't require gl_FUNC_STAT or gl_FUNC_LSTAT.
Jim Meyering [Sat, 14 May 2005 07:27:21 +0000 (07:27 +0000)]
Don't require gl_FUNC_STAT or gl_FUNC_LSTAT.

19 years agoRemove unnecessary file.
Jim Meyering [Sat, 14 May 2005 07:27:06 +0000 (07:27 +0000)]
Remove unnecessary file.

19 years ago*** empty log message ***
Jim Meyering [Sat, 14 May 2005 07:25:57 +0000 (07:25 +0000)]
*** empty log message ***

19 years agoUpdate FSF postal mail address.
Jim Meyering [Sat, 14 May 2005 07:25:26 +0000 (07:25 +0000)]
Update FSF postal mail address.

19 years ago*** empty log message ***
Jim Meyering [Sat, 14 May 2005 06:58:11 +0000 (06:58 +0000)]
*** empty log message ***

19 years agoUpdate FSF postal mail address.
Jim Meyering [Sat, 14 May 2005 06:57:06 +0000 (06:57 +0000)]
Update FSF postal mail address.

19 years ago"bytes, words and lines" -> "lines, words, and bytes" in comment
Paul Eggert [Fri, 13 May 2005 19:35:06 +0000 (19:35 +0000)]
"bytes, words and lines" -> "lines, words, and bytes" in comment

19 years agofix grammar typo in comment
Jim Meyering [Fri, 13 May 2005 08:42:35 +0000 (08:42 +0000)]
fix grammar typo in comment

19 years ago.
Jim Meyering [Fri, 13 May 2005 08:20:32 +0000 (08:20 +0000)]
.

19 years agorm now performs run-time test to work around buggy readdir implementations
Jim Meyering [Fri, 13 May 2005 08:16:53 +0000 (08:16 +0000)]
rm now performs run-time test to work around buggy readdir implementations

19 years ago*** empty log message ***
Jim Meyering [Fri, 13 May 2005 07:53:57 +0000 (07:53 +0000)]
*** empty log message ***

19 years ago(gl_MACROS): Don't require GL_FUNC_READDIR.
Jim Meyering [Fri, 13 May 2005 07:53:47 +0000 (07:53 +0000)]
(gl_MACROS): Don't require GL_FUNC_READDIR.

19 years ago(GL_FUNC_READDIR): Remove, now that remove.c no longer needs it.
Jim Meyering [Fri, 13 May 2005 07:53:30 +0000 (07:53 +0000)]
(GL_FUNC_READDIR): Remove, now that remove.c no longer needs it.

19 years ago*** empty log message ***
Jim Meyering [Fri, 13 May 2005 07:39:56 +0000 (07:39 +0000)]
*** empty log message ***

19 years ago* NEWS: `rm -r' now removes all of the files it should, even on
Jim Meyering [Fri, 13 May 2005 07:39:50 +0000 (07:39 +0000)]
* NEWS: `rm -r' now removes all of the files it should, even on
systems with a buggy readdir affecting file systems inaccessible
at configure time.

In some unusual circumstances `rm -r' would fail to remove --
or even consider -- all entries in a directory with more than 254
(SunOS) or 338 (Darwin) entries.  This could cause trouble even on
other types of systems when using an affected file system via e.g.,
NFS.  The underlying cause was a bug in readdir on those systems.
Coreutils-5.2.1 and earlier used a configure-time test designed
to detect precisely those problem systems, but it would detect
the problem and enable remove.c's work-around code only when its
configure-time test was run on a losing file system.  Obviously,
it couldn't detect a problem if the offending file system wasn't
tested or even mounted at coreutils configure time.  Now, rm itself
performs a minimal-cost run-time test to detect the problem.

(CONSECUTIVE_READDIR_UNLINK_THRESHOLD): Define.
(remove_cwd_entries):  When readdir returns NULL for a directory from
which we've removed more than CONSECUTIVE_READDIR_UNLINK_THRESHOLD
entries, call rewinddir and then resume the readdir/unlink loop.
(UNLINK_CAN_UNLINK_DIRS): Rename from ROOT_CAN_UNLINK_DIRS.

19 years agonohup now closes stdin if it is a terminal, unless POSIXLY_CORRECT is set.
Paul Eggert [Thu, 12 May 2005 09:25:16 +0000 (09:25 +0000)]
nohup now closes stdin if it is a terminal, unless POSIXLY_CORRECT is set.

19 years ago(main): nohup now closes stdin if it is a terminal, unless
Paul Eggert [Thu, 12 May 2005 09:24:56 +0000 (09:24 +0000)]
(main): nohup now closes stdin if it is a terminal, unless
POSIXLY_CORRECT is set.

19 years ago(nohup invocation): nohup now closes stdin if it is a terminal, unless
Paul Eggert [Thu, 12 May 2005 09:24:27 +0000 (09:24 +0000)]
(nohup invocation): nohup now closes stdin if it is a terminal, unless
POSIXLY_CORRECT is set.

19 years agonohup now closes stdin if it is a terminal, unless POSIXLY_CORRECT is set.
Paul Eggert [Thu, 12 May 2005 09:23:56 +0000 (09:23 +0000)]
nohup now closes stdin if it is a terminal, unless POSIXLY_CORRECT is set.

19 years ago*** empty log message ***
Jim Meyering [Thu, 12 May 2005 08:24:03 +0000 (08:24 +0000)]
*** empty log message ***

19 years agoAssume `free (NULL)' works.
Jim Meyering [Thu, 12 May 2005 07:56:14 +0000 (07:56 +0000)]
Assume `free (NULL)' works.

19 years agoAssume `free (NULL)' works.
Jim Meyering [Thu, 12 May 2005 07:55:15 +0000 (07:55 +0000)]
Assume `free (NULL)' works.

19 years agoAssume `free (NULL)' works.
Jim Meyering [Thu, 12 May 2005 07:54:10 +0000 (07:54 +0000)]
Assume `free (NULL)' works.

19 years agoAssume `free (NULL)' works.
Jim Meyering [Thu, 12 May 2005 07:53:37 +0000 (07:53 +0000)]
Assume `free (NULL)' works.

19 years agoUpdate copyright date.
Paul Eggert [Wed, 11 May 2005 20:27:11 +0000 (20:27 +0000)]
Update copyright date.

19 years ago* getdate.texi (General date syntax): Don't say that date
Paul Eggert [Wed, 11 May 2005 20:25:01 +0000 (20:25 +0000)]
* getdate.texi (General date syntax): Don't say that date
date --iso-8601=ns generates acceptable dates.

19 years ago(General date syntax): Don't say that date
Paul Eggert [Wed, 11 May 2005 20:24:42 +0000 (20:24 +0000)]
(General date syntax): Don't say that date
date --iso-8601=ns generates acceptable dates; it doesn't yet.

19 years ago* getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when possible.
Paul Eggert [Tue, 10 May 2005 19:10:23 +0000 (19:10 +0000)]
* getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when possible.

19 years ago(gl_GETOPT): Check for Solaris 10 bug, not decl, when possible.
Paul Eggert [Tue, 10 May 2005 19:09:23 +0000 (19:09 +0000)]
(gl_GETOPT): Check for Solaris 10 bug, not decl, when possible.

19 years ago.
Jim Meyering [Tue, 10 May 2005 13:46:21 +0000 (13:46 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 13:39:19 +0000 (13:39 +0000)]
*** empty log message ***

19 years agoAdd Vietnamese (vi).
Jim Meyering [Tue, 10 May 2005 13:39:15 +0000 (13:39 +0000)]
Add Vietnamese (vi).

19 years agoversion: 5.3.0
Jim Meyering [Tue, 10 May 2005 13:38:31 +0000 (13:38 +0000)]
version: 5.3.0

19 years agoSkip this test if the user running it owns `/' or has write access to it.
Jim Meyering [Tue, 10 May 2005 13:30:39 +0000 (13:30 +0000)]
Skip this test if the user running it owns `/' or has write access to it.

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 13:30:33 +0000 (13:30 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 12:59:49 +0000 (12:59 +0000)]
*** empty log message ***

19 years agoSkip the test if the user running it has write access to `/'.
Jim Meyering [Tue, 10 May 2005 12:59:44 +0000 (12:59 +0000)]
Skip the test if the user running it has write access to `/'.

19 years ago.
Jim Meyering [Tue, 10 May 2005 07:42:12 +0000 (07:42 +0000)]
.

19 years ago(TESTS): Add reply-no.
Jim Meyering [Tue, 10 May 2005 07:42:01 +0000 (07:42 +0000)]
(TESTS): Add reply-no.

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 07:38:20 +0000 (07:38 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 07:35:46 +0000 (07:35 +0000)]
*** empty log message ***

19 years ago(abandon_move): Remove erroneous UNWRITABLE check.
Jim Meyering [Tue, 10 May 2005 07:35:43 +0000 (07:35 +0000)]
(abandon_move): Remove erroneous UNWRITABLE check.
This makes `mv -i --reply=no f1 f2' work as expected (in not
performing the move operation).  But note that specifying `-i'
after `--reply=no' does *not* work.
Tiny patch from Vlada Macek.

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 07:28:10 +0000 (07:28 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 07:25:24 +0000 (07:25 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 06:59:27 +0000 (06:59 +0000)]
*** empty log message ***

19 years agoDon't print PATH to stderr.
Jim Meyering [Tue, 10 May 2005 06:59:24 +0000 (06:59 +0000)]
Don't print PATH to stderr.

19 years ago*** empty log message ***
Jim Meyering [Tue, 10 May 2005 06:36:21 +0000 (06:36 +0000)]
*** empty log message ***

19 years ago(fts_sort): Optimize the common case where all pointers smell the same.
Paul Eggert [Mon, 9 May 2005 23:54:26 +0000 (23:54 +0000)]
(fts_sort): Optimize the common case where all pointers smell the same.

19 years ago* fts_.h, fts.c: More C89 portability fixes.
Paul Eggert [Mon, 9 May 2005 18:53:54 +0000 (18:53 +0000)]
* fts_.h, fts.c: More C89 portability fixes.

19 years ago(__P): Remove. All uses rewritten to assume C89 or better.
Paul Eggert [Mon, 9 May 2005 18:53:33 +0000 (18:53 +0000)]
(__P): Remove.  All uses rewritten to assume C89 or better.
(fts_open): Don't cast a function value in a possibly-unsafe way.
(fts_compar): New function.
(fts_sort): Use it.

19 years ago(FTS): Use correct type for fts_compar member.
Paul Eggert [Mon, 9 May 2005 18:53:11 +0000 (18:53 +0000)]
(FTS): Use correct type for fts_compar member.
(FTSENT): New member fts_fts.  Remove members fts_ino, fts_dev,
fts_nlink; no longer needed now that fts_statp is always there.
All uses changed to use fts_statp instead.

19 years ago.
Jim Meyering [Sun, 8 May 2005 18:54:26 +0000 (18:54 +0000)]
.

19 years agocp, ln, mv, rm no longer discard white space when intepreting responses.
Paul Eggert [Sun, 8 May 2005 16:52:43 +0000 (16:52 +0000)]
cp, ln, mv, rm no longer discard white space when intepreting responses.

19 years ago.
Jim Meyering [Sun, 8 May 2005 16:52:38 +0000 (16:52 +0000)]
.

19 years ago* yesno.c: Include getline.h, not ctype.h.
Paul Eggert [Sun, 8 May 2005 16:50:57 +0000 (16:50 +0000)]
* yesno.c: Include getline.h, not ctype.h.
(yesno): Don't remove leading white space; POSIX doesn't allow it.
Use getline to remove arbitrary restriction on response length.

19 years agoremove trailing blanks
Jim Meyering [Fri, 6 May 2005 21:08:39 +0000 (21:08 +0000)]
remove trailing blanks

19 years agodd has new iflag= and oflag= flags "binary" and "text".
Paul Eggert [Fri, 6 May 2005 17:57:59 +0000 (17:57 +0000)]
dd has new iflag= and oflag= flags "binary" and "text".

19 years ago* coreutils.texi (dd invocation): New flags "binary" and "text".
Paul Eggert [Fri, 6 May 2005 17:57:45 +0000 (17:57 +0000)]
* coreutils.texi (dd invocation): New flags "binary" and "text".

19 years ago(dd invocation): New flags "binary" and "text".
Paul Eggert [Fri, 6 May 2005 17:57:35 +0000 (17:57 +0000)]
(dd invocation): New flags "binary" and "text".

19 years ago(flags, usage): Add support for "binary" and "text".
Paul Eggert [Fri, 6 May 2005 17:57:10 +0000 (17:57 +0000)]
(flags, usage): Add support for "binary" and "text".

19 years agodd has new iflag= and oflag= flags "binary" and "text".
Paul Eggert [Fri, 6 May 2005 17:56:49 +0000 (17:56 +0000)]
dd has new iflag= and oflag= flags "binary" and "text".

19 years ago* getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
Paul Eggert [Fri, 6 May 2005 00:59:46 +0000 (00:59 +0000)]
* getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
needless checks.

19 years ago(gl_GETOPT): Check for Solaris 10 getopt, and avoid needless checks.
Paul Eggert [Fri, 6 May 2005 00:59:33 +0000 (00:59 +0000)]
(gl_GETOPT): Check for Solaris 10 getopt, and avoid needless checks.

19 years ago* makepath.c (make_path): chdir to "//", not "/", if the file name
Paul Eggert [Thu, 5 May 2005 08:00:03 +0000 (08:00 +0000)]
* makepath.c (make_path): chdir to "//", not "/", if the file name
starts with exactly two slashes.

19 years ago(make_path): chdir to "//", not "/", if the file name
Paul Eggert [Thu, 5 May 2005 07:59:48 +0000 (07:59 +0000)]
(make_path): chdir to "//", not "/", if the file name
starts with exactly two slashes.

19 years agoRegenerate.
Paul Eggert [Wed, 4 May 2005 17:25:26 +0000 (17:25 +0000)]
Regenerate.

19 years ago(chmod invocation): chmod -w complains if its
Paul Eggert [Wed, 4 May 2005 17:24:49 +0000 (17:24 +0000)]
(chmod invocation): chmod -w complains if its
behavior differs from what chmod a-w would do.

19 years agochmod -w now complains if it differs from chmod a-w.
Paul Eggert [Wed, 4 May 2005 17:23:38 +0000 (17:23 +0000)]
chmod -w now complains if it differs from chmod a-w.

19 years agochmod -w now complains if it differs from chmod a-w.
Paul Eggert [Wed, 4 May 2005 17:23:13 +0000 (17:23 +0000)]
chmod -w now complains if it differs from chmod a-w.

19 years agoInitial version.
Paul Eggert [Wed, 4 May 2005 17:22:54 +0000 (17:22 +0000)]
Initial version.

19 years ago(TESTS): Add umask-x
Paul Eggert [Wed, 4 May 2005 17:22:41 +0000 (17:22 +0000)]
(TESTS): Add umask-x

19 years agoInclude quotearg.h.
Paul Eggert [Wed, 4 May 2005 17:22:25 +0000 (17:22 +0000)]
Include quotearg.h.
(diagnose_surprises): New var.
(process_file): Diagnose surprises.  Simplify the logic a bit,
while we're at it.
(main): Prepare to diagnose surprises.  Remove useless code for
'-' option.

19 years agochmod -w now complains if it differs from chmod a-w.
Paul Eggert [Wed, 4 May 2005 17:22:08 +0000 (17:22 +0000)]
chmod -w now complains if it differs from chmod a-w.

19 years agols --indicator-style=directory renamed to ls --indicator-style=slash.
Paul Eggert [Mon, 2 May 2005 18:41:53 +0000 (18:41 +0000)]
ls --indicator-style=directory renamed to ls --indicator-style=slash.

19 years ago(ls invocation): ls --indicator-style=directory
Paul Eggert [Mon, 2 May 2005 18:41:12 +0000 (18:41 +0000)]
(ls invocation): ls --indicator-style=directory
renamed to ls --indicator-style=slash, to avoid confusion with ls
--directory.

19 years ago(usage): ls --indicator-style=directory renamed to ls
Paul Eggert [Mon, 2 May 2005 18:40:47 +0000 (18:40 +0000)]
(usage): ls --indicator-style=directory renamed to ls
--indicator-style=slash, to avoid confusion with ls --directory.
(slash): Renamed from directory_only.  All uses changed.

19 years agols --indicator-style=directory renamed to ls
Paul Eggert [Mon, 2 May 2005 18:40:20 +0000 (18:40 +0000)]
ls --indicator-style=directory renamed to ls
--indicator-style=slash, to avoid confusion with ls --directory.

19 years agoSync from gnulib.
Paul Eggert [Mon, 2 May 2005 04:28:20 +0000 (04:28 +0000)]
Sync from gnulib.

19 years ago"chmod +1 foo" is now diagnosed.
Paul Eggert [Sun, 1 May 2005 14:33:23 +0000 (14:33 +0000)]
"chmod +1 foo" is now diagnosed.

19 years ago* modechange.h (mode_free): Remove; all callers changed to invoke 'free'.
Paul Eggert [Sun, 1 May 2005 14:28:38 +0000 (14:28 +0000)]
* modechange.h (mode_free): Remove; all callers changed to invoke 'free'.
* modechange.c: Likewise.  Simplify internals a bit.  Prohibit "+0".

19 years agomode_free -> free
Paul Eggert [Sun, 1 May 2005 14:27:51 +0000 (14:27 +0000)]
mode_free -> free

19 years ago(mode_free): Remove; all callers changed to invoke 'free'.
Paul Eggert [Sun, 1 May 2005 14:27:09 +0000 (14:27 +0000)]
(mode_free): Remove; all callers changed to invoke 'free'.

19 years ago(mode_free): Remove; all callers changed to invoke 'free'.
Paul Eggert [Sun, 1 May 2005 14:26:50 +0000 (14:26 +0000)]
(mode_free): Remove; all callers changed to invoke 'free'.
xstrtol.h, stdbool.h, stddef.h: Don't include; no longer needed.
(MODE_DONE): New constant.
(struct mode_change): Remove 'next' member.
(make_node_op_equals): New function; like the old one of the
same name, except it allocates an array.
(mode_compile, mode_create_from_ref): Use it.
(mode_compile): Allocate result as an array, not a linked list.
Parse octal string ourself, so that we catch mistakes like "+0".
(mode_adjust): Arg is an array, not a linked list.

19 years agoRegenerate.
Paul Eggert [Sat, 30 Apr 2005 00:07:30 +0000 (00:07 +0000)]
Regenerate.

19 years agoLog yesterday's changes.
Paul Eggert [Sat, 30 Apr 2005 00:06:06 +0000 (00:06 +0000)]
Log yesterday's changes.

19 years agoDocument the last two days' worth of changes.
Paul Eggert [Sat, 30 Apr 2005 00:05:46 +0000 (00:05 +0000)]
Document the last two days' worth of changes.

19 years agoFix typo in ls POSIX changes.
Paul Eggert [Fri, 29 Apr 2005 23:53:39 +0000 (23:53 +0000)]
Fix typo in ls POSIX changes.

19 years ago(tv): Rename tests from obs to obs-plus
Paul Eggert [Fri, 29 Apr 2005 23:51:33 +0000 (23:51 +0000)]
(tv): Rename tests from obs to obs-plus
if they use file names starting with +.
(test_vector): Don't set _POSIX2_VERSION if obs but not obs-plus.

19 years ago(tv): Rename tests from obs to obs-plus
Paul Eggert [Fri, 29 Apr 2005 23:51:11 +0000 (23:51 +0000)]
(tv): Rename tests from obs to obs-plus
if they use file names starting with +.
(test_vector): Don't set _POSIX2_VERSION if obs but not obs-plus.