platform/upstream/coreutils.git
18 years ago(TESTS): Add acl.
Jim Meyering [Thu, 17 Nov 2005 18:37:47 +0000 (18:37 +0000)]
(TESTS): Add acl.

18 years agono need to do `cd $pwd; rm -rf $tmp'; the traps handle that
Jim Meyering [Thu, 17 Nov 2005 18:24:41 +0000 (18:24 +0000)]
no need to do `cd $pwd; rm -rf $tmp'; the traps handle that

18 years agosplit long line
Jim Meyering [Thu, 17 Nov 2005 18:23:18 +0000 (18:23 +0000)]
split long line

18 years agoNew tests, from Andreas Gruenbacher.
Jim Meyering [Thu, 17 Nov 2005 18:21:31 +0000 (18:21 +0000)]
New tests, from Andreas Gruenbacher.

18 years agoNew tests, from Andreas Gruenbacher.
Jim Meyering [Thu, 17 Nov 2005 18:21:11 +0000 (18:21 +0000)]
New tests, from Andreas Gruenbacher.

18 years ago*** empty log message ***
Jim Meyering [Thu, 17 Nov 2005 18:19:12 +0000 (18:19 +0000)]
*** empty log message ***

18 years ago(basename_is_dot_or_dotdot): Correct wording in comment.
Jim Meyering [Thu, 17 Nov 2005 12:28:34 +0000 (12:28 +0000)]
(basename_is_dot_or_dotdot): Correct wording in comment.

18 years ago*** empty log message ***
Jim Meyering [Thu, 17 Nov 2005 12:28:27 +0000 (12:28 +0000)]
*** empty log message ***

18 years ago(tail invocation): Say that the obsolete form uses exactly one
Paul Eggert [Wed, 16 Nov 2005 22:45:12 +0000 (22:45 +0000)]
(tail invocation): Say that the obsolete form uses exactly one
option and at most one file.

18 years agoImprove quality of ln's diagnostics.
Paul Eggert [Wed, 16 Nov 2005 22:33:37 +0000 (22:33 +0000)]
Improve quality of ln's diagnostics.

18 years ago(do_link, usage): Improve quality of ln's diagnostics.
Paul Eggert [Wed, 16 Nov 2005 22:32:45 +0000 (22:32 +0000)]
(do_link, usage): Improve quality of ln's diagnostics.
(do_link): Don't use alloca on a buffer of unbounded size.

18 years ago(ln invocation): ln -v now outputs lines only for successful links.
Paul Eggert [Wed, 16 Nov 2005 22:32:16 +0000 (22:32 +0000)]
(ln invocation): ln -v now outputs lines only for successful links.

18 years agoImprove quality of ln's diagnostics.
Paul Eggert [Wed, 16 Nov 2005 22:31:44 +0000 (22:31 +0000)]
Improve quality of ln's diagnostics.

