aboutsummaryrefslogtreecommitdiff
path: root/dd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.kraai2001-02-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-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 git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Complicate truncate behavior.kraai2001-01-171-7/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1600 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote dd.kraai2000-12-181-138/+105
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1469 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-12/+12
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply rev #2 of dd fix from Gennady Feldman.andersen2000-11-291-7/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a fatalPerror function to simplify error handling.kraai2000-10-251-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug #1068 from Kent Robottibug12000-10-251-2/+4
| | | | | | | Call perror and exit instead of fatalError git-svn-id: svn://busybox.net/trunk/busybox@1230 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix looping bug, use fullReadbug12000-09-131-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1046 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dd now truncates files at the end its write, this can be turned of bybug12000-09-111-3/+10
| | | | | | | | | specifying conv=notrunc in the command line This conforms to GNU dd behaviour git-svn-id: svn://busybox.net/trunk/busybox@1030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove some debugging codebug12000-09-101-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1026 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Using seek=? used to cause part of the original file to be zero'ed, ibug12000-09-101-5/+4
| | | | | | | think this was caused by opening the file in truncate mode. git-svn-id: svn://busybox.net/trunk/busybox@1025 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My previous attempt to make dd use fullRead, fullWrite was very broken,bug12000-09-101-13/+14
| | | | | | | this should actually work. git-svn-id: svn://busybox.net/trunk/busybox@1024 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ar.c now uses a linked list to process headers, uses getopt, new internal ↵bug12000-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 git-svn-id: svn://busybox.net/trunk/busybox@983 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use BB_FEATURE_CLEAN_UP where appropriateandersen2000-07-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@904 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-17/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * cp -fa now works as expected for symlinks (it didn't before)erik2000-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 git-svn-id: svn://busybox.net/trunk/busybox@530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-131-5/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The new tar for busybox is now done, and works just fineerik2000-03-241-2/+2
| | | | | | | | for extracting files. Creation of tarballs is next... -Erik git-svn-id: svn://busybox.net/trunk/busybox@421 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My latest ramblings.erik2000-03-231-7/+17
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * all mallocs now use xmalloc (and so are OOM error safe), anderik2000-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 git-svn-id: svn://busybox.net/trunk/busybox@416 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-144/+140
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-14/+23
| | | | | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reworked the source so it will compile and run under glibc 2.0.7erik1999-12-171-1/+1
| | | | | | | | | and linux kernel 2.0.36 (though the dubious reasons why someone would want to do that defy imagination ;) -Erik git-svn-id: svn://busybox.net/trunk/busybox@243 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tail now works (costs 6k). Several other updates.andersen1999-12-091-45/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@179 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-12-031-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@127 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fixesandersen1999-11-221-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-11-191-24/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@109 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-11-191-3/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@108 69ca8d6d-28ef-0310-b511-8ec308f3f277
* updates for the dayandersen1999-11-131-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@99 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to usage, and made tar work.andersen1999-11-101-3/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@94 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed up copyright notices and suchandersen1999-10-201-14/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@49 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added sfdisk. Ststic-ified a bunch of stuff.andersen1999-10-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@38 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed ddandersen1999-10-131-17/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@20 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff...andersen1999-10-121-258/+167
| | | | git-svn-id: svn://busybox.net/trunk/busybox@19 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more stuffandersen1999-10-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial revisionandersen1999-10-051-0/+307
git-svn-id: svn://busybox.net/trunk/busybox@5 69ca8d6d-28ef-0310-b511-8ec308f3f277