platform/upstream/coreutils.git
18 years agotweak grammar in comments
Jim Meyering [Wed, 23 Nov 2005 13:36:48 +0000 (13:36 +0000)]
tweak grammar in comments

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

18 years ago(fdopendir): Don't change errno when returning non-NULL.
Jim Meyering [Wed, 23 Nov 2005 13:35:09 +0000 (13:35 +0000)]
(fdopendir): Don't change errno when returning non-NULL.

18 years ago(rm): Don't assume C99 for-loop syntax.
Paul Eggert [Wed, 23 Nov 2005 04:52:48 +0000 (04:52 +0000)]
(rm): Don't assume C99 for-loop syntax.

18 years agowhoops. Add back decl/definition of n_lengths.
Jim Meyering [Tue, 22 Nov 2005 21:12:28 +0000 (21:12 +0000)]
whoops.  Add back decl/definition of n_lengths.

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

18 years ago(AD_push): Remove debugging cruft.
Jim Meyering [Tue, 22 Nov 2005 21:03:36 +0000 (21:03 +0000)]
(AD_push): Remove debugging cruft.

18 years agotweak comments
Jim Meyering [Tue, 22 Nov 2005 20:05:48 +0000 (20:05 +0000)]
tweak comments

18 years ago*** empty log message ***
Jim Meyering [Tue, 22 Nov 2005 16:23:21 +0000 (16:23 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Tue, 22 Nov 2005 16:00:04 +0000 (16:00 +0000)]
.

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

18 years agoAdd lib/euidaccess-stat.c.
Jim Meyering [Tue, 22 Nov 2005 15:59:35 +0000 (15:59 +0000)]
Add lib/euidaccess-stat.c.

18 years ago.
Jim Meyering [Tue, 22 Nov 2005 15:33:39 +0000 (15:33 +0000)]
.

18 years agoRewrite. Now, this module is reentrant on systems
Jim Meyering [Tue, 22 Nov 2005 15:33:26 +0000 (15:33 +0000)]
Rewrite.  Now, this module is reentrant on systems
that provide openat (Solaris), and on systems like Linux+procfs
where our openat emulation code is reentrant.  This also fixes a
few low-probability leaks and eliminates some code that could,
in very unusual circumstances, cause rm() (via a callee) to exit.

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

18 years agoPut copyright dates all on one line so the
Jim Meyering [Tue, 22 Nov 2005 15:32:20 +0000 (15:32 +0000)]
Put copyright dates all on one line so the
emacs function that updates them works properly.

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

18 years ago(rm): Change expected diagnostic, `cannot open directory' to `cannot remove',
Jim Meyering [Tue, 22 Nov 2005 15:08:09 +0000 (15:08 +0000)]
(rm): Change expected diagnostic, `cannot open directory' to `cannot remove',
to align with new version of rm.

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

18 years agoEnsure that rm now continues removing entries even after certain types of failure.
Jim Meyering [Tue, 22 Nov 2005 15:06:30 +0000 (15:06 +0000)]
Ensure that rm now continues removing entries even after certain types of failure.

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

18 years agoRewrite. Now, this module is reentrant on systems
Jim Meyering [Tue, 22 Nov 2005 15:04:51 +0000 (15:04 +0000)]
Rewrite.  Now, this module is reentrant on systems
that provide openat (Solaris), and on systems like Linux+procfs
where our openat emulation code is reentrant.  This also fixes a
few low-probability leaks and eliminates some code that could,
in very unusual circumstances, cause rm() (via a callee) to exit.

18 years ago*** empty log message ***
Jim Meyering [Tue, 22 Nov 2005 14:53:55 +0000 (14:53 +0000)]
*** empty log message ***

18 years ago(openat_permissive): Declare.
Jim Meyering [Tue, 22 Nov 2005 14:53:47 +0000 (14:53 +0000)]
(openat_permissive): Declare.
(openat_ro): Define.

18 years ago(EXPECTED_ERRNO): New macro.
Jim Meyering [Tue, 22 Nov 2005 14:52:48 +0000 (14:52 +0000)]
(EXPECTED_ERRNO): New macro.
(openat_permissive): New function -- used in remove.c rewrite.
(all functions): Set errno just before returning, only if there
was an actual failure.
Use EXPECTED_ERRNO rather than comparing against only ENOTDIR.

18 years agoadd ^lib/euidaccess-stat\.c$
Jim Meyering [Mon, 21 Nov 2005 22:59:36 +0000 (22:59 +0000)]
add ^lib/euidaccess-stat\.c$

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

18 years agoRemove spurious space-before-TAB.
Jim Meyering [Sun, 20 Nov 2005 18:52:15 +0000 (18:52 +0000)]
Remove spurious space-before-TAB.

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

18 years ago(gl_EUIDACCESS_STAT): New file/macro.
Jim Meyering [Sun, 20 Nov 2005 14:07:09 +0000 (14:07 +0000)]
(gl_EUIDACCESS_STAT): New file/macro.

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

18 years ago.
Jim Meyering [Sun, 20 Nov 2005 08:52:08 +0000 (08:52 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sun, 20 Nov 2005 08:51:38 +0000 (08:51 +0000)]
*** empty log message ***

18 years agoNew file, mostly from euidaccess.c.
Jim Meyering [Sun, 20 Nov 2005 08:51:10 +0000 (08:51 +0000)]
New file, mostly from euidaccess.c.

18 years ago*** empty log message ***
Jim Meyering [Sun, 20 Nov 2005 08:28:05 +0000 (08:28 +0000)]
*** empty log message ***

18 years agoRequire gl_EUIDACCESS_STAT.
Jim Meyering [Sun, 20 Nov 2005 08:26:38 +0000 (08:26 +0000)]
Require gl_EUIDACCESS_STAT.

18 years agotweak grammar in a comment
Jim Meyering [Sat, 19 Nov 2005 07:49:10 +0000 (07:49 +0000)]
tweak grammar in a comment

18 years ago.
Jim Meyering [Fri, 18 Nov 2005 23:12:06 +0000 (23:12 +0000)]
.

18 years ago* configure.ac (AC_PROG_CC_STDC): Use this instead of AC_PROG_CC.
Paul Eggert [Fri, 18 Nov 2005 23:03:34 +0000 (23:03 +0000)]
* configure.ac (AC_PROG_CC_STDC): Use this instead of AC_PROG_CC.

18 years ago(AC_PROG_CC_STDC): Use this instead of AC_PROG_CC, so that
Paul Eggert [Fri, 18 Nov 2005 23:03:11 +0000 (23:03 +0000)]
(AC_PROG_CC_STDC): Use this instead of AC_PROG_CC, so that
we get a standard-conforming compiler.  This relies on the new
m4/c.m4 file.  Note that it's a bit tricky, since c.m4 doesn't
define AC_PROG_CC_STDC; we are relying on Autoconf 2.59 internals.
m4/c.m4 can go away with Autoconf 2.60 comes out.

18 years ago* c.m4: New file.
Paul Eggert [Fri, 18 Nov 2005 23:02:48 +0000 (23:02 +0000)]
* c.m4: New file.

18 years agoNew file, to work around bugs in AIX cc.
Paul Eggert [Fri, 18 Nov 2005 23:02:32 +0000 (23:02 +0000)]
New file, to work around bugs in AIX cc.
Problem reported by James Lemley.  This file can go away
after Autoconf 2.60 comes out.

18 years ago* configure.ac (AM_PROG_CC_C_O): Add.
Paul Eggert [Fri, 18 Nov 2005 19:46:19 +0000 (19:46 +0000)]
* configure.ac (AM_PROG_CC_C_O): Add.

18 years ago(AM_PROG_CC_C_O): Add. Needed for CVS Automake.
Paul Eggert [Fri, 18 Nov 2005 19:45:42 +0000 (19:45 +0000)]
(AM_PROG_CC_C_O): Add.  Needed for CVS Automake.
Problem reported by Eric Blake.

18 years agos/filesystem/file system/ in a comment
Jim Meyering [Thu, 17 Nov 2005 21:17:35 +0000 (21:17 +0000)]
s/filesystem/file system/ in a comment

18 years agos/filesystem/file system/
Jim Meyering [Thu, 17 Nov 2005 21:17:28 +0000 (21:17 +0000)]
s/filesystem/file system/

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

18 years ago(AD_mark_helper): Make a `char *' parameter `const'.
Jim Meyering [Thu, 17 Nov 2005 20:17:47 +0000 (20:17 +0000)]
(AD_mark_helper): Make a `char *' parameter `const'.
(AD_mark_current_as_unremovable): Likewise, but for a local.
(rm_1): Likewise.

18 years ago.
Jim Meyering [Thu, 17 Nov 2005 20:05:46 +0000 (20:05 +0000)]
.

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

18 years agoremove commented-out lines
Jim Meyering [Thu, 17 Nov 2005 19:53:07 +0000 (19:53 +0000)]
remove commented-out lines

18 years agoLet traps handle removing temporary directories.
Jim Meyering [Thu, 17 Nov 2005 19:52:08 +0000 (19:52 +0000)]
Let traps handle removing temporary directories.

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

18 years ago(XFAIL_TESTS): Add acl.
Jim Meyering [Thu, 17 Nov 2005 19:06:55 +0000 (19:06 +0000)]
(XFAIL_TESTS): Add acl.

18 years ago(XFAIL_TESTS): Add acl.
Jim Meyering [Thu, 17 Nov 2005 19:06:28 +0000 (19:06 +0000)]
(XFAIL_TESTS): Add acl.

18 years ago(TESTS): Add acl.
Jim Meyering [Thu, 17 Nov 2005 18:38:14 +0000 (18:38 +0000)]
(TESTS): Add acl.

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 ***