platform/upstream/coreutils.git
19 years ago(libcoreutils_a_SOURCES): Remove xreadlink.c and xreadlink.h.
Jim Meyering [Thu, 23 Jun 2005 16:24:32 +0000 (16:24 +0000)]
(libcoreutils_a_SOURCES): Remove xreadlink.c and xreadlink.h.

19 years agoUse AC_LIBSOURCES and AC_LIBOBJ.
Jim Meyering [Thu, 23 Jun 2005 16:24:06 +0000 (16:24 +0000)]
Use AC_LIBSOURCES and AC_LIBOBJ.

19 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jun 2005 15:35:09 +0000 (15:35 +0000)]
*** empty log message ***

19 years agowhoops: use puts, not fputs
Jim Meyering [Thu, 23 Jun 2005 15:34:52 +0000 (15:34 +0000)]
whoops: use puts, not fputs

19 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jun 2005 15:28:07 +0000 (15:28 +0000)]
*** empty log message ***

19 years ago(time_format): Add `const' attribute.
Jim Meyering [Thu, 23 Jun 2005 15:27:55 +0000 (15:27 +0000)]
(time_format): Add `const' attribute.

19 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jun 2005 15:20:11 +0000 (15:20 +0000)]
*** empty log message ***

19 years ago(show_date): Use fputs rather than printf ("%s\n",.
Jim Meyering [Thu, 23 Jun 2005 15:20:05 +0000 (15:20 +0000)]
(show_date): Use fputs rather than printf ("%s\n",.

19 years ago(show_date): Add a FIXME comment.
Jim Meyering [Thu, 23 Jun 2005 15:18:40 +0000 (15:18 +0000)]
(show_date): Add a FIXME comment.

19 years ago(show_date): Rename local `time_format' so as not to
Jim Meyering [Thu, 23 Jun 2005 15:16:38 +0000 (15:16 +0000)]
(show_date): Rename local `time_format' so as not to
shadow the file-scoped global by that name.

19 years ago.
Jim Meyering [Thu, 23 Jun 2005 15:07:45 +0000 (15:07 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jun 2005 15:00:35 +0000 (15:00 +0000)]
*** empty log message ***

19 years ago(du invocation): New options --last-time and --time-style.
Jim Meyering [Thu, 23 Jun 2005 15:00:29 +0000 (15:00 +0000)]
(du invocation): New options --last-time and --time-style.

19 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jun 2005 14:47:27 +0000 (14:47 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jun 2005 14:41:27 +0000 (14:41 +0000)]
*** empty log message ***

19 years ago(usage): Tweak formatting to maintain more or less constant indentation.
Jim Meyering [Thu, 23 Jun 2005 14:40:00 +0000 (14:40 +0000)]
(usage): Tweak formatting to maintain more or less constant indentation.

19 years agoInclude hard-locale.h and strftime.h.
Jim Meyering [Thu, 23 Jun 2005 14:32:29 +0000 (14:32 +0000)]
Include hard-locale.h and strftime.h.
(DUINFO_INI, DUINFO_SET, DUINFO_ADD):
Enclose body in `do {...} while (0)', not just `{...}'.
Adjust uses (add semicolons).
Adjust formatting, indentation.

19 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jun 2005 14:20:29 +0000 (14:20 +0000)]
*** empty log message ***

19 years ago2005-06-14 William Brendling <wbrendling@gmail.com>
Jim Meyering [Thu, 23 Jun 2005 14:20:16 +0000 (14:20 +0000)]
2005-06-14  William Brendling  <wbrendling@gmail.com>

* src/du.c: Add --last-time and --time-style options.

19 years ago*** empty log message ***
Jim Meyering [Thu, 23 Jun 2005 13:26:20 +0000 (13:26 +0000)]
*** empty log message ***

19 years ago(backup_args): Change a `0' to NULL.
Jim Meyering [Thu, 23 Jun 2005 13:26:15 +0000 (13:26 +0000)]
(backup_args): Change a `0' to NULL.

19 years agomktime fix to avoid a diagnostic.
Paul Eggert [Wed, 22 Jun 2005 19:08:21 +0000 (19:08 +0000)]
mktime fix to avoid a diagnostic.

19 years agoInclude <string.h> even if !DEBUG. (From glibc.)
Paul Eggert [Wed, 22 Jun 2005 19:07:41 +0000 (19:07 +0000)]
Include <string.h> even if !DEBUG.  (From glibc.)
(ranged_convert): Don't save conversion in a temporary struct.
This causes a warning with GCC 4.0.0, and anyway in the typical
case it's not worth the extra 100 bytes or so of code.
(ranged_convert, __mktime_internal): When calling a function via a
pointer P, use P () rather than (*P) (), as we now assume C89 or better.

19 years ago(desirable_utmp_entry): Fix bug where "who -b" and "who -r"
Paul Eggert [Wed, 22 Jun 2005 18:26:22 +0000 (18:26 +0000)]
(desirable_utmp_entry): Fix bug where "who -b" and "who -r"
failed to give output.

19 years agoNew file umask-check to test for umask problems during tests.
Paul Eggert [Wed, 22 Jun 2005 18:10:16 +0000 (18:10 +0000)]
New file umask-check to test for umask problems during tests.

19 years agoUse umask-check instead of chmod.
Paul Eggert [Wed, 22 Jun 2005 18:08:35 +0000 (18:08 +0000)]
Use umask-check instead of chmod.

19 years agoUse umask-check.
Paul Eggert [Wed, 22 Jun 2005 18:08:13 +0000 (18:08 +0000)]
Use umask-check.

19 years ago(EXTRA_DIST): Add umask-check.
Paul Eggert [Wed, 22 Jun 2005 18:07:55 +0000 (18:07 +0000)]
(EXTRA_DIST): Add umask-check.

19 years agoInitial revision.
Paul Eggert [Wed, 22 Jun 2005 18:07:36 +0000 (18:07 +0000)]
Initial revision.

19 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jun 2005 15:30:16 +0000 (15:30 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jun 2005 15:29:51 +0000 (15:29 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jun 2005 15:25:29 +0000 (15:25 +0000)]
*** empty log message ***

19 years agoInclude "quotearg.h", not "quote.h".
Jim Meyering [Wed, 22 Jun 2005 15:25:23 +0000 (15:25 +0000)]
Include "quotearg.h", not "quote.h".
(remove_parents, main): Use quotearg_colon, not quote.

19 years agoFrom gnulib:
Jim Meyering [Wed, 22 Jun 2005 11:55:38 +0000 (11:55 +0000)]
From gnulib:

  (HAVE_GNU_CALLOC): New constant.
  (xcalloc): Use it to avoid needless tests.

19 years ago*** empty log message ***
Jim Meyering [Wed, 22 Jun 2005 11:52:24 +0000 (11:52 +0000)]
*** empty log message ***

19 years ago* tests/cp/cp-parents: Use chmod to work around some hosts with
Paul Eggert [Wed, 22 Jun 2005 07:38:06 +0000 (07:38 +0000)]
* tests/cp/cp-parents: Use chmod to work around some hosts with
ACL problems.

19 years ago*** empty log message ***
Jim Meyering [Tue, 21 Jun 2005 12:46:40 +0000 (12:46 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 21 Jun 2005 08:59:55 +0000 (08:59 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 21 Jun 2005 08:45:58 +0000 (08:45 +0000)]
*** empty log message ***

19 years agoUse --apparent-size to avoid the vagaries
Jim Meyering [Tue, 21 Jun 2005 08:45:19 +0000 (08:45 +0000)]
Use --apparent-size to avoid the vagaries
of counting blocks.  Kevin Mudrick reported that this test would
fail on an nfs-mounted directory where attribute-caching is
turned on.

19 years ago.
Jim Meyering [Mon, 20 Jun 2005 07:13:36 +0000 (07:13 +0000)]
.

19 years agoAllow the two existing types of uses of PATH:
Jim Meyering [Sun, 19 Jun 2005 13:43:50 +0000 (13:43 +0000)]
Allow the two existing types of uses of PATH:
  @vindex PATH
  @env{PATH}

19 years ago*** empty log message ***
Jim Meyering [Sun, 19 Jun 2005 13:39:54 +0000 (13:39 +0000)]
*** empty log message ***

19 years ago(ln invocation): Change a few `paths' to `file names'.
Jim Meyering [Sun, 19 Jun 2005 13:39:51 +0000 (13:39 +0000)]
(ln invocation): Change a few `paths' to `file names'.

19 years ago*** empty log message ***
Jim Meyering [Sun, 19 Jun 2005 13:37:41 +0000 (13:37 +0000)]
*** empty log message ***

19 years agoAlso catch uses of path, pathname.
Jim Meyering [Sun, 19 Jun 2005 13:37:39 +0000 (13:37 +0000)]
Also catch uses of path, pathname.

19 years ago(tac_mem, tac_stdin_to_mem): Remove #if-0'd functions.
Jim Meyering [Sun, 19 Jun 2005 09:10:28 +0000 (09:10 +0000)]
(tac_mem, tac_stdin_to_mem): Remove #if-0'd functions.

19 years ago*** empty log message ***
Jim Meyering [Sun, 19 Jun 2005 09:08:53 +0000 (09:08 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sun, 19 Jun 2005 08:34:56 +0000 (08:34 +0000)]
*** empty log message ***

19 years ago(usage): Use `file system', not `filesystem'.
Jim Meyering [Sun, 19 Jun 2005 08:34:49 +0000 (08:34 +0000)]
(usage): Use `file system', not `filesystem'.

19 years agouse `file system', not `filesystem'
Jim Meyering [Sun, 19 Jun 2005 08:34:14 +0000 (08:34 +0000)]
use `file system', not `filesystem'

19 years ago*** empty log message ***
Jim Meyering [Sun, 19 Jun 2005 08:30:16 +0000 (08:30 +0000)]
*** empty log message ***

19 years ago(gl_XGETCWD): Add `AC_LIBOBJ([xgetcwd])'.
Jim Meyering [Sun, 19 Jun 2005 08:30:08 +0000 (08:30 +0000)]
(gl_XGETCWD): Add `AC_LIBOBJ([xgetcwd])'.
Register xgetcwd.c and xgetcwd.h via AC_LIBSOURCES.

19 years agorename to gl_FUNC_XFTS
Jim Meyering [Sun, 19 Jun 2005 08:27:47 +0000 (08:27 +0000)]
rename to gl_FUNC_XFTS

19 years agoRequire gl_FUNC_XFTS.
Jim Meyering [Sun, 19 Jun 2005 08:27:28 +0000 (08:27 +0000)]
Require gl_FUNC_XFTS.

19 years ago(gl_XFTS): New file/macro.
Jim Meyering [Sun, 19 Jun 2005 08:25:46 +0000 (08:25 +0000)]
(gl_XFTS): New file/macro.

19 years ago(libcoreutils_a_SOURCES): Remove xgetcwd.c, xgetcwd.h, xfts.c and xfts.h.
Jim Meyering [Sun, 19 Jun 2005 08:25:21 +0000 (08:25 +0000)]
(libcoreutils_a_SOURCES): Remove xgetcwd.c, xgetcwd.h, xfts.c and xfts.h.

19 years ago*** empty log message ***
Jim Meyering [Sat, 18 Jun 2005 06:25:22 +0000 (06:25 +0000)]
*** empty log message ***

19 years ago(unquote): Remove unnecessary `' quotes from a diagnostic.
Jim Meyering [Sat, 18 Jun 2005 06:25:09 +0000 (06:25 +0000)]
(unquote): Remove unnecessary `' quotes from a diagnostic.

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Fri, 17 Jun 2005 18:43:24 +0000 (18:43 +0000)]
Don't embed `this'-style quotes in format strings.

Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years ago*** empty log message ***
Jim Meyering [Fri, 17 Jun 2005 13:16:07 +0000 (13:16 +0000)]
*** empty log message ***

19 years ago(usage): Clarify that shred works on an ext3 file
Jim Meyering [Fri, 17 Jun 2005 13:16:00 +0000 (13:16 +0000)]
(usage): Clarify that shred works on an ext3 file
system as long as it's not in data=journal mode.
Tiny change by Mark Melahn.

19 years ago*** empty log message ***
Jim Meyering [Fri, 17 Jun 2005 13:12:21 +0000 (13:12 +0000)]
*** empty log message ***

19 years ago(shred invocation): Clarify that shred
Jim Meyering [Fri, 17 Jun 2005 13:12:17 +0000 (13:12 +0000)]
(shred invocation): Clarify that shred
works on ext3 as long as it's not in data=journal mode.
Patch from Mark Melahn.

19 years ago*** empty log message ***
Jim Meyering [Fri, 17 Jun 2005 13:11:47 +0000 (13:11 +0000)]
*** empty log message ***

19 years ago* src/hostid.c (main): Don't print fewer than 8 digits, or spurious leading "f".
Paul Eggert [Thu, 16 Jun 2005 23:46:27 +0000 (23:46 +0000)]
* src/hostid.c (main): Don't print fewer than 8 digits, or spurious leading "f".

19 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jun 2005 21:49:22 +0000 (21:49 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jun 2005 21:47:19 +0000 (21:47 +0000)]
*** empty log message ***

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Thu, 16 Jun 2005 21:44:25 +0000 (21:44 +0000)]
Don't embed `this'-style quotes in format strings.

Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agowhoops: Adding quote(...) isn't enough :)
Jim Meyering [Thu, 16 Jun 2005 21:41:57 +0000 (21:41 +0000)]
whoops: Adding quote(...) isn't enough :)
remove quotes from the string, too.

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Thu, 16 Jun 2005 21:40:43 +0000 (21:40 +0000)]
Don't embed `this'-style quotes in format strings.

Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Thu, 16 Jun 2005 21:39:10 +0000 (21:39 +0000)]
Don't embed `this'-style quotes in format strings.

Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Thu, 16 Jun 2005 21:38:27 +0000 (21:38 +0000)]
Don't embed `this'-style quotes in format strings.

Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Thu, 16 Jun 2005 21:37:37 +0000 (21:37 +0000)]
Don't embed `this'-style quotes in format strings.

Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Thu, 16 Jun 2005 21:36:48 +0000 (21:36 +0000)]
Don't embed `this'-style quotes in format strings.

Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Thu, 16 Jun 2005 21:35:40 +0000 (21:35 +0000)]
Don't embed `this'-style quotes in format strings.

