Paul Eggert
59985f42e6
(gl_C99_STRTOLD): Use a link test rather than a
...
compile test, for Tru64 4.0D.
2006-05-28 09:16:57 +00:00
Jim Meyering
9602351980
*** empty log message ***
2006-05-28 09:03:12 +00:00
Jim Meyering
fe7323d6cf
*** empty log message ***
2006-05-28 09:02:42 +00:00
Jim Meyering
206844c0c4
*** empty log message ***
2006-05-27 15:51:23 +00:00
Jim Meyering
837d12dd60
Use `AM_MAKEINFOFLAGS' rather than
...
overwriting `MAKEINFO', so that `missing' can do its job.
2006-05-27 15:51:19 +00:00
Jim Meyering
17fc4cd8ab
*** empty log message ***
2006-05-27 15:13:35 +00:00
Jim Meyering
3dc0c35710
*** empty log message ***
2006-05-27 15:12:05 +00:00
Jim Meyering
df91a82135
chgrp now supports --preserve-root, --no-preserve-root
2006-05-27 15:01:36 +00:00
Jim Meyering
6f12bb8b21
*** empty log message ***
2006-05-27 15:00:22 +00:00
Jim Meyering
d3ff52d9e2
*** empty log message ***
2006-05-27 14:44:44 +00:00
Jim Meyering
19c28b06a0
Support new options: --preserve-root and --no-preserve-root.
...
Somehow this program was skipped when those options were added to chown,
chmod, and rm. Reported by vaqflabuopac@spammotel.com in
<http://bugs.debian.org/365656 >.
2006-05-27 14:44:41 +00:00
Jim Meyering
83e40cc849
*** empty log message ***
2006-05-27 13:43:12 +00:00
Jim Meyering
35e7e45ccd
(check-texinfo): Use literal `{' only in brackets, i.e., [{] or [}],
...
to avoid triggering an error from Solaris 2.6's grep.
2006-05-27 13:43:07 +00:00
Jim Meyering
ff2009280e
*** empty log message ***
2006-05-27 13:32:10 +00:00
Jim Meyering
b854d91281
Use $(EGREP)' instead of grep -E'.
2006-05-27 13:32:04 +00:00
Paul Eggert
e9eb2ad579
(small_open, large_open): New macros.
...
(__open, __open64) [!_LIBC]: Remove.
(__gen_tempname): Use small_open and large_open instead of __open
and __open64. This fixes a portability bug on HP-UX 11.11i
reported by Simon Wing-Tang in
<http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00114.html >.
2006-05-25 21:57:22 +00:00
Paul Eggert
32cea0d8ae
Remove mention of --seed.
2006-05-25 16:48:05 +00:00
Paul Eggert
5002b0ba79
(usage): Remove mention of --seed.
2006-05-25 16:47:43 +00:00
Jim Meyering
066e22e537
*** empty log message ***
2006-05-24 07:35:32 +00:00
Jim Meyering
850b999dbb
Require autoconf-2.59d, for its fixed version
...
of AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2006-05-24 07:35:28 +00:00
Paul Eggert
8ebe82ae29
Fix misspelling.
2006-05-23 07:48:31 +00:00
Paul Eggert
bd52082675
Note problem with string.h.
2006-05-23 07:48:12 +00:00
Paul Eggert
41f08b2239
filemode.c: Don't include <string.h>.
2006-05-23 07:47:51 +00:00
Paul Eggert
82008e43bd
Don't include <string.h>; this include was
...
inadvertantly put into the previous patch.
2006-05-23 07:47:32 +00:00
Paul Eggert
c512471974
* filemode.c (setst): Remove.
...
(strmode): Rewrite to avoid setst. This makes the code shorter,
(arguably) clearer, and the generated code is a bit smaller on my
Debian GNU/Linux stable x86 host.
2006-05-22 20:11:45 +00:00
Paul Eggert
900b6598d1
Document the internals better. Most of this change
...
was written by Bruno Haible.
2006-05-22 18:01:48 +00:00
Jim Meyering
d523a83be5
*** empty log message ***
2006-05-21 22:04:34 +00:00
Jim Meyering
3e3aff9926
*** empty log message ***
2006-05-20 22:18:20 +00:00
Jim Meyering
8fb9de41d5
(fts_open): Fail with EINVAL if a caller violates this rule:
...
Either FTS_LOGICAL or FTS_PHYSICAL must be provided to the
fts_open() function.
2006-05-20 22:18:16 +00:00
Jim Meyering
6776bb7d30
*** empty log message ***
2006-05-20 19:00:46 +00:00
Jim Meyering
ae5d9079f9
(main): Use FTS_PHYSICAL here, too.
2006-05-20 17:27:07 +00:00
Jim Meyering
20c78772b3
*** empty log message ***
2006-05-20 07:20:03 +00:00
Jim Meyering
c58e7ee1cc
(main): Rename local, s/symlink_deref_bit/symlink_deref_bits/
...
and arrange for -D to set fts' FTS_PHYSICAL bit as well as
FTS_COMFOLLOW. Spotted by Justin Pryzby.
2006-05-20 07:19:53 +00:00
Jim Meyering
c11a92383d
*** empty log message ***
2006-05-19 22:30:55 +00:00
Jim Meyering
ccea9e8650
Merge changes from automake, retaining the ""--to...
...
kludge to placate overzealous `make distcheck' check.
2006-05-19 22:30:27 +00:00
Paul Eggert
86873e5082
Sync nanosleep from gnulib.
2006-05-19 18:03:25 +00:00
Jim Meyering
7e9a2a1429
*** empty log message ***
2006-05-19 12:36:36 +00:00
Jim Meyering
4e5f6a5b5e
(main): Don't let -D, -L, or -P turn off the internal
...
FTS_TIGHT_CYCLE_CHECK directory traversal option.
Reported by Justin Pryzby in http://bugs.debian.org/367691
2006-05-19 12:36:18 +00:00
Jim Meyering
197f7d766e
mention cp -p vs. no-/proc fix
2006-05-16 17:27:04 +00:00
Jim Meyering
e06a5a5cc7
(usage): Correct description of -a: s/-dpR/-dpPR/. From Tomas Pospisek.
2006-05-15 20:19:02 +00:00
Jim Meyering
58f42eb607
*** empty log message ***
2006-05-15 20:18:49 +00:00
Jim Meyering
db19f3df8b
*** empty log message ***
2006-05-15 13:28:28 +00:00
Jim Meyering
212ffe61af
(xfts_open): Always use FTS_CWDFD.
2006-05-15 13:28:24 +00:00
Jim Meyering
06918c9589
*** empty log message ***
2006-05-15 10:59:15 +00:00
Jim Meyering
63deb75831
Avoid the expense of an fstat, when possible.
...
(O_NOFOLLOW, STREQ): Define.
(diropen_fd): Remove function. Merge it into sole caller...
(diropen): ...here. Use O_NOFOLLOW when appropriate.
(fts_safe_changedir): Call fstat for dev/inode check, only if the
previous open/openat call may have opened the wrong directory.
2006-05-15 10:59:10 +00:00
Jim Meyering
ad17714291
*** empty log message ***
2006-05-15 10:00:30 +00:00
Jim Meyering
7729ee5e68
Restore the parts of fts that were removed on 2006-01-17, so that
...
it's easier for legacy applications designed for the version
of fts in glibc or BSD to convert to this more robust version.
Add a new mode, FTS_CWDFD, by which to enable the improved
(openat- based -- aka no-chdir) semantics.
* fts_.h (FTS_CWDFD): Define. Callers must use this fts_open
option to enable the more robust behavior.
(FTS_OPTIONMASK): Widen accordingly.
* fts.c: Restore removed code, reverting the default behavior.
2006-05-15 10:00:16 +00:00
Paul Eggert
48138763f0
(AC_HEADER_STDBOOL): Fix overly-picky
...
test for C99 conformance; (bool) 0.5 is an integer constant
expression, but (bool) -0.5 is not. Problem reported by Fedor
Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202 >.
2006-05-15 03:17:08 +00:00
Jim Meyering
3c51d8f36f
*** empty log message ***
2006-05-13 08:41:37 +00:00
Jim Meyering
4e4cb620fb
*** empty log message ***
2006-05-13 08:41:06 +00:00