18 years ago.
Jim Meyering [Wed, 16 Nov 2005 09:31:07 +0000 (09:31 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Wed, 16 Nov 2005 09:30:25 +0000 (09:30 +0000)]
*** empty log message ***

18 years agoAccommodate HPUX. It appears to fail with EACCES rather than EPERM.
Jim Meyering [Wed, 16 Nov 2005 09:29:32 +0000 (09:29 +0000)]
Accommodate HPUX.  It appears to fail with EACCES rather than EPERM.
Reported by Peter O'Gorman here:
http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/5766

18 years agoDon't bother with #pragma STDC FENV_ACCESS ON, as
Paul Eggert [Tue, 15 Nov 2005 18:30:28 +0000 (18:30 +0000)]
Don't bother with #pragma STDC FENV_ACCESS ON, as
coreutils no longer futzes with rounding modes.

18 years ago*** empty log message ***
Jim Meyering [Tue, 15 Nov 2005 18:03:26 +0000 (18:03 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Tue, 15 Nov 2005 17:21:12 +0000 (17:21 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Tue, 15 Nov 2005 07:24:45 +0000 (07:24 +0000)]
*** empty log message ***

18 years agoUse #if !, not #ifndef, for AC_CHECK_DECLS.
Jim Meyering [Mon, 14 Nov 2005 14:51:24 +0000 (14:51 +0000)]
Use #if !, not #ifndef, for AC_CHECK_DECLS.

18 years ago*** empty log message ***
Jim Meyering [Mon, 14 Nov 2005 14:51:21 +0000 (14:51 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 14 Nov 2005 11:07:18 +0000 (11:07 +0000)]
*** empty log message ***

18 years ago(sort): Mention consequences of today's mkstemp-safer.c fix.
Jim Meyering [Mon, 14 Nov 2005 10:54:07 +0000 (10:54 +0000)]
(sort): Mention consequences of today's mkstemp-safer.c fix.

18 years ago*** empty log message ***
Jim Meyering [Mon, 14 Nov 2005 10:53:58 +0000 (10:53 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Mon, 14 Nov 2005 08:17:35 +0000 (08:17 +0000)]
.

18 years ago(Mode Structure): Capitalize two sentences in an
Jim Meyering [Sun, 13 Nov 2005 18:57:17 +0000 (18:57 +0000)]
(Mode Structure): Capitalize two sentences in an
enumerated list and fix a typo.  From Aaron Hawley.

18 years ago*** empty log message ***
Jim Meyering [Sun, 13 Nov 2005 18:57:03 +0000 (18:57 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sun, 13 Nov 2005 15:17:23 +0000 (15:17 +0000)]
*** empty log message ***

18 years ago(announcement): Use new option and key.
Jim Meyering [Sun, 13 Nov 2005 15:17:18 +0000 (15:17 +0000)]
(announcement): Use new option and key.

18 years ago(gpg_key_ID): Define.
Jim Meyering [Sun, 13 Nov 2005 15:17:00 +0000 (15:17 +0000)]
(gpg_key_ID): Define.

18 years agoAccept new option, --gpg-key-id=ID and
Jim Meyering [Sun, 13 Nov 2005 15:16:40 +0000 (15:16 +0000)]
Accept new option, --gpg-key-id=ID and
emit a blurb telling how to use the .sig files.

18 years agoremove inadvertently committed hunk (use of new --gpg-key-id option)
Jim Meyering [Sun, 13 Nov 2005 15:08:50 +0000 (15:08 +0000)]
remove inadvertently committed hunk (use of new --gpg-key-id option)

18 years ago*** empty log message ***
Jim Meyering [Sun, 13 Nov 2005 15:06:47 +0000 (15:06 +0000)]
*** empty log message ***

18 years ago(EXTRA_DIST): Add .x-sc_require_config_h here, too.
Jim Meyering [Sun, 13 Nov 2005 15:06:43 +0000 (15:06 +0000)]
(EXTRA_DIST): Add .x-sc_require_config_h here, too.

18 years agoNew file listing exceptions to the above rule.
Jim Meyering [Sun, 13 Nov 2005 15:06:05 +0000 (15:06 +0000)]
New file listing exceptions to the above rule.
Some are legit, others are simply grandfathered in.

18 years ago*** empty log message ***
Jim Meyering [Sun, 13 Nov 2005 15:05:51 +0000 (15:05 +0000)]
*** empty log message ***

18 years agoRequire that most .c files include <config.h>.
Jim Meyering [Sun, 13 Nov 2005 15:05:45 +0000 (15:05 +0000)]
Require that most .c files include <config.h>.
(sc_require_config_h): New rule.
(syntax-check-rules): Add it.

18 years ago*** empty log message ***
Jim Meyering [Sun, 13 Nov 2005 14:07:11 +0000 (14:07 +0000)]
*** empty log message ***

18 years agoInclude <config.h>, required for possible replacement of mkstemp.
Jim Meyering [Sun, 13 Nov 2005 14:07:06 +0000 (14:07 +0000)]
Include <config.h>, required for possible replacement of mkstemp.

18 years ago.
Jim Meyering [Sat, 12 Nov 2005 19:11:27 +0000 (19:11 +0000)]
.

18 years agoUpdate from gnulib.
Jim Meyering [Sat, 12 Nov 2005 19:11:17 +0000 (19:11 +0000)]
Update from gnulib.

18 years ago*** empty log message ***
Jim Meyering [Sat, 12 Nov 2005 10:16:50 +0000 (10:16 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 12 Nov 2005 10:06:34 +0000 (10:06 +0000)]
*** empty log message ***

18 years agoEmulate openat-family functions using Linux's procfs, if possible.
Jim Meyering [Sat, 12 Nov 2005 10:06:29 +0000 (10:06 +0000)]
Emulate openat-family functions using Linux's procfs, if possible.
Idea and some code from Ulrich Drepper's glibc changes.

(BUILD_PROC_NAME): New macro.
Include <stdio.h>, <string.h>, "alloca.h" and "intprops.h".
(rpl_openat): Emulate by trying to open /proc/self/fd/%d/%s,
before falling back on save_cwd and restore_cwd.
(fdopendir, fstatat, unlinkat): Likewise.

18 years agos/expensive/very expensive/ in a comment.
Jim Meyering [Sat, 12 Nov 2005 08:54:17 +0000 (08:54 +0000)]
s/expensive/very expensive/ in a comment.

18 years agoremove now-unused file
Jim Meyering [Sat, 12 Nov 2005 08:39:27 +0000 (08:39 +0000)]
remove now-unused file

18 years ago*** empty log message ***
Jim Meyering [Sat, 12 Nov 2005 08:36:52 +0000 (08:36 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Sat, 12 Nov 2005 08:29:35 +0000 (08:29 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Fri, 11 Nov 2005 17:16:30 +0000 (17:16 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Fri, 11 Nov 2005 17:16:01 +0000 (17:16 +0000)]
*** empty log message ***

18 years agoMention `readlink -f' bug fix in 5.3.0 news.
Jim Meyering [Fri, 11 Nov 2005 17:15:06 +0000 (17:15 +0000)]
Mention `readlink -f' bug fix in 5.3.0 news.
Mention new readlink options in `New features' section.

18 years ago*** empty log message ***
Jim Meyering [Thu, 10 Nov 2005 23:20:09 +0000 (23:20 +0000)]
*** empty log message ***

18 years ago(fstatat, unlinkat): Perform the syscall directly,
Jim Meyering [Thu, 10 Nov 2005 23:20:05 +0000 (23:20 +0000)]
(fstatat, unlinkat): Perform the syscall directly,
skipping the save_cwd...restore_cwd overhead, if FILE is absolute.

18 years ago(gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
Paul Eggert [Thu, 10 Nov 2005 20:21:07 +0000 (20:21 +0000)]
(gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
or gettimeofday; no longer needed.

18 years agogethrxtime now uses gettime
Paul Eggert [Thu, 10 Nov 2005 20:20:51 +0000 (20:20 +0000)]
gethrxtime now uses gettime

18 years agoFix comment
Paul Eggert [Thu, 10 Nov 2005 20:20:31 +0000 (20:20 +0000)]
Fix comment

18 years agoInclude "timespec.h" rather than the sys/time / time
Paul Eggert [Thu, 10 Nov 2005 20:20:20 +0000 (20:20 +0000)]
Include "timespec.h" rather than the sys/time / time
business.
(gethrxtime) [! (HAVE_NANOUPTIME
|| (defined CLOCK_MONOTONIC && HAVE_CLOCK_GETTIME)
|| HAVE_MICROUPTIME)]: Fall back on gettime rather than rolling
our own approximation.

18 years agogethrxtime now uses gettime
Paul Eggert [Thu, 10 Nov 2005 20:20:02 +0000 (20:20 +0000)]
gethrxtime now uses gettime

18 years agoUse /dev/full if possible for descriptor 0 -- like glibc now does.
Jim Meyering [Wed, 9 Nov 2005 20:53:41 +0000 (20:53 +0000)]
Use /dev/full if possible for descriptor 0 -- like glibc now does.
Fall back on /dev/null if opening /dev/full fails.

18 years ago*** empty log message ***
Jim Meyering [Tue, 8 Nov 2005 21:11:00 +0000 (21:11 +0000)]
*** empty log message ***

18 years agoMerge in changes from b5_9x branch.
Jim Meyering [Tue, 8 Nov 2005 21:10:52 +0000 (21:10 +0000)]
Merge in changes from b5_9x branch.

18 years agols now defaults to --time-style='locale', which in turn acts
Paul Eggert [Tue, 8 Nov 2005 21:00:10 +0000 (21:00 +0000)]
ls now defaults to --time-style='locale', which in turn acts
like --time-style='posix-long-iso' if the locale settings are messed up.

18 years ago(decode_switches): ls now defaults to --time-style='locale', which in
Paul Eggert [Tue, 8 Nov 2005 20:59:49 +0000 (20:59 +0000)]
(decode_switches): ls now defaults to --time-style='locale', which in
turn acts like --time-style='posix-long-iso' if the locale settings
are messed up.

18 years ago(Formatting file timestamps): ls now defaults to
Paul Eggert [Tue, 8 Nov 2005 20:59:19 +0000 (20:59 +0000)]
(Formatting file timestamps): ls now defaults to
--time-style='locale', which in turn acts like
--time-style='posix-long-iso' if the locale settings are messed up.

18 years agols now defaults to --time-style='locale'.
Paul Eggert [Tue, 8 Nov 2005 20:58:57 +0000 (20:58 +0000)]
ls now defaults to --time-style='locale'.

18 years ago*** empty log message ***
Jim Meyering [Tue, 8 Nov 2005 08:20:04 +0000 (08:20 +0000)]
*** empty log message ***

18 years agos/expensive/very expensive/ in a comment.
Jim Meyering [Tue, 8 Nov 2005 08:19:57 +0000 (08:19 +0000)]
s/expensive/very expensive/ in a comment.

18 years ago*** empty log message ***
Jim Meyering [Mon, 7 Nov 2005 21:42:30 +0000 (21:42 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 7 Nov 2005 21:42:26 +0000 (21:42 +0000)]
*** empty log message ***

18 years ago(usage): Fix descriptions of --sort, --time.
Jim Meyering [Mon, 7 Nov 2005 21:42:23 +0000 (21:42 +0000)]
(usage): Fix descriptions of --sort, --time.

18 years ago*** empty log message ***
Jim Meyering [Mon, 7 Nov 2005 21:39:40 +0000 (21:39 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 5 Nov 2005 09:35:16 +0000 (09:35 +0000)]
*** empty log message ***

18 years agoInclude filenamecat.c.
Jim Meyering [Sat, 5 Nov 2005 09:34:57 +0000 (09:34 +0000)]
Include filenamecat.c.
(FILE_BASENAME_CONCAT): Remove.
(do_link): Remove last arg DEST_IS_DIR.  All callers changed.
(main): Use file_name_concat, base_name, and strip_trailing_slashes
instead of FILE_BASENAME_CONCAT.  This simplifies the code, and avoids
the use of alloca.

18 years ago.
Jim Meyering [Fri, 4 Nov 2005 10:15:01 +0000 (10:15 +0000)]
.

18 years ago.
Jim Meyering [Fri, 4 Nov 2005 10:14:53 +0000 (10:14 +0000)]
.

18 years agomention the du bug fix
Jim Meyering [Fri, 4 Nov 2005 10:10:54 +0000 (10:10 +0000)]
mention the du bug fix

18 years ago*** empty log message ***
Jim Meyering [Fri, 4 Nov 2005 10:10:36 +0000 (10:10 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Fri, 4 Nov 2005 10:08:54 +0000 (10:08 +0000)]
*** empty log message ***

18 years ago(process_file): Don't overflow for files of size >= 2^31
Jim Meyering [Fri, 4 Nov 2005 10:08:51 +0000 (10:08 +0000)]
(process_file): Don't overflow for files of size >= 2^31
on systems with stat.st_blocks of a signed 32-bit type.
This bug causes trouble on some AIX 5.1 systems.
Report and trivial patch from Paul Townsend:
<http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00033.html>

18 years agofix typo in comment
Jim Meyering [Fri, 4 Nov 2005 10:02:36 +0000 (10:02 +0000)]
fix typo in comment

18 years ago*** empty log message ***
Jim Meyering [Fri, 4 Nov 2005 09:58:29 +0000 (09:58 +0000)]
*** empty log message ***

18 years agoMark this test as `very-expensive'
Jim Meyering [Fri, 4 Nov 2005 09:56:38 +0000 (09:56 +0000)]
Mark this test as `very-expensive'

18 years agomark this as a very-expensive test
Jim Meyering [Fri, 4 Nov 2005 09:54:59 +0000 (09:54 +0000)]
mark this as a very-expensive test

18 years ago(TESTS): Add 2g.
Jim Meyering [Fri, 4 Nov 2005 09:54:15 +0000 (09:54 +0000)]
(TESTS): Add 2g.

18 years agoTest for a bug that bites at least on AIX 5.1 systems.
Jim Meyering [Fri, 4 Nov 2005 09:53:17 +0000 (09:53 +0000)]
Test for a bug that bites at least on AIX 5.1 systems.

18 years agojust like expensive, but `very'
Jim Meyering [Fri, 4 Nov 2005 09:52:09 +0000 (09:52 +0000)]
just like expensive, but `very'

18 years ago(EXTRA_DIST): Add very-expensive.
Jim Meyering [Fri, 4 Nov 2005 09:51:42 +0000 (09:51 +0000)]
(EXTRA_DIST): Add very-expensive.

18 years agorm -d no longer has any effect, and we plan to remove it (and maybe ln -d).
Paul Eggert [Wed, 2 Nov 2005 21:56:49 +0000 (21:56 +0000)]
rm -d no longer has any effect, and we plan to remove it (and maybe ln -d).

18 years ago(usage): Don't mention rm -d.
Paul Eggert [Wed, 2 Nov 2005 21:53:20 +0000 (21:53 +0000)]
(usage): Don't mention rm -d.

18 years ago(rm_option_init): Don't initialize unlink_dirs member, which went away.
Paul Eggert [Wed, 2 Nov 2005 21:52:33 +0000 (21:52 +0000)]
(rm_option_init): Don't initialize unlink_dirs member, which went away.

18 years ago(struct rm_options): Remove unlink_dirs.
Paul Eggert [Wed, 2 Nov 2005 21:51:57 +0000 (21:51 +0000)]
(struct rm_options): Remove unlink_dirs.

18 years ago(rm invocation): Don't mention --directory (-d).
Paul Eggert [Wed, 2 Nov 2005 21:51:35 +0000 (21:51 +0000)]
(rm invocation): Don't mention --directory (-d).

18 years agoMention that rm -d and maybe ln -d are scheduled for
Paul Eggert [Wed, 2 Nov 2005 21:51:16 +0000 (21:51 +0000)]
Mention that rm -d and maybe ln -d are scheduled for
removal in 2006.

18 years ago*** empty log message ***
Jim Meyering [Wed, 2 Nov 2005 21:29:32 +0000 (21:29 +0000)]
*** empty log message ***

18 years agoFix typo in comment: s/fileutils/coreutils.
Jim Meyering [Wed, 2 Nov 2005 21:29:28 +0000 (21:29 +0000)]
Fix typo in comment: s/fileutils/coreutils.

18 years ago*** empty log message ***
Jim Meyering [Wed, 2 Nov 2005 20:45:24 +0000 (20:45 +0000)]
*** empty log message ***

18 years agoRedirect stderr to /dev/null so the
Jim Meyering [Wed, 2 Nov 2005 20:44:59 +0000 (20:44 +0000)]
Redirect stderr to /dev/null so the
M+N records in/out don't pollute `make check' output.

18 years ago*** empty log message ***
Jim Meyering [Wed, 2 Nov 2005 20:37:10 +0000 (20:37 +0000)]
*** empty log message ***

18 years ago(sk-seek4): New test, to exercise the bug
Jim Meyering [Wed, 2 Nov 2005 20:36:36 +0000 (20:36 +0000)]
(sk-seek4): New test, to exercise the bug
fixed on 2005-10-31.  This test uses the new, IN_PIPE specifier.