Include "quote.h".
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agoDon't embed `this'-style quotes in format strings.
Jim Meyering [Thu, 16 Jun 2005 21:33:43 +0000 (21:33 +0000)]
Don't embed `this'-style quotes in format strings.

Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agoRather than this: error (..., "...`%s'...", arg);
Jim Meyering [Thu, 16 Jun 2005 21:28:41 +0000 (21:28 +0000)]
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years agoRather than this: error (..., "...`%s'...", arg);
Jim Meyering [Thu, 16 Jun 2005 21:28:12 +0000 (21:28 +0000)]
Rather than this: error (..., "...`%s'...", arg);
do this:          error (..., "...%s...", quote (arg));

19 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jun 2005 14:52:33 +0000 (14:52 +0000)]
*** empty log message ***

19 years ago(rpl_calloc): Allocate a 1-byte buffer (not 1xS or Nx1)
Jim Meyering [Thu, 16 Jun 2005 14:52:29 +0000 (14:52 +0000)]
(rpl_calloc): Allocate a 1-byte buffer (not 1xS or Nx1)
when either N or S is zero.

19 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jun 2005 09:16:25 +0000 (09:16 +0000)]
*** empty log message ***

19 years ago(Backup options): Undocument --version-control=S (-V).
Jim Meyering [Thu, 16 Jun 2005 09:16:16 +0000 (09:16 +0000)]
(Backup options): Undocument --version-control=S (-V).

