wok-stable annotate busybox/stuff/busybox-1.11.0-cpio-mtime.u @ rev 3032
alsa-utils: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 12 10:36:46 2009 +0200 (2009-05-12) |
parents | |
children |
rev | line source |
---|---|
pascal@952 | 1 --- busybox-1.11.0/archival/cpio.c |
pascal@952 | 2 +++ busybox-1.11.0/archival/cpio.c |
pascal@952 | 3 @@ -204,7 +204,7 @@ |
pascal@952 | 4 archive_handle = init_handle(); |
pascal@952 | 5 archive_handle->src_fd = STDIN_FILENO; |
pascal@952 | 6 archive_handle->seek = seek_by_read; |
pascal@952 | 7 - archive_handle->flags = ARCHIVE_EXTRACT_NEWER | ARCHIVE_PRESERVE_DATE; |
pascal@952 | 8 + archive_handle->flags = ARCHIVE_EXTRACT_NEWER; |
pascal@952 | 9 |
pascal@952 | 10 #if ENABLE_FEATURE_CPIO_O |
pascal@952 | 11 opt = getopt32(argv, "ituvF:dmoH:", &cpio_filename, &cpio_fmt); |
pascal@952 | 12 @@ -258,6 +258,9 @@ |
pascal@952 | 13 if (opt & CPIO_OPT_CREATE_LEADING_DIR) { |
pascal@952 | 14 archive_handle->flags |= ARCHIVE_CREATE_LEADING_DIRS; |
pascal@952 | 15 } |
pascal@952 | 16 + if (opt & CPIO_OPT_PRESERVE_MTIME) { |
pascal@952 | 17 + archive_handle->flags |= ARCHIVE_PRESERVE_DATE; |
pascal@952 | 18 + } |
pascal@952 | 19 |
pascal@952 | 20 while (*argv) { |
pascal@952 | 21 archive_handle->filter = filter_accept_list; |