platform/upstream/coreutils.git
19 years ago(libcoreutils_a_SOURCES): Remove dev-ino.h too, now that we
Jim Meyering [Sat, 25 Jun 2005 21:25:42 +0000 (21:25 +0000)]
(libcoreutils_a_SOURCES): Remove dev-ino.h too, now that we
get it via root-dev-ino.m4

19 years agoRemove dev-ino.h, now that we get it via root-dev-ino.m4
Jim Meyering [Sat, 25 Jun 2005 21:25:29 +0000 (21:25 +0000)]
Remove dev-ino.h, now that we get it via root-dev-ino.m4

19 years ago*** empty log message ***
Jim Meyering [Sat, 25 Jun 2005 12:38:44 +0000 (12:38 +0000)]
*** empty log message ***

19 years agoRequire gl_ROOT_DEV_INO.
Jim Meyering [Sat, 25 Jun 2005 12:38:40 +0000 (12:38 +0000)]
Require gl_ROOT_DEV_INO.

19 years agoAlso require dev-ino.h.
Jim Meyering [Sat, 25 Jun 2005 12:37:51 +0000 (12:37 +0000)]
Also require dev-ino.h.

19 years agoAdd this:
Jim Meyering [Sat, 25 Jun 2005 12:36:58 +0000 (12:36 +0000)]
Add this:
  AC_REQUIRE([AC_FUNC_LSTAT])

19 years ago(gl_ROOT_DEV_INO): New file/macro.
Jim Meyering [Sat, 25 Jun 2005 12:35:49 +0000 (12:35 +0000)]
(gl_ROOT_DEV_INO): New file/macro.

19 years ago*** empty log message ***
Jim Meyering [Sat, 25 Jun 2005 12:35:23 +0000 (12:35 +0000)]
*** empty log message ***

19 years ago(libcoreutils_a_SOURCES): Remove root-dev-ino.c and root-dev-ino.h.
Jim Meyering [Sat, 25 Jun 2005 12:35:13 +0000 (12:35 +0000)]
(libcoreutils_a_SOURCES): Remove root-dev-ino.c and root-dev-ino.h.

19 years ago(canon_host) [HAVE_GETADDRINFO]: Use `= { 0, };' to initialize local `hint'.
Paul Eggert [Fri, 24 Jun 2005 17:33:58 +0000 (17:33 +0000)]
(canon_host) [HAVE_GETADDRINFO]: Use `= { 0, };' to initialize local `hint'.

19 years ago.
Jim Meyering [Fri, 24 Jun 2005 08:06:28 +0000 (08:06 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Fri, 24 Jun 2005 08:05:54 +0000 (08:05 +0000)]
*** empty log message ***

19 years ago(cp invocation): Clarify how --reply=no works.
Jim Meyering [Fri, 24 Jun 2005 08:05:51 +0000 (08:05 +0000)]
(cp invocation): Clarify how --reply=no works.

19 years ago(usage): Clarify how --reply=no works.
Jim Meyering [Fri, 24 Jun 2005 08:02:36 +0000 (08:02 +0000)]
(usage): Clarify how --reply=no works.

19 years agoAddress some "du" issues.
Paul Eggert [Thu, 23 Jun 2005 22:38:43 +0000 (22:38 +0000)]
Address some "du" issues.

19 years agoDo not include hard-locale.h.
Paul Eggert [Thu, 23 Jun 2005 22:38:28 +0000 (22:38 +0000)]
Do not include hard-locale.h.
(struct duinfo): Remove 'valid' member.  All uses changed to use
negative nsec instead.
(DUIINFO_INI, DUINFO_SET, DUINFO_ADD): Remove.
(duinfo_init, duinfo_set, duinfo_add): New functions, taking the
role of the removed macros.
(opt_time): Renamed from opt_last_time.  All uses changed.
(TIME_OPTION): Renamed from LAST_TIME_OPTION.  All uses changed.
(long_options, usage): Rename --last-time to --time.
(locale_time_style): Remove.
(time_style_args, time_style_types, usage): Remove support for
--time-style=locale.
(show_date): Now returns void, since nobody looked at the result.
Assume FORMAT is not null.  An empty FORMAT now outputs an empty time.
Simplify nstrftime invocation.
(main): Put in ls compatibility workarounds only for TIME_STYLE,
not for --time-style.  Omit unnecessary space in iso time style.

19 years ago(ls invocation): Fix typo: --time=use is
Paul Eggert [Thu, 23 Jun 2005 22:37:58 +0000 (22:37 +0000)]
(ls invocation): Fix typo: --time=use is
equivalent to --time=atime, not --time=ctime.
(ls invocation, du invocation): Fix typo: --time-style=long-iso
is equivalent to a time style with a leading "+".
(du invocation): --last-time is now --time.
--time-style no longer implies --time.
The locale and posix- stuff now works only for TIME_STYLE, not
for --time-style.  Give equivalent format for --time-style=iso.

19 years agodu's --last-time option is now --time.
Paul Eggert [Thu, 23 Jun 2005 22:37:33 +0000 (22:37 +0000)]
du's --last-time option is now --time.

19 years agoUse AC_LIBSOURCES and AC_LIBOBJ.
Jim Meyering [Thu, 23 Jun 2005 18:42:29 +0000 (18:42 +0000)]
Use AC_LIBSOURCES and AC_LIBOBJ.

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

19 years ago(libcoreutils_a_SOURCES): Remove xstrtod.c and xstrtod.h.
Jim Meyering [Thu, 23 Jun 2005 18:41:48 +0000 (18:41 +0000)]
(libcoreutils_a_SOURCES): Remove xstrtod.c and xstrtod.h.

19 years agoUse AC_LIBSOURCES and AC_LIBOBJ.
Jim Meyering [Thu, 23 Jun 2005 18:41:17 +0000 (18:41 +0000)]
Use AC_LIBSOURCES and AC_LIBOBJ.

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

19 years ago.
Jim Meyering [Thu, 23 Jun 2005 16:34:18 +0000 (16:34 +0000)]
.

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));