1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-31 21:09:01 +02:00
Commit Graph

21568 Commits

Author SHA1 Message Date
Jim Meyering b9400a2bc6 . 2005-08-23 16:48:07 +00:00
Jim Meyering 70dfc132e5 * .x-sc_useless_cpp_parens: New empty file.
* Makefile.am (EXTRA_DIST): Add it.
2005-08-23 16:46:04 +00:00
Jim Meyering f03cb421a9 *** empty log message *** 2005-08-23 16:39:25 +00:00
Jim Meyering 8e3ee19215 Use `5.3.1-cvs' as the version string. 2005-08-23 16:38:45 +00:00
Jim Meyering 1d35b2cc3d *** empty log message *** 2005-08-23 15:28:30 +00:00
Jim Meyering 6ce9ea95f5 Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:28:22 +00:00
Jim Meyering 64d4675c75 *** empty log message *** 2005-08-23 15:09:23 +00:00
Jim Meyering be16d0eac0 Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:09:13 +00:00
Jim Meyering 61f9e01475 Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:06:55 +00:00
Jim Meyering 5c86145a1d *** empty log message *** 2005-08-23 15:06:50 +00:00
Jim Meyering 8de5019cf5 Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:05:54 +00:00
Jim Meyering 4fb8e0f3c4 Include <float.h> unconditionally. 2005-08-23 15:05:01 +00:00
Jim Meyering 68c6c7db8e (print_uptime): Remove unnecessary parens in `#if defined (SYMBOL)' expressions. 2005-08-23 15:03:48 +00:00
Jim Meyering b5e741091d (do_link): If ln is invoked with --interactive (-i),
encounters an existing destination file, and gets an affirmative
response, then first try to unlink the destination file rather
than simply failing.  Suggestion from Karl Berry.
2005-08-22 10:31:55 +00:00
Jim Meyering a0037fae22 *** empty log message *** 2005-08-22 10:31:34 +00:00
Jim Meyering 3ee86c1b49 (xwrite_stdout): Rename from xwrite. Remove always-equal-to-STDOUT_FILENO
parameter and associated assertion.  Adjust all callers.
2005-08-22 10:31:17 +00:00
Jim Meyering 2fe90443cf *** empty log message *** 2005-08-21 16:08:57 +00:00
Jim Meyering 258e75ecb6 (main): Declare `target_directory' with const attribute. 2005-08-21 16:08:53 +00:00
Jim Meyering ecd05fa0fd *** empty log message *** 2005-08-21 16:06:16 +00:00
Jim Meyering 3d540878ff (time_style): Add `const' attribute.
(tot_dui): Remove unnecessary (and too-short) initializer list.
2005-08-21 16:06:06 +00:00
Paul Eggert ff2fecfbe9 Import from gnulib.
(__restrict_arr): Don't define to __restrict if __cplusplus is defined.
2005-08-19 21:14:12 +00:00
Jim Meyering 2e4d4691b0 *** empty log message *** 2005-08-19 17:18:08 +00:00
Jim Meyering cc6d255ed5 (stdopen): Return `bool' so caller can detect failure. 2005-08-19 17:18:04 +00:00
Jim Meyering 159c7aa02c *** empty log message *** 2005-08-18 22:29:43 +00:00
Jim Meyering 834d8e96c7 (usage) [-b,-t]: Ensure that there are at least two
spaces between each option and the corresponding description -- this
lets help2man format entries properly.  Reported by Edward Welbourne.
2005-08-18 22:26:42 +00:00
Jim Meyering 12513039fc *** empty log message *** 2005-08-17 20:50:21 +00:00
Jim Meyering 6a8b452b32 (usage): Fix typo s/POS 2/POS2/. 2005-08-17 20:50:17 +00:00
Jim Meyering edf0536c24 *** empty log message *** 2005-08-17 20:49:48 +00:00
Jim Meyering 57727f39bb sync from gnulib 2005-08-17 20:29:37 +00:00
Jim Meyering 38ca84bd9c *** empty log message *** 2005-08-17 20:20:37 +00:00
Jim Meyering a8819700e1 Remove terminating "\n"s once again.
Automatically add them whenever EXIT != 0.
2005-08-17 20:20:33 +00:00
Jim Meyering 8305377e27 *** empty log message *** 2005-08-17 19:56:48 +00:00
Jim Meyering df23c845d2 [neg-secs]: New test for today's strftime.c bug fix. 2005-08-17 19:56:44 +00:00
Jim Meyering 147d65828a *** empty log message *** 2005-08-17 19:55:57 +00:00
Jim Meyering cb3da21f16 Make the %s format (seconds since the epoch) work for a negative
number and when used with a zero-padded field width, e.g. %015s.

(my_strftime): Move the `do_number_sign_and_padding'
label so that it precedes the code to set `digits'.  Otherwise,
%0Ns wouldn't work.  Before this change, `date -d @-22 +%05s' would
print `00-22'.  Now, it prints `-0022', as it should.
2005-08-17 19:55:52 +00:00
Paul Eggert 6a18f2232d * src/df.c (show_dev): New arg STAT_FILE. 2005-08-16 20:33:57 +00:00
Paul Eggert 7b4c1ac12a (show_dev): New arg STAT_FILE. All uses changed.
This sometimes gives better results on networked file systems
that do not respect POSIX semantics.  Problem reported by
Bruno Haible.
2005-08-16 20:33:40 +00:00
Jim Meyering c013687ab1 add comment 2005-08-15 13:05:58 +00:00
Jim Meyering 9d534aa492 use ERR_SUBST to get around fact that the diagnostic
you get on a system with 32-bit time_t is not the same as
the one you get for a system where it's 64 bits wide:
- date: time 72057594037927935 is out of range
+ date: invalid date `@72057594037927935'
2005-08-15 13:03:57 +00:00
Jim Meyering 4a78a30f89 (uninit-64): New test for today's date.c fix.
Rewrite all other OUT strings to include the terminating "\n".
2005-08-15 13:01:50 +00:00
Jim Meyering c8624c2dcc *** empty log message *** 2005-08-15 12:16:58 +00:00
Jim Meyering cb50fa3e87 Don't print uninitialized data (or anything else) to stdout
upon localtime failure.

(show_date): Remove stray `puts (buf);' (debugging?)
from the 2004-02-02 change.
2005-08-15 12:16:54 +00:00
Jim Meyering ce10740dac make log entry more accurate 2005-08-15 09:11:17 +00:00
Jim Meyering 92f52ac5b5 *** empty log message *** 2005-08-15 08:41:24 +00:00
Jim Meyering bcb18ed9c2 (join invocation): Itemize the defaults. 2005-08-15 08:41:21 +00:00
Jim Meyering b851ea732e *** empty log message *** 2005-08-14 15:03:59 +00:00
Jim Meyering 11555e0b30 *** empty log message *** 2005-08-14 15:02:49 +00:00
Jim Meyering 8c6944b93f (usage): Fix typo s/formated/formatted/ reported by Norbert Kiesel 2005-08-14 15:02:45 +00:00
Jim Meyering 43ad2bb1f4 *** empty log message *** 2005-08-14 15:02:23 +00:00
Jim Meyering b2e04be2fa . 2005-08-14 14:31:23 +00:00