Diff of /trunk/mkinitrd-magellan/busybox/archival/cpio.c
Parent Directory | Revision Log | Patch
revision 1122 by niro, Sun May 30 11:40:11 2010 UTC | revision 1123 by niro, Wed Aug 18 21:56:57 2010 UTC | |
---|---|---|
# | Line 311 int cpio_main(int argc UNUSED_PARAM, cha | Line 311 int cpio_main(int argc UNUSED_PARAM, cha |
311 | /* no parameters */ | /* no parameters */ |
312 | opt_complementary = "=0"; | opt_complementary = "=0"; |
313 | opt = getopt32(argv, OPTION_STR, &cpio_filename); | opt = getopt32(argv, OPTION_STR, &cpio_filename); |
314 | argv += optind; | |
315 | if (opt & CPIO_OPT_FILE) { /* -F */ | if (opt & CPIO_OPT_FILE) { /* -F */ |
316 | xmove_fd(xopen(cpio_filename, O_RDONLY), STDIN_FILENO); | xmove_fd(xopen(cpio_filename, O_RDONLY), STDIN_FILENO); |
317 | } | } |
|