aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This was broken when applets moved to applets.h. Fix it.andersen2000-10-262-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1243 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed error handling and TRUE/FALSE usage.kraai2000-10-252-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1242 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Restore --help handling I mistakenly removed.kraai2000-10-252-2/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1241 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid reinventing the wheel (and thus save some space).kraai2000-10-252-52/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1240 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSEkraai2000-10-255-90/+66
| | | | | | | uses, and other minor fixes. git-svn-id: svn://busybox.net/trunk/busybox@1239 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaned up error handling, TRUE/FALSE usage, and other minor issues.kraai2000-10-252-46/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1238 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clean up error handling and uses of TRUE/FALSE.kraai2000-10-252-28/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1237 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaned up error handling and uses of TRUE/FALSE.kraai2000-10-252-6/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1236 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaned up error message handling.kraai2000-10-252-32/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1235 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a fatalPerror function to simplify error handling.kraai2000-10-255-8/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug #1068 from Kent Robottibug12000-10-252-4/+8
| | | | | | | Call perror and exit instead of fatalError git-svn-id: svn://busybox.net/trunk/busybox@1230 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Gaute B Strokkenes <gs234@cam.ac.uk> to use a binary searchmarkw2000-10-254-732/+804
| | | | | | | | to locate applets, rather than a linear search. Also, broke out the listing of applets into it's own file: applets.h. git-svn-id: svn://busybox.net/trunk/busybox@1229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix error messages.kraai2000-10-238-46/+46
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1222 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix error message.kraai2000-10-232-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1221 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]markw2000-10-198-36/+44
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1206 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Piss people off by removing [+-][0-9]+ options from tail.kraai2000-10-194-48/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.kraai2000-10-161-5/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1191 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix handling of ^$ by removing the newline from input lines and by notkraai2000-10-132-4/+8
| | | | | | | compiling with REG_NEWLINE. git-svn-id: svn://busybox.net/trunk/busybox@1190 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate stat(2) and lstat(2) calls and error handling.kraai2000-10-132-68/+50
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1189 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Exit with failure status if we are unable to list any files orkraai2000-10-132-2/+16
| | | | | | | directories. Patch thanks to Kent Robotti <robotti@metconnect.com>. git-svn-id: svn://busybox.net/trunk/busybox@1188 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Matt Kraai to fix buffer overrun and convert toandersen2000-10-122-38/+30
| | | | | | | | using synamically allocated storage. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1187 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply patch from "Orion Poplawski" <OPoplawski@cqg.com> to makeandersen2000-10-126-10/+22
| | | | | | | | hostname do "--file" -Erik git-svn-id: svn://busybox.net/trunk/busybox@1186 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added cmp and readlink applets from Matt Kraai.markw2000-10-0911-2/+286
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai so wc will return a proper error codeandersen2000-10-093-9/+13
| | | | | | | | | when failing to open a file, and will not use file when it didn't open the file. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a thinko. Patch from Justus Pendleton <justus@acm.org>andersen2000-10-092-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Matt Kraai:andersen2000-10-092-2/+22
| | | | | | | | | | "The -L option to ls doesn't behave correctly for files listed explicitly on the command line, only those in directories that are listed. The appended patch fixes this problem. Would someone please commit it?" -Erik git-svn-id: svn://busybox.net/trunk/busybox@1172 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai: "When it encounters a problem creating a link, lnandersen2000-10-042-4/+6
| | | | | | | | shouldn't give up entirely but instead continue processing the rest of its arguments. The attached patch does this." git-svn-id: svn://busybox.net/trunk/busybox@1148 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite to use getopt and return instead of exit, a seperate function ↵bug12000-10-042-166/+138
| | | | | | (fs_link) does the actual work. git-svn-id: svn://busybox.net/trunk/busybox@1147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a spiffy progress meter.andersen2000-10-033-42/+463
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1144 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to guess an output filenameandersen2000-10-022-4/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1143 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply patch from Giulio Orsero <giulioo@pobox.com> to ensureandersen2000-10-011-1/+1
| | | | | | | | get_last_path_component is defined under all configurations, -Erik git-svn-id: svn://busybox.net/trunk/busybox@1142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* General cleanup of comments, defines, includes, and global variables, ↵bug12000-09-292-2902/+1264
| | | | | | | | | | | removed those that arent needed, grouped those remaining at the top. Re-ordered functions to the order they are called. Removed static crc table, it now generates the table once for itself. Results in source reduced by 40%, so it should be a lot easier to work on in the future, binary size only reduced by under 2KB though. git-svn-id: svn://busybox.net/trunk/busybox@1141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixes to allow compilation on systems with glibc 2.1.92proski2000-09-284-4/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* + shortened main() a little, and a few aesthetic cleanups here & there.beppu2000-09-282-42/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1139 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote head to perservere when it can't open a file, and share codekraai2000-09-275-103/+105
| | | | | | | with cat. git-svn-id: svn://busybox.net/trunk/busybox@1138 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Continue concatenating files even if we can't open one.kraai2000-09-273-9/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1137 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate handling of some fopen failures.kraai2000-09-2714-73/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1136 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote uniq to be less than a third of the size, and fixed some otherkraai2000-09-275-292/+52
| | | | | | | minor problems. git-svn-id: svn://busybox.net/trunk/busybox@1135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up the docsandersen2000-09-262-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* update the docsandersen2000-09-261-11/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Log the devps patch updateandersen2000-09-261-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1128 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Final touchups for the release...andersen2000-09-262-6/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1127 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in busybox.h. I renamed it, and forgot to commit the newky named version.andersen2000-09-262-0/+936
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1126 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet more polish (thanks again to kent robotti for the bug reports).andersen2000-09-262-20/+24
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove all reference to the now obsolete /dev/modulesandersen2000-09-262-4/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update my devps patch for the latest 2.2 kernel.andersen2000-09-261-902/+64
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix nameandersen2000-09-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more polish to make xargs act like GNU xargs (thanks to kent robottiandersen2000-09-252-10/+12
| | | | | | | | <robotti@metconnect.com> for testing and pointing out the differences) -Erik git-svn-id: svn://busybox.net/trunk/busybox@1120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-25224-712/+245
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Gratuitously changed the file "busybox.defs.h" to the moreandersen2000-09-2513-379/+37
| | | | | | | | sensible and noticable "Config.h". -Erik git-svn-id: svn://busybox.net/trunk/busybox@1118 69ca8d6d-28ef-0310-b511-8ec308f3f277