Age | Commit message (Collapse) | Author | Files |
|
|
|
* src/extern.h (last_header_start): Change type to off_t.
* src/global.c: Likewise.
* src/util.c (prepare_append): Use off_t for file offsets.
|
|
Thus option is valid in copy-out mode. It instructs cpio to always
assume link count for directories to be 2. It is implied by
--reproducible.
* NEWS: Document changes.
* doc/cpio.1: Likewise.
* doc/cpio.texi: Likewise.
* src/copyout.c (process_copy_out): If ignore_dirnlink_option is set,
assume c_nlink is 2.
* src/extern.h (ignore_dirnlink_option): New extern.
* src/global.c (ignore_dirnlink_option): New global.
* src/main.c: New option --ignore-dirnlink.
The option --reproducible implies --ignore-dirnlink.
|
|
|
|
|
|
|
|
|
|
* src/global.c: Remove superfluous declaration of program_name
|
|
|
|
|
|
* src/util.c (inode_val): New member trans_inode
(find_inode_val): New function.
(find_inode_file): Rewrite using the above.
(add_inode): Initialize the trans_inode member
depending on the value of renumber_inodes_option.
(get_inode_and_dev): New function.
(stat_to_cpio): Use get_inode_and_dev.
(arf_stores_inode_p): New function.
* src/extern.h (renumber_inodes_option)
(ignore_devno_option): New externs.
* src/global.c (renumber_inodes_option)
(ignore_devno_option): New variables.
* src/main.c: Add new options.
* NEWS: Document changes.
* doc/cpio.1: Document new options.
* doc/cpio.texi: Likewise.
|
|
|
|
* src/cpiohdr.h (cpio_file_stat) <c_chksum>: Change type to
uint32_t.
* src/extern.h (crc): Change type to uint32_t.
* src/global.c: Likewise.
* src/copyout.c (read_for_checksum): Return uint32_t.
* src/copyin.c: Fix printf formats.
|
|
* src/copyin.c (process_copy_in): Call change_dir.
* src/copyout.c (process_copy_out): Likewise.
* src/copypass.c (process_copy_pass): Likewise.
* src/extern.h (change_directory_option): New extern.
(change_dir): New proto.
* src/global.c (change_directory_option): New global.
* src/main.c (options): New option --directory.
(parse_opt): Handle the --directory option.
* src/util.c (change_dir): New proto.
* doc/cpio.texi: Document the --directory option.
|
|
|
|
Minor fixes in cpio.
* Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): New variable.
Ensure that distcheck builds mt.
* bootstrap: Patch Makefile.in to honor AM_DISTCHECK_CONFIGURE_FLAGS.
* gnulib.modules: add argp-version-etc and progname.
* src/Makefile.am: Remove useless dependency.
* src/copyin.c (long_format): Fix printf arguments.
* src/copyout.c (read_for_checksum): Return unsigned long.
(process_copy_out): Remove unused variable.
* src/extern.h (crc): Change type to unsigned long.
(program_name): Remove.
* src/global.c: Likewise.
* src/main.c: Include argp-version-etc.h and progname.h
(argp_program_version): Remove.
(program_authors): New global.
(options): Remove the 'Informative options' group. These are
handled automatically by argp.
(parse_opt): Likewise.
(licence): Remove. This info is output by --version.
(process_args): Remove useless test.
(main): Use set_program_name and argp_version_setup.
* src/mt.c: Remove superfluous includes.
Include argp-version-etc.h and progname.h
Use argp to parse arguments.
Supply the fatal_exit function.
* tests/version.at: Update for the new --version output.
* THANKS: Add Peter Breitenlohner.
* AUTHORS: Update Sergey's email.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|