1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 02:30:35 +02:00
Commit Graph

21753 Commits

Author SHA1 Message Date
Paul Eggert 3833e2bc34 New file, from gnulib. 2005-09-22 06:22:44 +00:00
Paul Eggert 0ed6bb9a65 Add getaddrinfo.h, getdelim.h, mbchar.h,
mbuiter.h, strcase.h, strnlen.h, strnlen1.h.
2005-09-22 06:22:31 +00:00
Paul Eggert 2d0c5eefd0 Sync from gnulib. 2005-09-22 06:05:39 +00:00
Paul Eggert 5a43b499b1 Sort. 2005-09-22 05:47:40 +00:00
Paul Eggert 0adb008b03 (ENOSYS): Define to EEXIST if not defined.
(make_dir_parents): Treat ENOSYS like EEXIST.
2005-09-22 05:42:26 +00:00
Jim Meyering 08c07f2a1c . 2005-09-21 17:07:09 +00:00
Jim Meyering 3ed1ba12da . 2005-09-21 16:43:17 +00:00
Jim Meyering cfda132680 *** empty log message *** 2005-09-21 14:05:50 +00:00
Jim Meyering a559a19405 Require that this test be run as non-root.
Otherwise, it fails due to the fact that the chmod 0 . doesn't
affect root.
2005-09-21 14:05:45 +00:00
Jim Meyering 7ac0294e28 *** empty log message *** 2005-09-20 17:48:07 +00:00
Jim Meyering d6b83b2f9b (write_protected_non_symlink): Change comment to agree with the code. 2005-09-20 17:48:02 +00:00
Jim Meyering b0ecfaf324 *** empty log message *** 2005-09-20 13:51:20 +00:00
Jim Meyering 5205b73810 (fdopendir): Be sure to close the supplied
file descriptor before returning.  This makes our replacement
implementation a little closer to Solaris's, where fdopendir
ties the file descriptor to the returned DIR* pointer.
2005-09-20 13:51:01 +00:00
Jim Meyering 3fcdbfdfda tweak 2005-09-20 13:24:29 +00:00
Jim Meyering ea66df2090 *** empty log message *** 2005-09-19 15:45:09 +00:00
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