summaryrefslogtreecommitdiff
path: root/dd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-04-051-2/+2
| | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
* A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen2001-03-211-3/+3
| | | | cleans up most of the now-revealed problems.
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-2/+2
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.Matt Kraai2001-02-051-1/+1
|
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-1/+1
|
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+4
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Complicate truncate behavior.Matt Kraai2001-01-171-7/+13
|
* Rewrote dd.Matt Kraai2000-12-181-138/+105
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-12/+12
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-1/+1
|
* Apply rev #2 of dd fix from Gennady Feldman.Eric Andersen2000-11-291-7/+21
|
* Added a fatalPerror function to simplify error handling.Matt Kraai2000-10-251-4/+2
|
* Fix for bug #1068 from Kent RobottiGlenn L McGrath2000-10-251-2/+4
| | | | Call perror and exit instead of fatalError
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Fix looping bug, use fullReadGlenn L McGrath2000-09-131-2/+2
|
* dd now truncates files at the end its write, this can be turned of byGlenn L McGrath2000-09-111-3/+10
| | | | | | specifying conv=notrunc in the command line This conforms to GNU dd behaviour
* Remove some debugging codeGlenn L McGrath2000-09-101-2/+1
|
* Using seek=? used to cause part of the original file to be zero'ed, iGlenn L McGrath2000-09-101-5/+4
| | | | think this was caused by opening the file in truncate mode.
* My previous attempt to make dd use fullRead, fullWrite was very broken,Glenn L McGrath2000-09-101-13/+14
| | | | this should actually work.
* ar.c now uses a linked list to process headers, uses getopt, new internal ↵Glenn L McGrath2000-08-251-35/+6
| | | | | | | | | | function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions. moved copySubFile from ar.c to utilities.c modified dd.c to use fullWrite modified copyFile in utilities.c to use copySubFile
* Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen2000-07-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-17/+0
|
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-4/+4
|
* * cp -fa now works as expected for symlinks (it didn't before)Erik Andersen2000-05-101-8/+10
| | | | | | * zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-5/+5
| | | | -Erik
* The new tar for busybox is now done, and works just fineErik Andersen2000-03-241-2/+2
| | | | | for extracting files. Creation of tarballs is next... -Erik
* My latest ramblings.Erik Andersen2000-03-231-7/+17
| | | | -Erik
* * all mallocs now use xmalloc (and so are OOM error safe), andErik Andersen2000-03-211-5/+1
| | | | | | the common error handling saves a few bytes. Thanks to Bob Tinsley <bob@earthrise.demon.co.uk> for the patch. -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-144/+140
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-14/+23
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
* Reworked the source so it will compile and run under glibc 2.0.7Erik Andersen1999-12-171-1/+1
| | | | | | and linux kernel 2.0.36 (though the dubious reasons why someone would want to do that defy imagination ;) -Erik
* Tail now works (costs 6k). Several other updates.Eric Andersen1999-12-091-45/+1
| | | | -Erik
* StufEric Andersen1999-12-031-0/+4
|
* Bug fixesEric Andersen1999-11-221-0/+5
|
* StufEric Andersen1999-11-191-24/+13
|
* StufEric Andersen1999-11-191-3/+12
|
* updates for the dayEric Andersen1999-11-131-2/+0
|
* Updates to usage, and made tar work.Eric Andersen1999-11-101-3/+2
| | | | -Erik
* Fixed up copyright notices and suchEric Andersen1999-10-201-14/+33
|
* Added sfdisk. Ststic-ified a bunch of stuff.Eric Andersen1999-10-191-1/+1
|
* Fixed ddEric Andersen1999-10-131-17/+16
|
* More stuff...Eric Andersen1999-10-121-258/+167
|
* more stuffEric Andersen1999-10-061-1/+1
|
* Initial revision0_29alpha2Eric Andersen1999-10-051-0/+307