Jim Meyering
e28263f673
(alloca): Define to __builtin_alloca if __GNUC__,
...
to avoid a warning if -Wall.
2001-10-22 08:01:22 +00:00
Jim Meyering
b96c3e6a5d
*** empty log message ***
2001-10-22 06:56:44 +00:00
Jim Meyering
ddd7e2a0b8
(uintptr_t): Remove macro and decl; it's config.h's job.
2001-10-22 06:56:31 +00:00
Jim Meyering
b7bf622acb
.
2001-10-21 21:46:09 +00:00
Jim Meyering
48cab72bd1
(isaac_seed_machdep): Handle SIGSEGV, too. Ick.
2001-10-21 19:52:12 +00:00
Jim Meyering
e735c8f6e0
yikes. put the preserve_metadata assignment *after* declarations.
...
gcc-3.0 didn't complain.
2001-10-21 18:50:16 +00:00
Jim Meyering
7436273688
.
2001-10-21 17:06:36 +00:00
Jim Meyering
79e188a2ec
*** empty log message ***
2001-10-21 17:03:50 +00:00
Jim Meyering
17232a74f2
(TESTS): Remove i-3. It's not portable.
2001-10-21 17:03:31 +00:00
Jim Meyering
7af1f21709
*** empty log message ***
2001-10-21 15:21:34 +00:00
Jim Meyering
b9bda3c30d
Include xreadlink.h.
...
(copy_internal): Don't use PATH_MAX.
Rewrite the symlink-copying code to use xreadlink.
2001-10-21 15:21:28 +00:00
Jim Meyering
bd0070c191
whoops! fix comment on first line :-)
2001-10-21 15:12:39 +00:00
Jim Meyering
a43c0607ac
*** empty log message ***
2001-10-21 13:39:20 +00:00
Jim Meyering
2a1279c26d
(_): Honor the setting of ENABLE_NLS. Otherwise,
...
this code would end up calling gettext even in packages built
with --disable-nls.
2001-10-21 13:39:12 +00:00
Jim Meyering
9ff208503c
*** empty log message ***
2001-10-21 12:33:26 +00:00
Jim Meyering
c73398fa51
(cp invocation): Describe --reply=...
2001-10-21 12:33:21 +00:00
Jim Meyering
25839c6c48
*** empty log message ***
2001-10-21 10:55:36 +00:00
Jim Meyering
9d8ec0121c
(_): Honor the setting of ENABLE_NLS. Otherwise,
...
this code would end up calling gettext even in packages built
with --disable-nls.
2001-10-21 10:55:29 +00:00
Jim Meyering
9c0e765d5a
*** empty log message ***
2001-10-21 09:01:31 +00:00
Jim Meyering
8f67d26ec0
(_): Honor the setting of ENABLE_NLS. Otherwise,
...
this code would end up calling gettext even in packages built
with --disable-nls.
2001-10-21 09:01:24 +00:00
Jim Meyering
b96446bf59
*** empty log message ***
2001-10-21 07:59:09 +00:00
Jim Meyering
7d6185f0f5
(strerror_r): Do not declare unless !_LIBC.
...
Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
Use strerror_r that is only a macro, even if it is not a function.
(strerror): Check for HAVE_DECL_STRERROR before declaring.
(private_strerror): Use prototypes, not old-style function definition.
(print_errno_message): New function.
Support the POSIX 'int'-flavored strerror_r, as well as the traditional
char*-flavored one.
(error_tail, error, error_at_line): Use it.
2001-10-21 07:59:04 +00:00
Jim Meyering
ad2abcb447
*** empty log message ***
2001-10-21 07:49:37 +00:00
Jim Meyering
df8f50e9bc
(jm_PREREQ_ERROR):
...
Do not invoke AC_CHECK_FUNCS with strerror_r, as
AC_FUNC_STRERROR_R does that.
2001-10-21 07:49:27 +00:00
Jim Meyering
b5501a398e
Add copyright notice, as nontrivial m4 files
...
are supposed to have them these days.
(AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
Merge changes from latest Autoconf CVS.
Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
POSIX decided to standardize on the int flavor of strerror_r.
2001-10-21 07:49:13 +00:00
Jim Meyering
baef38bda1
*** empty log message ***
2001-10-20 19:13:41 +00:00
Jim Meyering
dc421733a1
*** empty log message ***
2001-10-20 14:59:07 +00:00
Jim Meyering
968956b998
(usage): Improve the description of --dereference (-L).
2001-10-20 14:58:59 +00:00
Jim Meyering
8458d3c376
Declare some local variables to be `const', where appropriate.
2001-10-20 14:57:39 +00:00
Jim Meyering
7cdce2075e
*** empty log message ***
2001-10-20 14:54:07 +00:00
Jim Meyering
891d094b56
(usage): Clarify description of --directory (-d).
...
Based on a patch from Michael Stone.
2001-10-20 14:53:45 +00:00
Jim Meyering
c8445f75e0
*** empty log message ***
2001-10-20 14:41:31 +00:00
Jim Meyering
8afe15dd9b
tweak
2001-10-20 14:41:23 +00:00
Jim Meyering
5cfcfdc5c7
Describe sticky files and directories.
2001-10-20 14:40:12 +00:00
Jim Meyering
9a40ef44fb
*** empty log message ***
2001-10-20 14:01:33 +00:00
Jim Meyering
54a8b24b6e
Don't use a umask that removes owner read/write.
...
Use a stricter test for permissions.
2001-10-20 14:01:23 +00:00
Jim Meyering
f2d0d9bda9
Don't use a umask that removes owner
...
read/write. That induces spurious failures in a probably-old
version of purify.
2001-10-20 13:59:57 +00:00
Jim Meyering
30b904e1f3
split a long line into two
2001-10-18 20:29:57 +00:00
Jim Meyering
8a385c1588
*** empty log message ***
2001-10-18 08:14:45 +00:00
Jim Meyering
493d1adca1
(movefile): Now that remember_copied xstrdup's the file name, free `new_dest'.
2001-10-18 08:13:28 +00:00
Jim Meyering
6a03579aa4
*** empty log message ***
2001-10-18 07:45:00 +00:00
Jim Meyering
b564762ef5
Plug a leak.
...
(remember_copied): Use src_to_dest_free to free the entry we couldn't insert.
2001-10-18 07:44:41 +00:00
Jim Meyering
a7870f9997
(dest_info_free): New function.
...
(dest_info_init): Make the hash table code use it.
(record_dest): Store each DEST in malloc'd memory. Hence the above.
Use dest_info_free to free the `ent' we couldn't insert.
2001-10-18 07:42:11 +00:00
Jim Meyering
37af708d04
*** empty log message ***
2001-10-17 10:24:13 +00:00
Jim Meyering
279d3ae95e
(cp invocation): `cp --no-dereference' is
...
no longer equivalent to `cp -d'.
`cp -d' is equivalent to `--no-dereference --preserve=links'.
cp's -P option means --no-dereference, not --parents.
Describe new optional argument to --preserve.
Describe new option: --no-preserve=ATTRIBUTE_LIST.
2001-10-17 10:24:07 +00:00
Jim Meyering
321db91227
*** empty log message ***
2001-10-17 10:14:28 +00:00
Jim Meyering
99a1b10d2e
*** empty log message ***
2001-10-17 10:11:52 +00:00
Jim Meyering
39f15c676a
*** empty log message ***
2001-10-14 20:55:02 +00:00
Jim Meyering
af51884dac
Now, -P is the same as --no-dereference, per POSIX.
...
Use --parents to get the old meaning.
(enum) [NO_DEREFERENCE_OPTION]: Remove member.
(long_opts): Associate --no-dereference with `-P'.
(usage): Update description of -P.
(main): Remove local, used_P_option, and code to warn
that the meaning of -P would be changing.
2001-10-14 20:54:44 +00:00
Jim Meyering
e3eb136b93
.
2001-10-13 21:42:16 +00:00