aboutsummaryrefslogtreecommitdiff
path: root/libbb/copyfd.c
AgeCommit message (Collapse)Author
2007-04-10make a few struct bb_applet members conditionalDenis Vlasenko
rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig
2007-04-10audit small applets and mark some of them as NOFORK.Denis Vlasenko
Put big scary warnings in relevant places.
2007-04-09make xfunctions optionally longjump instead of exit.Denis Vlasenko
use it for making NOFORK more practical. touch: make it a NOFORK applet
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2006-12-22tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko
(we have bb_copyfd_exact_size now for that kind of usage)
2006-11-25tee: fix bug: argv[-1] is a no-no!Denis Vlasenko
bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error"
2006-11-24tar: cry murder and bail out if file shrinks under us while we tar it upDenis Vlasenko
2006-10-08correct largefile support, add comments about it.Denis Vlasenko
2006-09-17style fixesDenis Vlasenko
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-04-03- move buffer allocation schemes to libbb.hBernhard Reutner-Fischer
- include the correct headers: applets need busybox.h while lib* need libbb.h
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-02-13Bug fix from Kim B. Heino, manifested via:Rob Landley
echo > foo && zip foo.zip foo && ./busybox unzip foo.zip
2006-01-31avoid signed<->unsigned warning"Vladimir N. Oleynik"
2006-01-25just whitespaceTim Riker
2005-11-12My last change to this file broke tar x. Sigh. (Trying to make sure we workRob Landley
on file sizes between 2 and 4 gigs on 32 bit machines. For supporting >4 gigs, just use a 64 bit machine already...)
2005-11-04Fix bug 424: doing full_read breaks things like cat which should return aRob Landley
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?
2005-11-04When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.Rob Landley
2005-04-27Correct errors preventing busybox tar from working properly,Eric Andersen
fixing bug http://bugs.uclibc.org/view.php?id=231
2005-04-16Rework to fix http://bugs.uclibc.org/view.php?id=107Eric Andersen
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-23bb_full_fd_action was incorrectly returning an error message causingGlenn L McGrath
major breaking.
2004-02-21Sometimes i get carried away with the use of function pointers, im sureGlenn L McGrath
it seemed like a good idea at the time.
2003-11-24When a size of 0 is passed to copyfd_size, dont do anything, it wasGlenn L McGrath
reading untill eof which breaks tar
2003-11-22Fix warningGlenn L McGrath
2003-11-21As we no longer use function pointers for read in common archiving codeGlenn L McGrath
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.
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2002-12-13Merge copyfd and copy_file_chunkGlenn L McGrath
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-05-18Rewrote copyfd to use library functions, terminate, and copy correct data.Matt Kraai
2001-05-15This patch from Adam Heath <doogie@debian.org>, makes print_fileEric Andersen
(used by cat, grep, sed, etc) quite a bit faster.