summaryrefslogtreecommitdiff
path: root/sort.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-2/+2
| | | | namespace polluting things that really should be static.
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen2001-03-091-0/+1
| | | | | warnings with glibc 2.2 and use always use xfopen -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | 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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+2
| | | | | | | 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
* Rewrote.Matt Kraai2000-12-201-239/+37
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-2/+2
| | | | compliant with the style guide. Everybody rebuild your tags file!
* + shortened main() a little, and a few aesthetic cleanups here & there.John Beppu2000-09-281-21/+19
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-2/+2
| | | | -Erik
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai2000-09-131-9/+3
| | | | segfaulting or handling errors the same way themselves.
* Extract usage information into a separate file.Matt Kraai2000-07-161-11/+1
|
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-2/+2
|
* Yanked out the cstring_alloc() and cstring_lineFromFile() functions fromMark Whitley2000-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.
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-2/+2
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-2/+6
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* + in the interest of robustness, I addedJohn Beppu2000-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.
* More documentation updates, and minor fixes to make things syncErik Andersen2000-04-151-2/+2
| | | | | up with the docs. -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-2/+2
| | | | -Erik
* A few updates (including the cp fix the Craig has been looking for)Erik Andersen2000-03-041-9/+19
| | | | -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-192/+193
| | | | -Erik
* A few minor updates. ;-)Erik Andersen2000-02-071-1/+1
| | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
* * added (and documented) "-n" option for head -Erik Andersen2000-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
* sort is good to go.John Beppu1999-12-231-23/+26
|
* implemented numeric sort (sort -g)John Beppu1999-12-231-9/+30
|
* oops.. qsort(2) misunderstanding on my part.John Beppu1999-12-221-5/+24
| | | | it's ok, now.
* playing w/ $Log$John Beppu1999-12-221-7/+7
|
* the base is nearly done.John Beppu1999-12-221-21/+72
| | | | need to implement various comparison functions, now.
* added hooks for sortJohn Beppu1999-12-221-2/+22
|
* work in progress...John Beppu1999-12-221-11/+82
|
* this is my work in progress.John Beppu1999-12-211-0/+127