19 years ago*** empty log message ***
Jim Meyering [Thu, 16 Jun 2005 09:15:45 +0000 (09:15 +0000)]
*** empty log message ***

19 years agoFinally remove support for --version-control=S (-V).
Jim Meyering [Thu, 16 Jun 2005 09:15:23 +0000 (09:15 +0000)]
Finally remove support for --version-control=S (-V).
It was deprecated nearly 6 years ago and has been warning
users to switch to --backup=S since fileutils-4.0j.

19 years ago.
Jim Meyering [Wed, 15 Jun 2005 09:53:34 +0000 (09:53 +0000)]
.

19 years agoReflect s/_die/_fail/ renaming.
Jim Meyering [Wed, 15 Jun 2005 09:38:12 +0000 (09:38 +0000)]
Reflect s/_die/_fail/ renaming.

19 years ago*** empty log message ***
Jim Meyering [Wed, 15 Jun 2005 09:31:20 +0000 (09:31 +0000)]
*** empty log message ***

19 years agoEnsure that rel-named dirs are not created when chdir($PWD) fails.
Jim Meyering [Wed, 15 Jun 2005 09:31:16 +0000 (09:31 +0000)]
Ensure that rel-named dirs are not created when chdir($PWD) fails.

19 years agoEnsure that each `-d'-specified directory is created.
Jim Meyering [Wed, 15 Jun 2005 09:04:21 +0000 (09:04 +0000)]
Ensure that each `-d'-specified directory is created.

