aboutsummaryrefslogtreecommitdiff
path: root/ar.c
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-05 20:03:17 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-05 20:03:17 +0000
commit9ff5567e2144af3c6f75594f3ab5e9496ede5c77 (patch)
tree6890d8b480bc1040cdb8b1921db9e604754d1630 /ar.c
parent1aeaf394688119933dc22d5f1586fb78bc4985da (diff)
downloadbusybox-w32-9ff5567e2144af3c6f75594f3ab5e9496ede5c77.tar.gz
busybox-w32-9ff5567e2144af3c6f75594f3ab5e9496ede5c77.tar.bz2
busybox-w32-9ff5567e2144af3c6f75594f3ab5e9496ede5c77.zip
Fixed the comments to match the code and renamed the function to a (hopefully)
more descriptive name, and as per the style guide. git-svn-id: svn://busybox.net/trunk/busybox@1379 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'ar.c')
-rw-r--r--ar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ar.c b/ar.c
index 0f16ec88c..a9a0a0a71 100644
--- a/ar.c
+++ b/ar.c
@@ -372,11 +372,11 @@ extern int ar_main(int argc, char **argv)
372 createPath(extractList->name, 0666); 372 createPath(extractList->name, 0666);
373 dstFd = open(extractList->name, O_WRONLY | O_CREAT, extractList->mode); 373 dstFd = open(extractList->name, O_WRONLY | O_CREAT, extractList->mode);
374 lseek(srcFd, extractList->offset, SEEK_SET); 374 lseek(srcFd, extractList->offset, SEEK_SET);
375 copySubFile(srcFd, dstFd, (size_t) extractList->size); 375 copy_file_chunk(srcFd, dstFd, (size_t) extractList->size);
376 } 376 }
377 if (funct & EXT_TO_STDOUT) { 377 if (funct & EXT_TO_STDOUT) {
378 lseek(srcFd, extractList->offset, SEEK_SET); 378 lseek(srcFd, extractList->offset, SEEK_SET);
379 copySubFile(srcFd, fileno(stdout), (size_t) extractList->size); 379 copy_file_chunk(srcFd, fileno(stdout), (size_t) extractList->size);
380 } 380 }
381 if ( (funct & DISPLAY) || (funct & VERBOSE)) { 381 if ( (funct & DISPLAY) || (funct & VERBOSE)) {
382 if (funct & VERBOSE) 382 if (funct & VERBOSE)