aboutsummaryrefslogtreecommitdiff
path: root/coreutils/diff.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix buglets found by randomconfig runvda2007-03-111-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18064 69ca8d6d-28ef-0310-b511-8ec308f3f277
* diff: failed to confirm "static bug" in gcc - reinstating statics.vda2007-03-091-74/+79
| | | | | | | microscopic code improvements. git-svn-id: svn://busybox.net/trunk/busybox@18051 69ca8d6d-28ef-0310-b511-8ec308f3f277
* diff: make -U0 workvda2007-03-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* diff: fix access past end of arrayvda2007-02-111-36/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-031-0/+1
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - small size tweaksaldot2007-01-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17416 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - FIXME: someone broke diff -raldot2007-01-071-48/+48
| | | | | | | | | | - 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 git-svn-id: svn://busybox.net/trunk/busybox@17181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* work around gcc's false warningvda2007-01-071-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17176 69ca8d6d-28ef-0310-b511-8ec308f3f277
* diff: small optimizations; do not try to diff non-seekable streamvda2007-01-071-46/+44
| | | | | | | | | | | (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 git-svn-id: svn://busybox.net/trunk/busybox@17175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - minor shrinkage: -25 bytes or so.aldot2007-01-061-12/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* done a dozen of randconfig test. guess what? ALL failed...vda2006-12-301-1/+1
| | | | | | | these are resulting fixes git-svn-id: svn://busybox.net/trunk/busybox@17105 69ca8d6d-28ef-0310-b511-8ec308f3f277
* introduce LONE_CHAR (optimized strcmp with one-char string)vda2006-12-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]vda2006-12-161-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16977 69ca8d6d-28ef-0310-b511-8ec308f3f277
* diff: fix -q exit codevda2006-12-161-70/+72
| | | | | | | last_char_is: sacrifice 9 bytes but avoid double-scan git-svn-id: svn://busybox.net/trunk/busybox@16974 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - minor shrinkagealdot2006-12-141-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16919 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove warning about unused depth parameter in add_to_dirlist()aldot2006-12-131-2/+5
| | | | | | | - make one variable static and add comment about why the other variables there are not static. git-svn-id: svn://busybox.net/trunk/busybox@16898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 2vda2006-11-271-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 1vda2006-11-271-15/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* recursive_action: add depth paramvda2006-10-271-3/+3
| | | | | | | chmod: match coreutils versus following links git-svn-id: svn://busybox.net/trunk/busybox@16462 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add open_read_close() and similar stuffvda2006-10-141-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-051-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-031-2/+2
| | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupvda2006-09-171-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-031-29/+12
| | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More removal of "#if 0" content.rpjday2006-07-011-18/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15571 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse strings and messages. Saves about 600Baldot2006-06-071-7/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - just whitespacealdot2006-05-291-731/+741
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15219 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - ls: remove unused variablealdot2006-05-291-8/+6
| | | | | | | | | | | - 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. git-svn-id: svn://busybox.net/trunk/busybox@15218 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do not use non-standard u_int.aldot2006-05-191-6/+6
| | | | | | | | - do not use _PATH_DEVNULL gnuism but bb_dev_null. Thanks to Rich Felker. git-svn-id: svn://busybox.net/trunk/busybox@15132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplify the GPL boilerplate.landley2006-04-181-18/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14915 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add and use bb_opendir(), bb_xopendir().aldot2006-04-121-2/+2
| | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@14830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Rob Sullivan to add support for -Laldot2006-04-061-36/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14764 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink it a little bit and make it buildable with gcc-2.95aldot2006-04-061-35/+46
| | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@14763 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove unused args.aldot2006-04-061-12/+13
| | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@14762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move code around to avoid the need for the prototypes.aldot2006-04-061-587/+557
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14761 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - new applet diff. Rob Sullivan writes:aldot2006-04-061-0/+1277
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. git-svn-id: svn://busybox.net/trunk/busybox@14760 69ca8d6d-28ef-0310-b511-8ec308f3f277