aboutsummaryrefslogtreecommitdiff
path: root/coreutils/diff.c
AgeCommit message (Collapse)Author
2007-04-05diff: fix segfault on empty dirs (Peter Korsgaard <peter.korsgaard@barco.com>)Denis Vlasenko
2007-03-29- fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
2007-03-26diff: fix SEGV (NULL deref) in diff -NDenis Vlasenko
2007-03-11fix buglets found by randomconfig runDenis Vlasenko
2007-03-09diff: failed to confirm "static bug" in gcc - reinstating statics.Denis Vlasenko
microscopic code improvements.
2007-03-07diff: make -U0 workDenis Vlasenko
2007-02-11diff: fix access past end of arrayDenis Vlasenko
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-20- small size tweaksBernhard Reutner-Fischer
2007-01-07- FIXME: someone broke diff -rBernhard Reutner-Fischer
- minor shrinkage i had lying around text data bss dec hex filename 7002 8 88 7098 1bba diff.o.orig 6936 8 81 7025 1b71 diff.o
2007-01-07work around gcc's false warningDenis Vlasenko
2007-01-07diff: small optimizations; do not try to diff non-seekable streamDenis Vlasenko
(currently we don't support that) sort: fixes. testsuites fixed: sort with non-default leading delim 1 sort with non-default leading delim 2 sort key doesn't strip leading blanks, disables fallback global sort
2007-01-06- minor shrinkage: -25 bytes or so.Bernhard Reutner-Fischer
2006-12-30done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko
these are resulting fixes
2006-12-21introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-12-16diff: fix -q exit codeDenis Vlasenko
last_char_is: sacrifice 9 bytes but avoid double-scan
2006-12-14- minor shrinkageBernhard Reutner-Fischer
2006-12-13- remove warning about unused depth parameter in add_to_dirlist()Bernhard Reutner-Fischer
- make one variable static and add comment about why the other variables there are not static.
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-10-27recursive_action: add depth paramDenis Vlasenko
chmod: match coreutils versus following links
2006-10-14add open_read_close() and similar stuffDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-05build system overhaulDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-09-17whitespace cleanupDenis Vlasenko
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-01More removal of "#if 0" content."Robert P. J. Day"
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-05-29- just whitespaceBernhard Reutner-Fischer
2006-05-29- ls: remove unused variableBernhard Reutner-Fischer
- dpkg.c, diff: use xstat text data bss dec hex filename 848823 9100 645216 1503139 16efa3 busybox_old 848679 9100 645216 1502995 16ef13 busybox_unstripped bloatcheck is completely useless as it sees -79 for this, which is bogus.
2006-05-19- do not use non-standard u_int.Bernhard Reutner-Fischer
- do not use _PATH_DEVNULL gnuism but bb_dev_null. Thanks to Rich Felker.
2006-04-18Simplify the GPL boilerplate.Rob Landley
2006-04-12- add and use bb_opendir(), bb_xopendir().Bernhard Reutner-Fischer
text data bss dec hex filename 889445 9392 1035784 1934621 1d851d busybox.gcc-4.2.orig 889297 9392 1035784 1934473 1d8489 busybox.gcc-4.2 889009 9820 1037860 1936689 1d8d31 busybox.gcc-4.1.orig 888817 9820 1037860 1936497 1d8c71 busybox.gcc-4.1
2006-04-06- patch from Rob Sullivan to add support for -LBernhard Reutner-Fischer
2006-04-06- shrink it a little bit and make it buildable with gcc-2.95Bernhard Reutner-Fischer
text data bss dec hex filename 7332 4 92 7428 1d04 diff.o-gcc-4.2-HEAD.orig 7185 4 92 7281 1c71 diff.o-gcc-4.2-HEAD.new 7336 4 92 7432 1d08 diff.o-gcc-4.1-HEAD.orig 7148 4 92 7244 1c4c diff.o-gcc-4.1-HEAD.new 7485 4 92 7581 1d9d diff.o-gcc-4.0.orig 7318 4 92 7414 1cf6 diff.o-gcc-4.0.new 7511 4 92 7607 1db7 diff.o-gcc-3.4.orig 7252 4 92 7348 1cb4 diff.o-gcc-3.4.new 8214 4 92 8310 2076 diff.o-gcc-3.3.orig 7882 4 92 7978 1f2a diff.o-gcc-3.3.new - - - - - diff.o-gcc-2.95.orig 8238 8 88 8334 208e diff.o-gcc-2.95.new
2006-04-06- remove unused args.Bernhard Reutner-Fischer
text data bss dec hex filename 7353 4 92 7449 1d19 coreutils/diff.o-gcc-4.2.oorig 7332 4 92 7428 1d04 coreutils/diff.o
2006-04-06- move code around to avoid the need for the prototypes.Bernhard Reutner-Fischer
2006-04-06- new applet diff. Rob Sullivan writes:Bernhard Reutner-Fischer
Here's my attempt at a mini diff applet - it's adapted from the code at http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/, and only supports unified diffs. I've busyboxified everything to a reasonable degree, so I think the code is suitable enough to be included, but there's still a fair bit of cleaning up to be done.