1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-17 00:56:34 +02:00
Commit Graph

19685 Commits

Author SHA1 Message Date
Paul Eggert
2e1b2830be Initial revision. 2004-11-25 19:19:38 +00:00
Paul Eggert
0efae757fc Imported from gnulib. 2004-11-25 19:17:55 +00:00
Paul Eggert
73d62d67d0 Imported from gnulib. 2004-11-25 19:16:12 +00:00
Jim Meyering
63ca304e54 . 2004-11-25 12:44:01 +00:00
Jim Meyering
d2edfe4f83 (.x.1): Remove now-unnecessary use of
locally-added --program-name=NAME option.  Now, help2man gets
the name from the [NAME] section (i.e. from our .x file).
2004-11-25 12:43:53 +00:00
Jim Meyering
e599921d04 *** empty log message *** 2004-11-25 12:42:10 +00:00
Jim Meyering
21baebf122 Import help2man-1.35.1. 2004-11-25 12:37:11 +00:00
Jim Meyering
6c69127c83 *** empty log message *** 2004-11-25 12:36:34 +00:00
Jim Meyering
b93a105e99 Use sha1sum', not shasum'. 2004-11-25 12:36:26 +00:00
Jim Meyering
6f0e498ccd Use install', not ginstall' in the one-line
description.  Reported by Brendan O'Dea.
2004-11-25 12:30:03 +00:00
Jim Meyering
253012e531 *** empty log message *** 2004-11-24 21:30:22 +00:00
Jim Meyering
3475a2d993 Since the changes of 2004-05-22, the u.saved_cwd member at
the bottom of the active-directory stack was no longer
strictly necessary.  This change removes that member and uses
the newer cwd_state parameter for the final restore_cwd.

(struct AD_ent) [u]: Remove now-unnecessary union.
[dev_ino]: Rename from `a'.
(AD_pop_and_chdir): Add a parameter to play the role of just-removed
bottom-of-stack cwd-state member.
(AD_pop_and_chdir): No longer return boolean.  Adjust caller.
(AD_push_initial): Remove CWD parameter.  Adjust caller.
2004-11-24 21:30:18 +00:00
Jim Meyering
c2a8340977 remove trailing blanks 2004-11-23 21:39:21 +00:00
Paul Eggert
8e9bd23013 Sync from gnulib. 2004-11-23 21:03:45 +00:00
Paul Eggert
398491f381 Minor performance improvements and cleanups for "touch". 2004-11-23 20:44:13 +00:00
Paul Eggert
557bd55cd2 (posix_date): Remove; not needed as a static var.
All uses rewritten.
(touch): Use new futimens function to operate more efficiently
in some cases.  Don't stat/fstat existing file when
(!amtime_now && change_times == (CH_ATIME | CH_MTIME)); the
old time stamps aren't needed in that case.
(main): change_times is int, not bool.  Simplify test for
change_times.
2004-11-23 20:43:47 +00:00
Paul Eggert
93da1db297 (gl_UTIMENS): Check for futimes function. 2004-11-23 20:43:17 +00:00
Paul Eggert
e595badf4e utimens upgrade to support futimes. 2004-11-23 20:42:54 +00:00
Paul Eggert
e8c19bde9f * utimens.m4 (gl_UTIMENS): Check for futimes function. 2004-11-23 20:42:31 +00:00
Paul Eggert
22ea135643 (__attribute__, ATTRIBUTE_UNUSED): New macros.
(futimens): New function, which uses futimes if available.
(futimens, utimens): Support timespec==NULL, with same semantics
as utime and utimens.
2004-11-23 20:42:13 +00:00
Paul Eggert
8dacb336d6 (futimens): New decl. 2004-11-23 20:41:51 +00:00
Jim Meyering
d3c44694c2 add a comment 2004-11-23 11:02:03 +00:00
Jim Meyering
b90f1a4404 tweak comment 2004-11-23 09:44:17 +00:00
Jim Meyering
5035b7181d *** empty log message *** 2004-11-23 09:15:08 +00:00
Jim Meyering
7080ab9623 Revert last change, since it seems EBADF is always defined. 2004-11-23 09:15:05 +00:00
Jim Meyering
622e156501 *** empty log message *** 2004-11-22 14:24:11 +00:00
Jim Meyering
b2a9a7f986 (EBADF): Fail with `#error ...' if it's not defined,
asking the user to report the problem.
2004-11-22 14:24:04 +00:00
Jim Meyering
9f0568e81e *** empty log message *** 2004-11-21 21:02:49 +00:00
Paul Eggert
e62df8f031 * src/install.c (usage): Avoid usage that runs afoul of Docbook. 2004-11-21 07:29:50 +00:00
Paul Eggert
c0b70ba29b (usage): Avoid usage that runs afoul of Docbook
translation.  Problem reported by Eric S. Raymond.
2004-11-21 07:29:31 +00:00
Paul Eggert
270b5a9cb1 Restore dd's noctty flag, reverting the change of 2004-04-08. 2004-11-20 08:57:21 +00:00
Paul Eggert
e5526bf63c (flags, usage, main): Add noctty flag to dd. 2004-11-20 08:56:44 +00:00
Paul Eggert
2852d59d22 (dd invocation): Add noctty flag to dd. 2004-11-20 08:56:05 +00:00
Paul Eggert
8adf2bc638 Add noctty flag to dd. 2004-11-20 08:55:22 +00:00
Jim Meyering
79fc6d94b6 (usage): Clarified description of --no-group (-G),
--human-readable (-h), --inode (-i), --size (-s), --time,
and --time-style.
2004-11-19 21:41:00 +00:00
Jim Meyering
5e0dcea162 *** empty log message *** 2004-11-19 21:40:51 +00:00
Jim Meyering
273e13d35b (find_dir_entry): Update comment to match reality. 2004-11-19 21:36:00 +00:00
Jim Meyering
d12ad92257 *** empty log message *** 2004-11-19 19:30:12 +00:00
Jim Meyering
148f896119 (usage): Clarify description of --author.
Tweak indentation so that help2man creates better nroff.
2004-11-19 19:29:55 +00:00
Jim Meyering
caf6c3459c *** empty log message *** 2004-11-19 18:57:05 +00:00
Jim Meyering
d766e90d4c (check_file): Don't check stdout for errors here. 2004-11-19 18:56:16 +00:00
Jim Meyering
ab955bd3f6 *** empty log message *** 2004-11-18 14:47:01 +00:00
Jim Meyering
e26c30aa38 (robust_getcwd): Correct the comment: this function constructs the
directory name.  The caller prints it.
2004-11-18 14:46:47 +00:00
Paul Eggert
90988bac82 Sync from gnulib. 2004-11-17 23:14:24 +00:00
Paul Eggert
0884570c4e Sync from gnulib. 2004-11-17 23:09:12 +00:00
Paul Eggert
a18a5093f8 Regenerate. 2004-11-17 03:50:34 +00:00
Paul Eggert
787605e540 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo. 2004-11-17 03:46:55 +00:00
Paul Eggert
d7209a2f7c * xgetcwd.c: Work around Solaris 9 bug. 2004-11-17 03:42:45 +00:00
Paul Eggert
2b88597a04 Include <limits.h>, for PATH_MAX.
(xgetcwd): Set errno correctly when failing.
Work around Solaris 9 bug: getcwd sets errno==ERANGE even though
the failure is actually due to a PATH_MAX problem.
2004-11-17 03:41:16 +00:00
Paul Eggert
6ad1c2cfd7 stat portability fix for Solaris 9. 2004-11-17 03:12:56 +00:00