aboutsummaryrefslogtreecommitdiff
path: root/sort.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofkraai2000-09-131-9/+3
| | | | | | | segfaulting or handling errors the same way themselves. git-svn-id: svn://busybox.net/trunk/busybox@1039 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-11/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yanked out the cstring_alloc() and cstring_lineFromFile() functions frommarkw2000-06-281-2/+2
| | | | | | | | | | utility.c and replaced them with get_line_from_file() from the new grep.c. Also changed declaration in internal.h and replaced instances of cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested them and they worked fine. git-svn-id: svn://busybox.net/trunk/busybox@722 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to a number of apps to remove warnings/compile errors under libc5.andersen2000-06-191-2/+2
| | | | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-121-2/+6
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* + in the interest of robustness, I addedbeppu2000-04-171-26/+6
| | | | | | | | | | | utility.c :: cstring_alloc() utility.c :: cstring_lineFromFile() /* they're at the bottom */ so that I could read in lines of arbitrary length from FILE*s (instead of using fgets(huge_ass_buffer,...)). + I tested it out on sort, and it seems to be fine. git-svn-id: svn://busybox.net/trunk/busybox@463 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More documentation updates, and minor fixes to make things syncerik2000-04-151-2/+2
| | | | | | | | up with the docs. -Erik git-svn-id: svn://busybox.net/trunk/busybox@457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-131-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few updates (including the cp fix the Craig has been looking for)erik2000-03-041-9/+19
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@386 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-192/+193
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-1/+1
| | | | | | | | | 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
* * added (and documented) "-n" option for head -erik2000-01-231-2/+2
| | | | | | | | | | contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik git-svn-id: svn://busybox.net/trunk/busybox@336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sort is good to go.beppu1999-12-231-23/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* implemented numeric sort (sort -g)beppu1999-12-231-9/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@261 69ca8d6d-28ef-0310-b511-8ec308f3f277
* oops.. qsort(2) misunderstanding on my part.beppu1999-12-221-5/+24
| | | | | | | it's ok, now. git-svn-id: svn://busybox.net/trunk/busybox@260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* playing w/ $Log$beppu1999-12-221-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* the base is nearly done.beppu1999-12-221-21/+72
| | | | | | | need to implement various comparison functions, now. git-svn-id: svn://busybox.net/trunk/busybox@258 69ca8d6d-28ef-0310-b511-8ec308f3f277
* added hooks for sortbeppu1999-12-221-2/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* work in progress...beppu1999-12-221-11/+82
| | | | git-svn-id: svn://busybox.net/trunk/busybox@256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* this is my work in progress.beppu1999-12-211-0/+127
git-svn-id: svn://busybox.net/trunk/busybox@255 69ca8d6d-28ef-0310-b511-8ec308f3f277