Age | Commit message (Collapse) | Author | Files |
|
|
|
The IDs supplied with the -R option are treated as numeric (without
looking them up in the system database), when prefixed with +. This
allows to force using numeric value if a user (group) with a numeric
name exists in the database.
Reported by Joshua Briefman <sirgatez@gmail.com>.
* src/userspec.c (parse_user_spec): Use + as an indicator of
a numeric UID/GID.
* doc/cpio.1: Document changes.
* doc/cpio.texi: Likewise.
|
|
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.
|
|
* NEWS, THANKS: Update
|
|
* THANKS: Update
* doc/cpio.texi: Fix a typo.
* src/extern.h (warn_if_file_changed): Fix type of the 2nd
argument.
* src/tar.c (write_out_tar_header): Stylistic change.
* src/util.c (copy_files_disk_to_disk): Fix types of automatic
variables.
(warn_if_file_changed): Fix type of the 2nd argument.
Patches supplied by Ladislav Michnovic.
|
|
* NEWS, THANKS: Update.
* bootstrap: Create lib/system.c, m4/sysdep.m4, update lib/system.h.
* mingw.m4, sysdep.m4: New files.
* configure.ac: Raise version number to 2.9.90.
Call CPIO_SYSDEP. Remove the call to gl_USE_SYSTEM_EXTENSIONS.
(AC_CHECK_HEADERS): Add process.h sys/ioctl.h
* lib/Makefile.am (libcpio_a_SOURCES): Add system.c
* src/idcache.c: Include system.h
* src/userspec.c: Remove alloca stuff (already handled by
gnulib). Include alloca.h.
Remove useless declarations of get.* functions.
* src/util.c: Include sys/ioctl.h conditionally.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|