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
Jim Meyering
71074cf49e
*** empty log message ***
2005-08-14 14:29:28 +00:00
Jim Meyering
fd94ad4854
*** empty log message ***
2005-08-14 14:22:23 +00:00
Jim Meyering
6dc48762d8
Don't include "timespec.h".
2005-08-14 14:22:00 +00:00
Jim Meyering
4852a0460a
*** empty log message ***
2005-08-14 14:20:53 +00:00
Jim Meyering
478bd8935b
Use one fewer file descriptor in a common case.
...
Include "fd-reopen.h", rather than "fcntl--.h".
Use fd_reopen rather than open.
2005-08-14 14:18:07 +00:00
Jim Meyering
0ad5c9400b
*** empty log message ***
2005-08-14 14:17:54 +00:00
Jim Meyering
c41d32149a
Include "timespec.h".
...
(age_of): Return the nanoseconds part of the timestamp, if available.
(binary_operator) [-nt, -ot]: Use nanosecond values to break ties.
2005-08-14 14:17:48 +00:00
Jim Meyering
9d9ca33394
*** empty log message ***
2005-08-14 11:16:15 +00:00
Jim Meyering
006d08a85d
(long_time_expected_width): Revert last change, just to
...
be paranoid, and add a comment explaining why.
Paul Eggert mentioned the possibility.
2005-08-14 08:30:25 +00:00
Jim Meyering
2a372ff7dc
*** empty log message ***
2005-08-13 22:47:52 +00:00
Jim Meyering
f9a52f316a
Don't define mbrtowc at all.
...
If mbstate_t is not defined, then AC_TYPE_MBSTATE_T will define
it to `int' for us.
2005-08-13 22:47:48 +00:00
Jim Meyering
9d66e1afee
*** empty log message ***
2005-08-13 22:46:07 +00:00
Jim Meyering
4f47534c2a
undo last change
2005-08-13 22:45:53 +00:00
Jim Meyering
6f29f55e7c
*** empty log message ***
2005-08-13 22:26:36 +00:00
Jim Meyering
cb9cbee3bc
[HAVE_WCTYPE_H]: Include <wctype.h>; this is
...
needed on HP-UX 11.23 in order to get a definition of mbstate_t.
2005-08-13 22:26:33 +00:00
Jim Meyering
2a775eb67d
update from gnulib
2005-08-13 21:06:17 +00:00
Jim Meyering
24198ff680
update from gnulib
2005-08-13 21:04:02 +00:00
Jim Meyering
cac9f4ecd5
*** empty log message ***
2005-08-13 17:39:40 +00:00
Jim Meyering
9609435c35
.
2005-08-13 17:36:34 +00:00
Jim Meyering
ca2c2c49bf
(AC_CONFIG_FILES): Remove tests/date/Makefile.
2005-08-13 17:34:22 +00:00
Jim Meyering
72c320dcb2
(SUBDIRS): Remove date.
2005-08-13 17:34:11 +00:00