19 years ago(main): Fix my typo: s/argv[optind]/file[i]/.
Jim Meyering [Wed, 15 Jun 2005 08:54:21 +0000 (08:54 +0000)]
(main): Fix my typo: s/argv[optind]/file[i]/.

19 years ago*** empty log message ***
Jim Meyering [Wed, 15 Jun 2005 08:32:14 +0000 (08:32 +0000)]
*** empty log message ***

19 years agoAdd a test for just-fixed bug in mkdir-p.c.
Jim Meyering [Wed, 15 Jun 2005 08:32:11 +0000 (08:32 +0000)]
Add a test for just-fixed bug in mkdir-p.c.

19 years ago(make_dir_parents): Don't let a failed chdir($PWD)
Jim Meyering [Wed, 15 Jun 2005 08:31:44 +0000 (08:31 +0000)]
(make_dir_parents): Don't let a failed chdir($PWD)
stop us from restricting permissions of just-created absolute-named
directories.

19 years agoFix typo in previous checkin.
Paul Eggert [Wed, 15 Jun 2005 00:06:34 +0000 (00:06 +0000)]
Fix typo in previous checkin.

19 years agoinstall -D had a problem similar to mkdir -p.
Paul Eggert [Wed, 15 Jun 2005 00:05:20 +0000 (00:05 +0000)]
install -D had a problem similar to mkdir -p.

