aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2001-05-17Fix invocation of builtin shell to have proper argc and argv.Matt Kraai
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
by Larry Doolittle.
2001-05-15Patch from Vladimir:Eric Andersen
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
2001-05-11This patch from Lars Kellogg-Stedman, fixes the behavior ofEric Andersen
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
2001-05-11Check that putenv succeeded, suggested by Jonas Holmberg.Matt Kraai
2001-05-11Fix handling of '-' option and way that variables are added to theMatt Kraai
environment from Jonas Holmberg <jonas.holmberg@axis.com>. Fix handling of command options by adding + to getopt string.
2001-05-07Silence cut so it doesn't whine during compilationEric Andersen
2001-05-07Patch from Vladimir to use last_char_is to simplify du.cEric Andersen
2001-05-07Patch from Vladimir to remove testing stuff from sttyEric Andersen
2001-05-05Rewrite -c and -b processing to shrink code and eliminate buffer overrun.Matt Kraai
2001-05-03Remove summary header. Not present in GNU or SUSv2.Matt Kraai
2001-04-30Made new xreadlink function for libbb and changed applets to use it instead ofMark Whitley
readlink(2).
2001-04-30These do not need initial values. Let them live in the bss.Eric Andersen
-Erik
2001-04-26Fix handling of permission addition and removal (e.g., o-r).Matt Kraai
2001-04-26Doh. I never allocated storate for the struct stat I am using.Eric Andersen
There was just a never initialized pointer. -Erik
2001-04-26Fix handling of -R flag.Matt Kraai
2001-04-26Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik
2001-04-26As Larry pointed out, this the off by one canbe fixed much more elegantly.Eric Andersen
2001-04-26Fix a silly off-by-one error noticed by Santiago Garcia Mantinan ↵Eric Andersen
<manty@debian.org> -Erik
2001-04-25Applied patch from I.Q. to add -s to cmp.Mark Whitley
2001-04-25Larry noticed that chown and chgrp has the version numbers off a bitEric Andersen
for glibc's lchown support. Thanks Larry.
2001-04-25Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen
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
2001-04-24Rewrote rm.Matt Kraai
2001-04-24Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunatelyEric Andersen
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
2001-04-24Use generic flag names.Matt Kraai
2001-04-23Rewrite cp and mv to be SUSv2 compliant.Matt Kraai
2001-04-23Simplify pathname building, in which a bug was noted by Larry Doolittle,Matt Kraai
a patch was provided by Vladimir Oleynik, and am improved patch commited by me.
2001-04-19Fix buffer underrun noted and solved by Larry Doolittle.Matt Kraai
2001-04-17Applied patch from I.Q. to add sort -u as a feature.Mark Whitley
2001-04-17Changed line[strlen(line) - 1] = '\0'; to chomp(line);Mark Whitley
2001-04-17Applied patch from I.Q. to fix problem with sort -n.Mark Whitley
2001-04-14Handle endian-ness. Patch from Paul J.Y. Lahaie <pjlahaie@linuxcare.com>Eric Andersen
-Erik
2001-04-12Fix dos2unix/tr problem noted by Larry Doolittle.Matt Kraai
2001-04-12use tmpfile() and revert my previous changes... convert() belongs hereGlenn L McGrath
2001-04-12Move convert to libbbGlenn L McGrath
2001-04-11Vladimir's patch to reverse previous patchGlenn L McGrath
2001-04-09Apply Vladimir's latest cleanup patch.Eric Andersen
-Erik
2001-04-05more FILE_OFFSET_BITS == 64 adjustments.Eric Andersen
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-04-03Place a temporary bandaid on the ls/du/df human-readable issue. This method isEric Andersen
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
2001-03-29Add in a new standalone env applet for fixing up app's environmentsEric Andersen
-Erik
2001-03-28Fix ls so it uses make_human_readable_str() the same way alreadyEric Andersen
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.
2001-03-27Applied patch from David Douthitt to fix problem where ls reports half theMark Whitley
file size. Should close bug #1140.
2001-03-23-Wshadow tr fix from Jeff GarzikEric Andersen
2001-03-21A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen
cleans up most of the now-revealed problems.
2001-03-19Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>Eric Andersen
2001-03-19Simpify detection of no options.Eric Andersen
2001-03-19locale correction patch from VladimirEric Andersen
2001-03-19Should exclude "i" option when not enabled.Eric Andersen
2001-03-19Doesn't need a "-" option -- getopt does that for us.Eric Andersen