summaryrefslogtreecommitdiff
path: root/libbb/copyfd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-8/+8
| | | | xlseek and fdlength() for the new mkswap.
* - move buffer allocation schemes to libbb.hBernhard Reutner-Fischer2006-04-031-1/+0
| | | | - include the correct headers: applets need busybox.h while lib* need libbb.h
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-2/+2
| | | | definitions. (That should only be on prototypes.)
* Bug fix from Kim B. Heino, manifested via:Rob Landley2006-02-131-0/+1
| | | | echo > foo && zip foo.zip foo && ./busybox unzip foo.zip
* avoid signed<->unsigned warning"Vladimir N. Oleynik"2006-01-311-1/+1
|
* just whitespaceTim Riker2006-01-251-2/+2
|
* My last change to this file broke tar x. Sigh. (Trying to make sure we workRob Landley2005-11-121-4/+5
| | | | | on file sizes between 2 and 4 gigs on 32 bit machines. For supporting >4 gigs, just use a 64 bit machine already...)
* Fix bug 424: doing full_read breaks things like cat which should return aRob Landley2005-11-041-1/+1
| | | | | | | | | chunk of data when they get it and not block until they've buffered 4k. The use case was cat /proc/psaux, but you can also reproduce this by running non-busybox cat by itself and typing things at the command line. Then run busybox cat. Notice how cat is _supposed_ to echo each line back to us as we hit enter?
* When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.Rob Landley2005-11-041-57/+27
|
* Correct errors preventing busybox tar from working properly,Eric Andersen2005-04-271-6/+11
| | | | fixing bug http://bugs.uclibc.org/view.php?id=231
* Rework to fix http://bugs.uclibc.org/view.php?id=107Eric Andersen2005-04-161-32/+41
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* bb_full_fd_action was incorrectly returning an error message causingGlenn L McGrath2004-02-231-2/+2
| | | | major breaking.
* Sometimes i get carried away with the use of function pointers, im sureGlenn L McGrath2004-02-211-5/+5
| | | | it seemed like a good idea at the time.
* When a size of 0 is passed to copyfd_size, dont do anything, it wasGlenn L McGrath2003-11-241-1/+4
| | | | reading untill eof which breaks tar
* Fix warningGlenn L McGrath2003-11-221-2/+6
|
* As we no longer use function pointers for read in common archiving codeGlenn L McGrath2003-11-211-25/+36
| | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend.
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-45/+31
|
* Merge copyfd and copy_file_chunkGlenn L McGrath2002-12-131-15/+42
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-1/+1
| | | | -Erik
* Rewrote copyfd to use library functions, terminate, and copy correct data.Matt Kraai2001-05-181-24/+16
|
* This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen2001-05-151-0/+67
(used by cat, grep, sed, etc) quite a bit faster.