aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Some patches to make dietlibc work...andersen2001-07-221-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toandersen2001-07-192-3/+14
| | | | | | | | | | make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz:andersen2001-07-122-9/+5
| | | | | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function git-svn-id: svn://busybox.net/trunk/busybox@3078 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch for md5sum from Aaron Lehmann <aaronl@vitelus.com> to slimandersen2001-07-101-105/+39
| | | | | | | it down a little bit. git-svn-id: svn://busybox.net/trunk/busybox@3054 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup from vodzandersen2001-07-101-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3052 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to support 'tr a-z A-Z' syntax.andersen2001-07-091-5/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per patch from vodz, change a couple of consts to defines, sinceandersen2001-07-021-1/+3
| | | | | | | | apparently gcc 2.95.4, at least, is too stupid to realize that a "static const int" is in fact a constant. git-svn-id: svn://busybox.net/trunk/busybox@2969 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Pad the human readable output for 'ls -sh' to 6 chars, since we willandersen2001-06-301-1/+1
| | | | | | | | have numbers printed as XXX.YU, so we need 6 digits not 4. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a silly logic error which caused symlinks to be printed twice, andandersen2001-06-301-5/+4
| | | | | | | | wrongly caused the return code to be an error. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed scaling problems involving make_human_readable_str.mjn32001-06-301-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2958 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ls -s was reporting bytes instead of blocks.mjn32001-06-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A really nice patch from Manuel Novoa III for compile timeandersen2001-06-291-0/+186
| | | | | | | configurable size/speed tradeoffs. git-svn-id: svn://busybox.net/trunk/busybox@2953 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add some missing includes to kill warnings when building with the defaultmjn32001-06-291-0/+1
| | | | | | | | | | Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c. git-svn-id: svn://busybox.net/trunk/busybox@2950 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Erik Meusel <erik@wh58-709.st.uni-magdeburg.de>andersen2001-06-261-0/+4
| | | | | | | to fix the behavior of 'tail -f -n 0 FILE' git-svn-id: svn://busybox.net/trunk/busybox@2909 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some warnings that show up on ppcandersen2001-06-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2898 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These were broken when using dmalloc due to include file orderingandersen2001-06-231-13/+7
| | | | | | | | problems. busybox.h must be last. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote mkdir (and touched lots of things in the process).kraai2001-06-212-78/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2873 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I reworked make_human_readable_str so it now has a sane interface,andersen2001-06-133-42/+15
| | | | | | | | | and then fixed up df, du, and ls to use the new interface. I also fixed up some formatting issues in ls while I was in there. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2826 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir's last_patch13, containing several bugfixes.andersen2001-06-011-1/+73
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some more patchelttes from Larry Doolittle.markw2001-05-241-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2724 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up some signed char vs int issues that show up on powerpc.andersen2001-05-242-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2719 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry to fix some grammar errors.andersen2001-05-232-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugandersen2001-05-211-6/+6
| | | | | | | #1130 (i.e. When you turn on features it should always ADD features) git-svn-id: svn://busybox.net/trunk/busybox@2690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* (Almost) brand-new version of cut that supports muitiple lists of positions,markw2001-05-181-109/+231
| | | | | | | per feature request from Tom Oehser. git-svn-id: svn://busybox.net/trunk/busybox@2675 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix applet_name.kraai2001-05-171-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2671 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix invocation of builtin shell to have proper argc and argv.kraai2001-05-171-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2665 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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