wok annotate busybox/stuff/busybox-1.10.1-cpio-mtime.u @ rev 727

locale: misc fix and rm geany mo by default (dev know English...)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 23:25:33 2008 +0200 (2008-05-02)
parents
children
rev   line source
pascal@644 1 --- busybox-1.10.0/archival/cpio.c
pascal@644 2 +++ busybox-1.10.0/archival/cpio.c
pascal@644 3 @@ -167,7 +167,7 @@
pascal@644 4 archive_handle = init_handle();
pascal@644 5 archive_handle->src_fd = STDIN_FILENO;
pascal@644 6 archive_handle->seek = seek_by_read;
pascal@644 7 - archive_handle->flags = ARCHIVE_EXTRACT_NEWER | ARCHIVE_PRESERVE_DATE;
pascal@644 8 + archive_handle->flags = ARCHIVE_EXTRACT_NEWER;
pascal@644 9
pascal@644 10 #if ENABLE_FEATURE_CPIO_O
pascal@644 11 opt = getopt32(argv, "ituvF:dmoH:", &cpio_filename,&cpio_fmt);
pascal@644 12 @@ -220,6 +220,9 @@
pascal@644 13 if (opt & CPIO_OPT_CREATE_LEADING_DIR) {
pascal@644 14 archive_handle->flags |= ARCHIVE_CREATE_LEADING_DIRS;
pascal@644 15 }
pascal@644 16 + if (opt & CPIO_OPT_PRESERVE_MTIME) {
pascal@644 17 + archive_handle->flags |= ARCHIVE_PRESERVE_DATE;
pascal@644 18 + }
pascal@644 19
pascal@644 20 while (optind < argc) {
pascal@644 21 archive_handle->filter = filter_accept_list;