Commit Graph
24019 Commits
Author SHA1 Message Date
Jim Meyering ef0790fc1c *** empty log message *** 2005-06-25 12:35:23 +00:00
Jim Meyering 40a9612ec4 (libcoreutils_a_SOURCES): Remove root-dev-ino.c and root-dev-ino.h. 2005-06-25 12:35:13 +00:00
Paul Eggert 406929bb9d (canon_host) [HAVE_GETADDRINFO]: Use = { 0, };' to initialize local hint'. 2005-06-24 17:33:58 +00:00
Jim Meyering 534ccf18c2 . 2005-06-24 08:06:28 +00:00
Jim Meyering 36bcf322ce *** empty log message *** 2005-06-24 08:05:54 +00:00
Jim Meyering a8249aba92 (cp invocation): Clarify how --reply=no works. 2005-06-24 08:05:51 +00:00
Jim Meyering a345498d97 (usage): Clarify how --reply=no works. 2005-06-24 08:02:36 +00:00
Paul Eggert 5b87f6a271 Address some "du" issues. 2005-06-23 22:38:43 +00:00
Paul Eggert 42cee9216b 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.
2005-06-23 22:38:28 +00:00
Paul Eggert 7461cd03b5 (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.
2005-06-23 22:37:58 +00:00
Paul Eggert 638e81b537 du's --last-time option is now --time. 2005-06-23 22:37:33 +00:00
Jim Meyering 54efcebd94 Use AC_LIBSOURCES and AC_LIBOBJ. 2005-06-23 18:42:29 +00:00
Jim Meyering a0e12540f5 *** empty log message *** 2005-06-23 18:41:55 +00:00
Jim Meyering 8ddb95f66c (libcoreutils_a_SOURCES): Remove xstrtod.c and xstrtod.h. 2005-06-23 18:41:48 +00:00
Jim Meyering 029c3a3d44 Use AC_LIBSOURCES and AC_LIBOBJ. 2005-06-23 18:41:17 +00:00
Jim Meyering d9f5ecdf62 *** empty log message *** 2005-06-23 16:56:58 +00:00
Jim Meyering 5c215ef2ad . 2005-06-23 16:34:18 +00:00
Jim Meyering a2b5c6c00e (libcoreutils_a_SOURCES): Remove xreadlink.c and xreadlink.h. 2005-06-23 16:24:32 +00:00
Jim Meyering 47237c979f Use AC_LIBSOURCES and AC_LIBOBJ. 2005-06-23 16:24:06 +00:00
Jim Meyering d8ff99062d *** empty log message *** 2005-06-23 15:35:09 +00:00
Jim Meyering 75b33a5620 whoops: use puts, not fputs 2005-06-23 15:34:52 +00:00
Jim Meyering 98138b6b3f *** empty log message *** 2005-06-23 15:28:07 +00:00
Jim Meyering d6b20d71f7 (time_format): Add `const' attribute. 2005-06-23 15:27:55 +00:00
Jim Meyering c8c1251a7b *** empty log message *** 2005-06-23 15:20:11 +00:00
Jim Meyering a912688f5c (show_date): Use fputs rather than printf ("%s\n",. 2005-06-23 15:20:05 +00:00
Jim Meyering 38eca4e977 (show_date): Add a FIXME comment. 2005-06-23 15:18:40 +00:00
Jim Meyering c8e4886304 (show_date): Rename local `time_format' so as not to
shadow the file-scoped global by that name.
2005-06-23 15:16:38 +00:00
Jim Meyering ae08ebecae . 2005-06-23 15:07:45 +00:00
Jim Meyering b111ca4885 *** empty log message *** 2005-06-23 15:00:35 +00:00
Jim Meyering 05b7592ab7 (du invocation): New options --last-time and --time-style. 2005-06-23 15:00:29 +00:00
Jim Meyering 80bceac4ea *** empty log message *** 2005-06-23 14:47:27 +00:00
Jim Meyering 888d47b2b2 *** empty log message *** 2005-06-23 14:41:27 +00:00
Jim Meyering 89b0b72ca3 (usage): Tweak formatting to maintain more or less constant indentation. 2005-06-23 14:40:00 +00:00
Jim Meyering 6e48308e16 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.
2005-06-23 14:32:29 +00:00
Jim Meyering d345f75d50 *** empty log message *** 2005-06-23 14:20:29 +00:00
Jim Meyering 3cd6ee7518 2005-06-14 William Brendling <wbrendling@gmail.com>
* src/du.c: Add --last-time and --time-style options.
2005-06-23 14:20:16 +00:00
Jim Meyering fba73bf741 *** empty log message *** 2005-06-23 13:26:20 +00:00
Jim Meyering 5fd26561cb (backup_args): Change a `0' to NULL. 2005-06-23 13:26:15 +00:00
Paul Eggert a13627ac2e mktime fix to avoid a diagnostic. 2005-06-22 19:08:21 +00:00
Paul Eggert 8834b57877 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.
2005-06-22 19:07:41 +00:00
Paul Eggert 956daabfc6 (desirable_utmp_entry): Fix bug where "who -b" and "who -r"
failed to give output.
2005-06-22 18:26:22 +00:00
Paul Eggert 070e3b1280 New file umask-check to test for umask problems during tests. 2005-06-22 18:10:16 +00:00
Paul Eggert a240b41236 Use umask-check instead of chmod. 2005-06-22 18:08:35 +00:00
Paul Eggert 5750ad83c8 Use umask-check. 2005-06-22 18:08:13 +00:00
Paul Eggert 904012a974 (EXTRA_DIST): Add umask-check. 2005-06-22 18:07:55 +00:00
Paul Eggert 06c4f8e242 Initial revision. 2005-06-22 18:07:36 +00:00
Jim Meyering 7be9c3e317 *** empty log message *** 2005-06-22 15:30:16 +00:00
Jim Meyering 67c719c84c *** empty log message *** 2005-06-22 15:29:51 +00:00
Jim Meyering dac2329d5e *** empty log message *** 2005-06-22 15:25:29 +00:00
Jim Meyering 4ae6914356 Include "quotearg.h", not "quote.h".
(remove_parents, main): Use quotearg_colon, not quote.
2005-06-22 15:25:23 +00:00