aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-11-14 20:16:29 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-11-14 20:16:29 +0200
commitdf55fb19be545e22d023950263ed5d0756edf81e (patch)
treedb1133594ca6db2344eb337cf123369b04211f30 /configure.ac
parentb1c85839bf1381f749dd45bf6a5a38924e3315a0 (diff)
downloadcpio-df55fb19be545e22d023950263ed5d0756edf81e.tar.gz
cpio-df55fb19be545e22d023950263ed5d0756edf81e.tar.bz2
Fix handling of device numbers on copy out.
Device minor and major numbers are meaningful only for devices. Don't attempt to store them for other files. Instead fill the corresponding fields with zeros. * src/util.c (stat_to_cpio): Initialize c_rdev_maj and c_rdev_min from struct stat only if the file is a device, otherwise set them to zero.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.