summaryrefslogtreecommitdiff
path: root/coreutils/dd.c
AgeCommit message (Collapse)Author
2006-05-02Patch from Jason Schoon to add optional SIGUSR1 support to dd.Rob Landley
2006-04-13- patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer
2006-01-31avoid signed<->unsigned warning"Vladimir N. Oleynik"
2004-01-30Avoid symbol naming conflict with libmEric Andersen
2003-06-20last_patch89 from vodz:Eric Andersen
Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
2003-03-19Major coreutils update.Manuel Novoa III
2002-11-28StyleGlenn L McGrath
2002-11-28Woops, forgot they printout applet name as well....Glenn L McGrath
2002-11-28Use error_msg instead of fprintf(stderrGlenn L McGrath
2002-04-27Support noerror optionEric Andersen
2002-02-05* fileutils/dd.c (dd_main): Ignore ftruncate error if the output is not aMatt Kraai
file or directory.
2001-12-07Update copyright and close file descriptors (noted by Axel Kittenberger).Matt Kraai
2001-07-31Always write record counts to stderr.Matt Kraai
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-03-21A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen
cleans up most of the now-revealed problems.
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-05Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.Matt Kraai
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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
2001-01-17Complicate truncate behavior.Matt Kraai
2000-12-18Rewrote dd.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-11-29Apply rev #2 of dd fix from Gennady Feldman.Eric Andersen
2000-10-25Added a fatalPerror function to simplify error handling.Matt Kraai
2000-10-25Fix for bug #1068 from Kent RobottiGlenn L McGrath
Call perror and exit instead of fatalError
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-13Fix looping bug, use fullReadGlenn L McGrath
2000-09-11dd now truncates files at the end its write, this can be turned of byGlenn L McGrath
specifying conv=notrunc in the command line This conforms to GNU dd behaviour
2000-09-10Remove some debugging codeGlenn L McGrath
2000-09-10Using seek=? used to cause part of the original file to be zero'ed, iGlenn L McGrath
think this was caused by opening the file in truncate mode.
2000-09-10My previous attempt to make dd use fullRead, fullWrite was very broken,Glenn L McGrath
this should actually work.
2000-08-25ar.c now uses a linked list to process headers, uses getopt, new internal ↵Glenn L McGrath
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
2000-07-25Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-05-10* cp -fa now works as expected for symlinks (it didn't before)Erik Andersen
* zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-03-24The new tar for busybox is now done, and works just fineErik Andersen
for extracting files. Creation of tarballs is next... -Erik
2000-03-23My latest ramblings.Erik Andersen
-Erik
2000-03-21* all mallocs now use xmalloc (and so are OOM error safe), andErik Andersen
the common error handling saves a few bytes. Thanks to Bob Tinsley <bob@earthrise.demon.co.uk> for the patch. -Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
2000-02-07A few minor updates. ;-)Erik Andersen
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
1999-12-17Reworked the source so it will compile and run under glibc 2.0.7Erik Andersen
and linux kernel 2.0.36 (though the dubious reasons why someone would want to do that defy imagination ;) -Erik
1999-12-09Tail now works (costs 6k). Several other updates.Eric Andersen
-Erik
1999-12-03StufEric Andersen
1999-11-22Bug fixesEric Andersen
1999-11-19StufEric Andersen
1999-11-19StufEric Andersen