summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-10-21(_): Honor the setting of ENABLE_NLS. Otherwise,Jim Meyering
this code would end up calling gettext even in packages built with --disable-nls.
2001-10-21*** empty log message ***Jim Meyering
2001-10-21(_): Honor the setting of ENABLE_NLS. Otherwise,Jim Meyering
this code would end up calling gettext even in packages built with --disable-nls.
2001-10-21*** empty log message ***Jim Meyering
2001-10-21(strerror_r): Do not declare unless !_LIBC.Jim Meyering
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*** empty log message ***Jim Meyering
2001-10-21(jm_PREREQ_ERROR):Jim Meyering
Do not invoke AC_CHECK_FUNCS with strerror_r, as AC_FUNC_STRERROR_R does that.
2001-10-21Add copyright notice, as nontrivial m4 filesJim Meyering
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-20*** empty log message ***Jim Meyering
2001-10-20*** empty log message ***Jim Meyering
2001-10-20(usage): Improve the description of --dereference (-L).Jim Meyering
2001-10-20Declare some local variables to be `const', where appropriate.Jim Meyering
2001-10-20*** empty log message ***Jim Meyering
2001-10-20(usage): Clarify description of --directory (-d).Jim Meyering
Based on a patch from Michael Stone.
2001-10-20*** empty log message ***Jim Meyering
2001-10-20tweakJim Meyering
2001-10-20Describe sticky files and directories.Jim Meyering
2001-10-20*** empty log message ***Jim Meyering
2001-10-20Don't use a umask that removes owner read/write.Jim Meyering
Use a stricter test for permissions.
2001-10-20Don't use a umask that removes ownerJim Meyering
read/write. That induces spurious failures in a probably-old version of purify.
2001-10-18split a long line into twoJim Meyering
2001-10-18*** empty log message ***Jim Meyering
2001-10-18(movefile): Now that remember_copied xstrdup's the file name, free `new_dest'.Jim Meyering
2001-10-18*** empty log message ***Jim Meyering
2001-10-18Plug a leak.Jim Meyering
(remember_copied): Use src_to_dest_free to free the entry we couldn't insert.
2001-10-18(dest_info_free): New function.Jim Meyering
(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-17*** empty log message ***Jim Meyering
2001-10-17(cp invocation): `cp --no-dereference' isJim Meyering
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*** empty log message ***Jim Meyering
2001-10-17*** empty log message ***Jim Meyering
2001-10-14*** empty log message ***Jim Meyering
2001-10-14Now, -P is the same as --no-dereference, per POSIX.Jim Meyering
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-13.Jim Meyering
2001-10-13*** empty log message ***Jim Meyering
2001-10-13(copy_internal): Tighten up and add commentsJim Meyering
describing the test for when to record (via remember_copied) a <dst_path, source_dev, source_ino> triple. Relax the test that guards the hard-linked-dir check and the hard-link-preserving code.
2001-10-13add tests for some of the recent changes to cpJim Meyering
2001-10-13*** empty log message ***Jim Meyering
2001-10-13(enum) [NO_DEREFERENCE_OPTION]: New member.Jim Meyering
(enum) [NO_PRESERVE_ATTRIBUTES_OPTION]: New member. (enum) [PRESERVE_ATTRIBUTES_OPTION]: New member. (long_opts): Separate -d and --no-dereference options. Add `no-preserve'. Separate -p and --preserve options. The long-named --preserve now accepts optional arguments; -p doesn't. (usage): Describe additions and changes. (cp_option_init): Initialize new member, preserve_links, to 0. (decode_preserve_arg): New function. (main) [case 'a']: Set preserve_links to 1. [case 'd']: Set preserve_links to 1. Add `case' for long-named --no-dereference. Handle long-named --no-preserve and --preserve.
2001-10-13(cp_option_init): Initialize new member to 1.Jim Meyering
2001-10-13(cp_option_init): Initialize new member, preserve_links.Jim Meyering
2001-10-13(enum Dereference_symlink): Add comments.Jim Meyering
(struct cp_options) [preserve_links]: New member.
2001-10-13*** empty log message ***Jim Meyering
2001-10-13(cp_option_init): Don't set it.Jim Meyering
2001-10-13(struct cp_options) [failed_unlink_is_fatal]: Remove unused member.Jim Meyering
2001-10-13*** empty log message ***Jim Meyering
2001-10-13* src/copy.h (struct cp_options): Rename members:Jim Meyering
s/preserve_owner_and_group/preserve_ownership/, and s/preserve_chmod_bits/preserve_mode/. * src/copy.c, src/cp.c, src/install.c, src/mv.c: Update all uses.
2001-10-13* src/copy.h (struct cp_options): Rename members:Jim Meyering
s/preserve_owner_and_group/preserve_ownership/, and s/preserve_chmod_bits/preserve_mode/. * src/copy.c, src/cp.c, src/install.c, src/mv.c: Update all uses.
2001-10-13(struct cp_options): Rename members:Jim Meyering
s/preserve_owner_and_group/preserve_ownership/, and s/preserve_chmod_bits/preserve_mode/.
2001-10-13*** empty log message ***Jim Meyering
2001-10-13*** empty log message ***Jim Meyering