projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ahem: add new faq entry to list at top of FAQ.html
[oweals/busybox.git]
/
archival
/
cpio.c
diff --git
a/archival/cpio.c
b/archival/cpio.c
index aff6a55f9741f50af08d35272ba5172552c45c0a..0fbe7b8e54c76982ef8be0f30f505a0b767c803f 100644
(file)
--- a/
archival/cpio.c
+++ b/
archival/cpio.c
@@
-47,7
+47,7
@@
extern int cpio_main(int argc, char **argv)
/* Initialise */
archive_handle = init_handle();
- archive_handle->src_fd =
fileno(stdin)
;
+ archive_handle->src_fd =
STDIN_FILENO
;
archive_handle->seek = seek_by_char;
archive_handle->flags = ARCHIVE_EXTRACT_NEWER | ARCHIVE_PRESERVE_DATE;