aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.ckraai2001-05-165-7/+7
| | | | | | | by Larry Doolittle. git-svn-id: svn://busybox.net/trunk/busybox@2653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir:andersen2001-05-151-1/+3
| | | | | | | | | | 1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb git-svn-id: svn://busybox.net/trunk/busybox@2647 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch from Lars Kellogg-Stedman, fixes the behavior ofandersen2001-05-111-3/+11
| | | | | | | | | | chown to be consistant with GNU chown, so that it follows symlinks (who cares about the perms on a link anyways?) unless the -h option is supplied. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2606 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Check that putenv succeeded, suggested by Jonas Holmberg.kraai2001-05-111-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2605 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix handling of '-' option and way that variables are added to thekraai2001-05-111-6/+14
| | | | | | | | environment from Jonas Holmberg <jonas.holmberg@axis.com>. Fix handling of command options by adding + to getopt string. git-svn-id: svn://busybox.net/trunk/busybox@2603 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Silence cut so it doesn't whine during compilationandersen2001-05-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2567 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir to use last_char_is to simplify du.candersen2001-05-071-6/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2563 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir to remove testing stuff from sttyandersen2001-05-071-67/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2562 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite -c and -b processing to shrink code and eliminate buffer overrun.kraai2001-05-051-14/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2543 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove summary header. Not present in GNU or SUSv2.kraai2001-05-031-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2521 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Made new xreadlink function for libbb and changed applets to use it instead ofmarkw2001-04-301-6/+6
| | | | | | | readlink(2). git-svn-id: svn://busybox.net/trunk/busybox@2495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These do not need initial values. Let them live in the bss.andersen2001-04-302-3/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2493 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix handling of permission addition and removal (e.g., o-r).kraai2001-04-261-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doh. I never allocated storate for the struct stat I am using.andersen2001-04-261-3/+3
| | | | | | | | There was just a never initialized pointer. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2460 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix handling of -R flag.kraai2001-04-263-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2459 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another nice cleanup from Larry. This adds a new last_char_is() function andandersen2001-04-261-1/+1
| | | | | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2450 69ca8d6d-28ef-0310-b511-8ec308f3f277
* As Larry pointed out, this the off by one canbe fixed much more elegantly.andersen2001-04-263-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2449 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a silly off-by-one error noticed by Santiago Garcia Mantinan ↵andersen2001-04-263-3/+3
| | | | | | | | | <manty@debian.org> -Erik git-svn-id: svn://busybox.net/trunk/busybox@2448 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from I.Q. to add -s to cmp.markw2001-04-251-9/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2440 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry noticed that chown and chgrp has the version numbers off a bitandersen2001-04-252-2/+2
| | | | | | | for glibc's lchown support. Thanks Larry. git-svn-id: svn://busybox.net/trunk/busybox@2437 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move messages.c to libbb. Make each string in messages.c be its own .o file.andersen2001-04-259-31/+1
| | | | | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote rm.kraai2001-04-242-109/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2423 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunatelyandersen2001-04-243-0/+289
| | | | | | | | | adds 384 bytes to the overall size. But having each app be standalone is the Right Thing(tm) so we will just have to live with it. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use generic flag names.kraai2001-04-242-18/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite cp and mv to be SUSv2 compliant.kraai2001-04-232-0/+297
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplify pathname building, in which a bug was noted by Larry Doolittle,kraai2001-04-231-9/+9
| | | | | | | | a patch was provided by Vladimir Oleynik, and am improved patch commited by me. git-svn-id: svn://busybox.net/trunk/busybox@2398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix buffer underrun noted and solved by Larry Doolittle.kraai2001-04-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2376 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from I.Q. to add sort -u as a feature.markw2001-04-171-7/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2363 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed line[strlen(line) - 1] = '\0'; to chomp(line);markw2001-04-171-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2362 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from I.Q. to fix problem with sort -n.markw2001-04-171-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Handle endian-ness. Patch from Paul J.Y. Lahaie <pjlahaie@linuxcare.com>andersen2001-04-141-1/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dos2unix/tr problem noted by Larry Doolittle.kraai2001-04-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2341 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use tmpfile() and revert my previous changes... convert() belongs herebug12001-04-121-0/+84
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2327 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move convert to libbbbug12001-04-121-91/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir's patch to reverse previous patchbug12001-04-111-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2319 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply Vladimir's latest cleanup patch.andersen2001-04-094-20/+17
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2288 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more FILE_OFFSET_BITS == 64 adjustments.andersen2001-04-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-04-052-3/+3
| | | | | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Place a temporary bandaid on the ls/du/df human-readable issue. This method isandersen2001-04-031-6/+9
| | | | | | | | | | | | not going to scale up as well as I would like, and Matt Kraai and I have discussed a better long term solution. But for now this will at least make all the human-readable apps give correct answers. Please test the human readable/non-human readable options on your systems!!! -Erik git-svn-id: svn://busybox.net/trunk/busybox@2235 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in a new standalone env applet for fixing up app's environmentsandersen2001-03-291-0/+97
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2224 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix ls so it uses make_human_readable_str() the same way alreadyandersen2001-03-281-1/+1
| | | | | | | | used by 'du' and 'df'. Now we just need to fix make_human_readable_str so it behaves they way it used to before Matt fixed it. git-svn-id: svn://busybox.net/trunk/busybox@2217 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from David Douthitt to fix problem where ls reports half themarkw2001-03-271-2/+2
| | | | | | | file size. Should close bug #1140. git-svn-id: svn://busybox.net/trunk/busybox@2204 69ca8d6d-28ef-0310-b511-8ec308f3f277
* -Wshadow tr fix from Jeff Garzikandersen2001-03-231-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2191 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A nice patch from Larry Doolittle that adds -Wshadow andandersen2001-03-213-11/+11
| | | | | | | cleans up most of the now-revealed problems. git-svn-id: svn://busybox.net/trunk/busybox@2177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>andersen2001-03-193-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2163 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simpify detection of no options.andersen2001-03-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2149 69ca8d6d-28ef-0310-b511-8ec308f3f277
* locale correction patch from Vladimirandersen2001-03-191-20/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Should exclude "i" option when not enabled.andersen2001-03-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2144 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doesn't need a "-" option -- getopt does that for us.andersen2001-03-191-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2143 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir to force interactiveFlag=FALSE when forceFlag=TRUEandersen2001-03-191-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2142 69ca8d6d-28ef-0310-b511-8ec308f3f277