wok view busybox/stuff/busybox-1.10.1-cpio-mtime.u @ rev 2129
get-wifi-firmware: b43-firmware version 4.150.10.5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 01 19:02:11 2009 +0100 (2009-02-01) |
parents | |
children |
line source
1 --- busybox-1.10.0/archival/cpio.c
2 +++ busybox-1.10.0/archival/cpio.c
3 @@ -167,7 +167,7 @@
4 archive_handle = init_handle();
5 archive_handle->src_fd = STDIN_FILENO;
6 archive_handle->seek = seek_by_read;
7 - archive_handle->flags = ARCHIVE_EXTRACT_NEWER | ARCHIVE_PRESERVE_DATE;
8 + archive_handle->flags = ARCHIVE_EXTRACT_NEWER;
10 #if ENABLE_FEATURE_CPIO_O
11 opt = getopt32(argv, "ituvF:dmoH:", &cpio_filename,&cpio_fmt);
12 @@ -220,6 +220,9 @@
13 if (opt & CPIO_OPT_CREATE_LEADING_DIR) {
14 archive_handle->flags |= ARCHIVE_CREATE_LEADING_DIRS;
15 }
16 + if (opt & CPIO_OPT_PRESERVE_MTIME) {
17 + archive_handle->flags |= ARCHIVE_PRESERVE_DATE;
18 + }
20 while (optind < argc) {
21 archive_handle->filter = filter_accept_list;