summaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Per patch from vodz, change a couple of consts to defines, sinceEric Andersen2001-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.
* Pad the human readable output for 'ls -sh' to 6 chars, since we willEric Andersen2001-06-301-1/+1
| | | | | have numbers printed as XXX.YU, so we need 6 digits not 4. -Erik
* Fix a silly logic error which caused symlinks to be printed twice, andEric Andersen2001-06-301-5/+4
| | | | | wrongly caused the return code to be an error. -Erik
* Fixed scaling problems involving make_human_readable_str.Manuel Novoa III2001-06-301-5/+5
|
* ls -s was reporting bytes instead of blocks.Manuel Novoa III2001-06-301-1/+1
|
* A really nice patch from Manuel Novoa III for compile timeEric Andersen2001-06-291-0/+186
| | | | configurable size/speed tradeoffs.
* Add some missing includes to kill warnings when building with the defaultManuel Novoa III2001-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.
* A patch from Erik Meusel <erik@wh58-709.st.uni-magdeburg.de>Eric Andersen2001-06-261-0/+4
| | | | to fix the behavior of 'tail -f -n 0 FILE'
* Fix up some warnings that show up on ppcEric Andersen2001-06-251-1/+1
|
* These were broken when using dmalloc due to include file orderingEric Andersen2001-06-231-13/+7
| | | | | problems. busybox.h must be last. -Erik
* Rewrote mkdir (and touched lots of things in the process).Matt Kraai2001-06-212-78/+33
|
* I reworked make_human_readable_str so it now has a sane interface,Eric 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
* Vladimir's last_patch13, containing several bugfixes.Eric Andersen2001-06-011-1/+73
|
* Some more patchelttes from Larry Doolittle.Mark Whitley2001-05-241-2/+6
|
* Fix up some signed char vs int issues that show up on powerpc.Eric Andersen2001-05-242-2/+2
|
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-232-2/+2
|
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen2001-05-211-6/+6
| | | | #1130 (i.e. When you turn on features it should always ADD features)
* (Almost) brand-new version of cut that supports muitiple lists of positions,Mark Whitley2001-05-181-109/+231
| | | | per feature request from Tom Oehser.
* Fix applet_name.Matt Kraai2001-05-171-0/+1
|
* Fix invocation of builtin shell to have proper argc and argv.Matt Kraai2001-05-171-1/+3
|
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai2001-05-165-7/+7
| | | | by Larry Doolittle.
* Patch from Vladimir:Eric 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
* This patch from Lars Kellogg-Stedman, fixes the behavior ofEric Andersen2001-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
* Check that putenv succeeded, suggested by Jonas Holmberg.Matt Kraai2001-05-111-1/+2
|
* Fix handling of '-' option and way that variables are added to theMatt Kraai2001-05-111-6/+14
| | | | | environment from Jonas Holmberg <jonas.holmberg@axis.com>. Fix handling of command options by adding + to getopt string.
* Silence cut so it doesn't whine during compilationEric Andersen2001-05-071-1/+1
|
* Patch from Vladimir to use last_char_is to simplify du.cEric Andersen2001-05-071-6/+5
|
* Patch from Vladimir to remove testing stuff from sttyEric Andersen2001-05-071-67/+0
|
* Rewrite -c and -b processing to shrink code and eliminate buffer overrun.Matt Kraai2001-05-051-14/+4
|
* Remove summary header. Not present in GNU or SUSv2.Matt Kraai2001-05-031-2/+1
|
* Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley2001-04-301-6/+6
| | | | readlink(2).
* These do not need initial values. Let them live in the bss.Eric Andersen2001-04-302-3/+3
| | | | -Erik
* Fix handling of permission addition and removal (e.g., o-r).Matt Kraai2001-04-261-9/+9
|
* Doh. I never allocated storate for the struct stat I am using.Eric Andersen2001-04-261-3/+3
| | | | | There was just a never initialized pointer. -Erik
* Fix handling of -R flag.Matt Kraai2001-04-263-0/+3
|
* Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen2001-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
* As Larry pointed out, this the off by one canbe fixed much more elegantly.Eric Andersen2001-04-263-3/+3
|
* Fix a silly off-by-one error noticed by Santiago Garcia Mantinan ↵Eric Andersen2001-04-263-3/+3
| | | | | | <manty@debian.org> -Erik
* Applied patch from I.Q. to add -s to cmp.Mark Whitley2001-04-251-9/+23
|
* Larry noticed that chown and chgrp has the version numbers off a bitEric Andersen2001-04-252-2/+2
| | | | for glibc's lchown support. Thanks Larry.
* Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric 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
* Rewrote rm.Matt Kraai2001-04-242-109/+32
|
* Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunatelyEric Andersen2001-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
* Use generic flag names.Matt Kraai2001-04-242-18/+18
|
* Rewrite cp and mv to be SUSv2 compliant.Matt Kraai2001-04-232-0/+297
|
* Simplify pathname building, in which a bug was noted by Larry Doolittle,Matt Kraai2001-04-231-9/+9
| | | | | a patch was provided by Vladimir Oleynik, and am improved patch commited by me.
* Fix buffer underrun noted and solved by Larry Doolittle.Matt Kraai2001-04-191-1/+1
|
* Applied patch from I.Q. to add sort -u as a feature.Mark Whitley2001-04-171-7/+21
|
* Changed line[strlen(line) - 1] = '\0'; to chomp(line);Mark Whitley2001-04-171-1/+1
|
* Applied patch from I.Q. to fix problem with sort -n.Mark Whitley2001-04-171-3/+5
|