summaryrefslogtreecommitdiff
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 Larry Doolittle to fix pristine build breakage.Mark Whitley
2001-04-25Removed obsoleted BB_FEATURE_RM_INTERACTIVEMark Whitley
2001-04-25Applied patch from I.Q. to add -s to cmp.Mark Whitley
2001-04-25libbb.h now includes ../busybox.h. This way, files in libbb that haveMark Whitley
BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this.
2001-04-25Some more cleanups for insmod from Larry.Eric Andersen
-Erik
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-25Moved some #ifdefs down below #include "busybox.h" where they belong.Mark Whitley
2001-04-25Sync'ed up the olympus section between this and stock Config.hMark Whitley
2001-04-25Fixed a BB_MTAB #define buglet reported by Magnus Damm.Mark Whitley
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-24Cleanup more carefully after pod2htmlEric Andersen
2001-04-24Several cleanups from Larry.Eric Andersen
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-24Update applet define from BB_CP_MV to BB_CP and BB_MV.Matt Kraai
2001-04-24Use generic flag names.Matt Kraai
2001-04-24Move applet_name declaration from busybox.h to libbb.h.Matt Kraai
2001-04-23Applied patch from Larry Doolittle to remove some strlen calls, and add oneMark Whitley
paranoia check to avoid buffer underrun. Saves 120 text bytes.
2001-04-23Remove file obsoleted by cp/mv rewrite.Matt Kraai
2001-04-23Rewrite cp and mv to be SUSv2 compliant.Matt Kraai
2001-04-23Reversed last patch; unnecessary.Mark Whitley
2001-04-23Added a sanity check to fix weird bug exposed when sourcing in commands from aMark Whitley
file with lash. Based on report from Heinz Walter.
2001-04-23Change link order so that libbb functions use libpwd.a when appropriate.Matt Kraai
2001-04-23Some patches from Gennady Feldman. Fixed a glob problem such thatEric Andersen
'ls *.h Config.h' works. Fixed a silly typo with fg/bg process control. Made cmdedit exit sanely when it cannot read input.
2001-04-23A patch from Marc Karasek and Kanoj (kernel serial.c maintainer)Eric Andersen
so init will work on serial consoles with 2.4.3+ kernels, thanks to Fabrice Gautier <gautier@email.enst.fr> for finding this one. -Erik
2001-04-23Simplify file_prefix handling, and use of *dir variable.Glenn L McGrath
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-21Fix horrible, horrible memmory leak. I wondered why processes were dying !Glenn L McGrath
2001-04-21Clearly define out exclude list code, as recommended by Larry DoolittleGlenn L McGrath
2001-04-20Fixed a buglet where an extra newline was being added after an insert commandMark Whitley
in some cases.
2001-04-20Made a correction to a bad test expression. Props to Larry Doolittle forMark Whitley
spotting this one.
2001-04-20Applied patch from Larry Doolittle to give users the third option of puttingMark Whitley
buffers in BSS (in addition to stack and heap).
2001-04-20Set permissions of created fileGlenn L McGrath
2001-04-19This has two patches. First it moves interface.c to libbb (it isEric Andersen
support code after all). It also contains a patch from Larry Doolittle that removes two instances of "strlen([^)]*) *- *1", un-shadows two variables, relaxes requirement for a sprintf(3) that returns number of bytes written, and eliminates a duplicate subroutine.
2001-04-19Fix buffer underrun noted and solved by Larry Doolittle.Matt Kraai
2001-04-18Move real_loop.h to libbb, where it belongs.Eric Andersen
-Erik
2001-04-18Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>Eric Andersen
2001-04-18Eliminate spurious warning, convert to getopt, and eliminate redundant check.Matt Kraai
2001-04-18Fix a number of problems with argument handling.Matt Kraai
2001-04-18Eliminate a segfault when called on an existing file with out an extension:Matt Kraai
touch foo && gunzip foo
2001-04-18Eliminated seeks so that we work correctly on pipes, and removed reliance onMatt Kraai
undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution.
2001-04-18Fix zcat/gunzip when reading from stdinGlenn L McGrath
2001-04-17- updated busybox_header.pod by adding adjtimex to the list.John Beppu
- a new busybox.pod that reflects my fixes, and todays patches to usage.h
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 a patch from Laurence Anderson to fix the wget statusbar and a patchMark Whitley
to usage.h to document the -q option.
2001-04-17Applied patch from I.Q. to fix problem with sort -n.Mark Whitley