aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
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
2001-03-19Patch from Vladimir to force interactiveFlag=FALSE when forceFlag=TRUEEric Andersen
2001-03-19getopt-ify rm so that BB_FEATURE_RM_INTERACTIVE will workEric Andersen
2001-03-13Credited Christophe Boyaniqu for interactive patch to rm.Mark Whitley
2001-03-13Applied patch from Christophe Boyanique to add -i support to rm.Mark Whitley
2001-03-10/* getopt not needed */Mark Whitley
2001-03-09Added some more '/* getopt not needed */' lines.Mark Whitley
2001-03-09Fixed df.c so that nfs volumes will display properly (fixing bug #1113).Eric Andersen
Problem was 512/1024 = 0 if you use longs, so I cast KILOBYTE to a double, then cast the result back to an int after the math is done, letting C's type promotion do its magic for the rest. -Erik
2001-03-09Patch from Jeff Garzik marking a few 'getopt not needed' apps.Eric Andersen
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-03-09Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen
warnings with glibc 2.2 and use always use xfopen -Erik
2001-03-07Eliminate superfluous test.Matt Kraai
2001-03-07Some minor cleanups to df.c. Also, with Erik's blessing, changed name ofMark Whitley
'format' function to 'make_human_readable_str'.
2001-03-07Static-ify a variable. make du work with all the human-readable variantsEric Andersen
since my last pass only fixed 'du -h' but left the others broken.
2001-03-07Fix up du so it behaves itself also.Eric Andersen
-Erik
2001-03-07Fix up df so it works properlyEric Andersen
-Erik
2001-03-07Fix up ls.c to ensure human readable works properly in all casesEric Andersen