19 years agoImprove diagnostics for restore_cwd failure.
Paul Eggert [Tue, 14 Jun 2005 23:58:00 +0000 (23:58 +0000)]
Improve diagnostics for restore_cwd failure.

19 years ago(make_dir): Remove. All uses replaced by mkdir.
Paul Eggert [Tue, 14 Jun 2005 23:56:49 +0000 (23:56 +0000)]
(make_dir): Remove.  All uses replaced by mkdir.
(make_dir_parents): Last arg is now int * (for errno), not bool *.
Rewrite "mkdir -p" algorithm to avoid the need for "stat"
each time through the loop.  Do not diagnose restore_cwd failure;
that is the caller's job (and perhaps the caller does not care).

19 years ago(make_dir): Remove. All uses replaced by mkdir.
Paul Eggert [Tue, 14 Jun 2005 23:56:17 +0000 (23:56 +0000)]
(make_dir): Remove.  All uses replaced by mkdir.
(make_dir_parents): Last arg is now int * (for errno), not bool *.

19 years ago(create_parents): Remove static var (now local to 'main').
Paul Eggert [Tue, 14 Jun 2005 23:55:47 +0000 (23:55 +0000)]
(create_parents): Remove static var (now local to 'main').
(main): Standardize on a diagnostic for restore_cwd failure,
and report errno.
Don't bother to check cwd_errno unless create_parents.
Use mkdir rather than make_dir; it's simpler.