projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e1ca3
)
Fix a compile error when only using ar, patch by Paul van Gool
author
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 5 Dec 2003 02:51:21 +0000
(
02:51
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Fri, 5 Dec 2003 02:51:21 +0000
(
02:51
-0000)
archival/ar.c
patch
|
blob
|
history
diff --git
a/archival/ar.c
b/archival/ar.c
index 32ecd57364fccdf6764e56eca36acbcfcf60486a..1cb418ab4da3e347e442a8ba348e0f237329a825 100644
(file)
--- a/
archival/ar.c
+++ b/
archival/ar.c
@@
-59,7
+59,7
@@
static void data_extract_regular_file(archive_handle_t *archive_handle)
file_header = archive_handle->file_header;
dst_fd = bb_xopen(file_header->name, O_WRONLY | O_CREAT);
- bb_copyfd_
eof(archive_handle->src_fd, dst_fd, file_header->size);
+ bb_copyfd_
size(archive_handle->src_fd, dst_fd, file_header->size);
close(dst_fd);
chmod(file_header->name, file_header->mode);