aboutsummaryrefslogtreecommitdiff
path: root/libbb/copyfd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tee: fix bug: argv[-1] is a no-no!vda2006-11-251-17/+30
| | | | | | | | bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error" git-svn-id: svn://busybox.net/trunk/busybox@16669 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: cry murder and bail out if file shrinks under us while we tar it upvda2006-11-241-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* correct largefile support, add comments about it.vda2006-10-081-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16343 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-09-171-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaup read() and write() variants, plus a couple of new functions likelandley2006-07-161-8/+8
| | | | | | | xlseek and fdlength() for the new mkswap. git-svn-id: svn://busybox.net/trunk/busybox@15703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move buffer allocation schemes to libbb.haldot2006-04-031-1/+0
| | | | | | | - include the correct headers: applets need busybox.h while lib* need libbb.h git-svn-id: svn://busybox.net/trunk/busybox@14739 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-2/+2
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix from Kim B. Heino, manifested via:landley2006-02-131-0/+1
| | | | | | | echo > foo && zip foo.zip foo && ./busybox unzip foo.zip git-svn-id: svn://busybox.net/trunk/busybox@13956 69ca8d6d-28ef-0310-b511-8ec308f3f277
* avoid signed<->unsigned warningvodz2006-01-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13757 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My last change to this file broke tar x. Sigh. (Trying to make sure we worklandley2005-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...) git-svn-id: svn://busybox.net/trunk/busybox@12225 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug 424: doing full_read breaks things like cat which should return alandley2005-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? git-svn-id: svn://busybox.net/trunk/busybox@12147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.landley2005-11-041-57/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct errors preventing busybox tar from working properly,andersen2005-04-271-6/+11
| | | | | | | fixing bug http://bugs.uclibc.org/view.php?id=231 git-svn-id: svn://busybox.net/trunk/busybox@10187 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rework to fix http://bugs.uclibc.org/view.php?id=107andersen2005-04-161-32/+41
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove trailing whitespace. Update copyright to include 2004.andersen2004-03-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_full_fd_action was incorrectly returning an error message causingbug12004-02-231-2/+2
| | | | | | | major breaking. git-svn-id: svn://busybox.net/trunk/busybox@8552 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sometimes i get carried away with the use of function pointers, im surebug12004-02-211-5/+5
| | | | | | | it seemed like a good idea at the time. git-svn-id: svn://busybox.net/trunk/busybox@8531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When a size of 0 is passed to copyfd_size, dont do anything, it wasbug12003-11-241-1/+4
| | | | | | | reading untill eof which breaks tar git-svn-id: svn://busybox.net/trunk/busybox@8001 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix warningbug12003-11-221-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7985 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As we no longer use function pointers for read in common archiving codebug12003-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. git-svn-id: svn://busybox.net/trunk/busybox@7984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-191-45/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Merge copyfd and copy_file_chunkbug12002-12-131-15/+42
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6208 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote copyfd to use library functions, terminate, and copy correct data.kraai2001-05-181-24/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2672 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch from Adam Heath <doogie@debian.org>, makes print_fileandersen2001-05-151-0/+67
(used by cat, grep, sed, etc) quite a bit faster. git-svn-id: svn://busybox.net/trunk/busybox@2648 69ca8d6d-28ef-0310-b511-8ec308f3f277