Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-10-18 | split a long line into two | Jim 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-18 | Plug 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' is | Jim 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-14 | Now, -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 comments | Jim 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-13 | add tests for some of the recent changes to cp | Jim 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 | |
2001-10-13 | Fix typo: s/Sh/SH/ before OPTIONS. | Jim Meyering | |
2001-10-12 | don't use diff | Jim Meyering | |
2001-10-12 | *** empty log message *** | Jim Meyering | |
2001-10-12 | (TESTS): Add infloop. | Jim Meyering | |
(XFAIL_TESTS): Mark it as a test that we expect to fail (temporarily). | |||
2001-10-12 | *** empty log message *** | Jim Meyering | |
2001-10-12 | (main): Tell what's wrong with `mknod c zero 1 5' rather | Jim Meyering | |
than saying just `Try `./mknod --help' for more information.'. | |||
2001-10-11 | *** empty log message *** | Jim Meyering | |
2001-10-11 | (argmatch_invalid): Use quotearg_n_style (0, ... | Jim Meyering | |
and quote_n (1, ... to avoid clobbering a buffer. | |||
2001-10-07 | *** empty log message *** | Jim Meyering | |
2001-10-07 | *** empty log message *** | Jim Meyering | |
2001-10-07 | *** empty log message *** | Jim Meyering | |
2001-10-07 | (remember_copied): Make a local copy of the file name. | Jim Meyering | |
(src_to_dest_free): New function (to free the above). (hash_init): Register src_to_dest_free. | |||
2001-10-07 | (copy_dir): Now that remember_copied copies the | Jim Meyering | |
file name, free the temporary `dst_path' allocated here. | |||
2001-10-07 | (do_copy): Don't clear the hash table after processing | Jim Meyering | |
each command line argument. | |||
2001-10-07 | whoops. use cp's -a option | Jim Meyering | |
2001-10-07 | (TESTS): Add link-preserve. | Jim Meyering | |
2001-10-07 | *** empty log message *** | Jim Meyering | |
2001-10-06 | *** empty log message *** | Jim Meyering | |
2001-10-06 | Convert du.c to use the functions in lib/hash.c, not private, | Jim Meyering | |
slightly-modified copies of those that used to be in cp-hash.c. (struct entry) [coll_link]: Remove member. (struct htab): Remove. (hash_reset, hash_init, hash_insert2, hash_insert): Remove functions. Include hash.h and same.h. (htab): Change type of global to `struct hash'; (entry_hash, entry_compare, hash_ins): New functions. (count_entry): Use hash_ins instead of hash_insert. | |||
2001-10-06 | (hash_init): Die if hash_initialize fails. | Jim Meyering | |