aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix from Matt Kraai for the to the "busybox --install prints out on STDERRandersen2000-09-252-28/+14
| | | | | | | | | | | "File already exists" messages for all files (including the ones that DON'T exist)" problem reported by "Bruno L. F. Cabral" <bruno@openline.com.br>. Thanks Matt! -Erik git-svn-id: svn://busybox.net/trunk/busybox@1117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Final (I think) version of xargs. Throw away all that tedious stringandersen2000-09-252-188/+124
| | | | | | | | | scrubbing, and quit using system. Instead, use fork() and exec(), which yields and smaller, simpler, and cleaner design. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be ever so pedantic about escaping chars that the shell might not like...andersen2000-09-252-34/+118
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1115 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove a now unneeded checkandersen2000-09-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1114 69ca8d6d-28ef-0310-b511-8ec308f3f277
* modified by Bryan Rittmeyer <bryan@ixiacom.com> to support SH4andersen2000-09-242-32/+298
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update newdoc dependancyandersen2000-09-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1112 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a few entries for 0.47...andersen2000-09-241-5/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1111 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doc updateandersen2000-09-242-40/+123
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1110 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up xargs so that things like 'cat cat.c | xargs echo' willandersen2000-09-242-12/+58
| | | | | | | | work properly. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1109 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix xargs option parsingandersen2000-09-242-26/+36
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1108 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug#1043 -- hanlde long filenames and links (in this case, by complainingandersen2000-09-243-9/+71
| | | | | | | | that thay exist and skipping such files when extracting and when archiving. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1107 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix an obscure option parsing bug.andersen2000-09-232-2/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Force optind=1 for libc5 when doing cp in cp_mv.candersen2000-09-231-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1105 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix potential memory overrun...andersen2000-09-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1104 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the bandaid.andersen2000-09-232-6/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix memory problems, and make behavior correct.andersen2000-09-232-10/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1102 69ca8d6d-28ef-0310-b511-8ec308f3f277