Jim Meyering
ee8931ea8e
(unlinkat): New function.
2005-09-19 15:45:05 +00:00
Jim Meyering
a1052bb3d9
(unlinkat): Add prototype.
2005-09-19 15:44:57 +00:00
Jim Meyering
fa3f61611b
*** empty log message ***
2005-09-19 13:34:51 +00:00
Jim Meyering
a9d57e3f26
(remove_dir): Return RM_ERROR, not `1',
...
when attempting to remove `/' with --preserve-root.
2005-09-19 13:34:47 +00:00
Jim Meyering
bcf48ff8a1
*** empty log message ***
2005-09-19 06:48:06 +00:00
Jim Meyering
f721f10682
(remove_cwd_entries): Syntactic tweak: move an
...
assignment out of an if-expression.
2005-09-19 06:47:47 +00:00
Jim Meyering
864947764d
*** empty log message ***
2005-09-17 09:14:52 +00:00
Jim Meyering
609d835a06
(usage): Request that additions be sent to bug-coreutils@gnu.org, too.
2005-09-17 09:14:48 +00:00
Paul Eggert
772dc5bcd0
coreutils.texi (who invocation): Remove a stray '+'.
2005-09-17 07:45:02 +00:00
Paul Eggert
25b89569c1
(who invocation): Remove a stray '+'.
2005-09-17 07:44:42 +00:00
Paul Eggert
90306bc508
(set_stat_atime, set_stat_ctime, set_stat_mtime): Remove; they were
...
buggy in the HAVE_STRUCT_STAT_ST_SPARE1 case, and they were dubious
anyway. I rewrote 'tar' to not use them any more.
2005-09-17 06:54:22 +00:00
Jim Meyering
f9b7acd5a2
*** empty log message ***
2005-09-16 18:19:57 +00:00
Jim Meyering
941882cd1c
*** empty log message ***
2005-09-16 18:07:50 +00:00
Jim Meyering
105ae85e38
(rfc822-1): Compensate for Solaris 5.9's /bin/sh,
...
which emits a diagnostic to stderr when this test's LC_ALL=de_DE
cannot be honored.
2005-09-16 18:07:46 +00:00
Jim Meyering
525faa8a75
*** empty log message ***
2005-09-16 17:54:56 +00:00
Jim Meyering
d43700c169
whoops. Update expected output, too.
2005-09-16 17:54:34 +00:00
Jim Meyering
b02c170d2f
(subfmt-up1): Put quotes around format string
...
to protect `^' from interpretation by some shells.
Add a use of OUT_SUBST to compensate for Solaris strftime's slightly
different formatting of %c.
2005-09-16 17:53:40 +00:00
Jim Meyering
7dd6db69af
*** empty log message ***
2005-09-16 09:36:04 +00:00
Jim Meyering
27747f4a66
(main): When failing to truncate, mention both the seek block count
...
and the block size, in case the block size is very large.
2005-09-16 09:35:47 +00:00
Jim Meyering
31fc497b9a
*** empty log message ***
2005-09-16 08:19:00 +00:00
Jim Meyering
dda1650e4a
*** empty log message ***
2005-09-16 08:10:15 +00:00
Jim Meyering
d5eda08be3
Include fprintftime.h.
...
Don't include strftime.h or xanstrftime.h -- no longer needed.
(show_date): Use new fprintftime function rather than xanstrftime.
Correct comment: this function no longer handles a NULL format string.
2005-09-16 08:08:32 +00:00
Jim Meyering
4fdd25e012
(show_date): Correct comment: this function no longer handles a
...
NULL format string.
2005-09-16 08:08:00 +00:00
Jim Meyering
d5763af839
(show_date): Remove now-spurious braces.
2005-09-16 07:59:20 +00:00
Paul Eggert
96971b59be
Regenerate.
2005-09-16 07:58:03 +00:00
Paul Eggert
555bbf598d
Import file time stamp resolution improvements from gnulib.
2005-09-16 07:55:12 +00:00
Jim Meyering
60da98e144
.
2005-09-16 07:53:31 +00:00
Paul Eggert
158d982669
Include stat-time.h, and use its functions instead of the obsolete
...
TIMESPEC_NS macro.
2005-09-16 07:50:33 +00:00
Paul Eggert
3ecd35f56f
Include stat-time.h, and use its functions instead of the obsolete
...
TIMESPEC_NS macro.
(get_mtime): Renamed from age_of. All uses changed.
2005-09-16 07:42:56 +00:00
Paul Eggert
b95a4ed1ce
Remove; no longer needed.
2005-09-16 07:41:10 +00:00
Paul Eggert
5926f89242
(gl_TIMESPEC): Require AC_C_INLINE.
...
Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
2005-09-16 07:40:48 +00:00
Paul Eggert
0bc67e2851
(gl_PREREQ): Require gl_STAT_TIME.
2005-09-16 07:40:19 +00:00
Paul Eggert
b946f4c96b
(gl_CHECK_ALL_TYPES): Do not require
...
AC_STRUCT_ST_MTIM_NSEC; it's obsolete.
2005-09-16 07:40:02 +00:00
Paul Eggert
e9f5a9b719
Include stat-time.h.
...
(SYSCALL_RESOLUTION): Depend on whether various struct stat
members exist, not on the obsolescent ST_MTIM_NSEC.
(utimecmp): Use the new stat-time functions rater than TIMESPEC_NS.
2005-09-16 07:39:41 +00:00
Paul Eggert
b5a377a22b
(ST_TIME_CMP_NS, ST_TIME_CMP, ATIME_CMP, CTIME_CMP):
...
(MTIME_CMP, TIMESPEC_NS): Remove. Now done by stat-time.h,
in a different way.
(timespec_cmp): New function.
2005-09-16 07:39:18 +00:00
Jim Meyering
27d4959a08
*** empty log message ***
2005-09-16 07:39:08 +00:00
Paul Eggert
0877688dc8
New file.
2005-09-16 07:38:17 +00:00
Paul Eggert
24e27d10f9
New file.
2005-09-16 07:36:48 +00:00
Paul Eggert
2bc8e10316
Add stat-time.h.
2005-09-16 07:36:35 +00:00
Jim Meyering
3da8b9a6d8
*** empty log message ***
2005-09-16 07:35:32 +00:00
Jim Meyering
1e7fb2186b
*** empty log message ***
2005-09-16 07:33:41 +00:00
Jim Meyering
d514933c67
Include fprintftime.h.
...
Don't include strftime.h or xanstrftime.h -- no longer needed.
(show_date): Use fprintftime rather than xanstrftime.
2005-09-16 07:33:36 +00:00
Jim Meyering
4fa029bd7d
(libcoreutils_a_SOURCES): Add fprintftime.c and fprintftime.h.
2005-09-16 07:32:13 +00:00
Jim Meyering
5d8614cf2f
*** empty log message ***
2005-09-16 07:31:34 +00:00
Jim Meyering
0277ce3913
[FPRINTFTIME] (fprintftime): Provide a new interface:
...
size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm,
int utc, int nanoseconds);
Background:
date should not have to allocate a megabyte of virtual memory to
handle a format argument like +%1048575T. When implemented with
strftime, it must allocate such a buffer, use strftime to fill it
in, print it, then free it.
With fprintftime, it simply prints everything and exits.
With no need for memory allocation, that's one fewer way to fail.
2005-09-16 07:31:29 +00:00
Jim Meyering
ab526003e4
*** empty log message ***
2005-09-16 07:01:00 +00:00
Jim Meyering
f7711ee699
*** empty log message ***
2005-09-16 06:54:26 +00:00
Jim Meyering
8a11d99e7d
(subfmt-up1): Test the combination of the
...
to-upper-case modifier (^) and a conversion specifier that
expands to a string containing lower case characters.
2005-09-16 06:54:19 +00:00
Paul Eggert
d2fa6df35e
(usage, main): uname -a no longer generates the -p and -i outputs if
...
they are unknown.
2005-09-15 19:57:04 +00:00
Paul Eggert
a2365f2d84
uname -a no longer generates the -p and -i outputs if they are unknown.
2005-09-15 19:56:35 +00:00