summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-04The variable 'complementaly' used to be allocated with calloc, which zeroed itEric Andersen
out during the allocation process. When vodz changed it to be allocated on the stack, he forgot to explicitly zero it, leaving its value filled with whatever used to be sitting on the stack. It would garbage values, depending on the garbage that happened to be sitting on the stack when the function was called. The result was that applets using bb_getopt_ulflags() were showing unpredictable behavior (such as segfaults), which naturally broke many things.
2004-02-04Bug fix from Tito.Glenn L McGrath
2004-02-04Vodz last_patch_125_2, this patch have: Glenn L McGrath
- synced with dash 0.4.21 - better handle trap "cmds..." SIGINT (strange, i make bad hack for ash and cmdedit, but this work only with this...) - may be haven`t problem with Ctrl-D
2004-02-01Rewrite parse_config_file(). Among the old version's problems:Manuel Novoa III
No checking for lines that were too long. No checking that fgets returning NULL was actually due to EOF. Various whitespace handling inconsistencies. Bloat (switches and multiple identical function calls). Failure to check for trailing characters in some cases. Dynamicly allocated memory was not free()d on error. Given that this controls suid/sgid behavior, the sloppy coding was really inexcusable. :-(
2004-02-01Use bb_xstrdup() instead of strdup().Manuel Novoa III
2004-01-31Fix http proxy use, bytes were swapped1_00_pre6Glenn L McGrath
2004-01-31Mention changes to the daily snapshotsEric Andersen
2004-01-31Update docs for releaseEric Andersen
2004-01-31Bump version for releaseEric Andersen
2004-01-30Use standard C99 typesEric Andersen
2004-01-30Use proper C99 typesEric Andersen
2004-01-30Fixup use of 'u_int' to instead use 'unsigned int'Eric Andersen
2004-01-30s/u_int/uint/gEric Andersen
2004-01-30s/u_int/unsigned int/gEric Andersen
s/u_short/unsigned short/g
2004-01-30Use proper C99 typesEric Andersen
2004-01-30Use proper C99 types throughout. So not use silly typedefs.Eric Andersen
2004-01-30Avoid symbol naming conflict with libmEric Andersen
2004-01-30Support new uClibc stdio core.Manuel Novoa III
2004-01-29Apply a couple of optimizationsEric Andersen
2004-01-27Teach busybox ps to get the correct uid when displaying stuffEric Andersen
2004-01-27New applet, seq. No options, just the basics.Glenn L McGrath
2004-01-27Align using spaces to furthurest character and then one tab, now theyGlenn L McGrath
should always be aligned.
2004-01-26A few little updates, mostly cosmeticEric Andersen
2004-01-26Sigh. TRENDware has released source -- only for busybox and udhcp.Eric Andersen
So despite their not providing kernel source, they have compiled with the requirements for busybox at least...
2004-01-26Pascal Brisset writes:Eric Andersen
uuencode fails to encode binary data because it right-shifts bytes as signed chars and keeps the duplicated sign bits. The original base64_encode() from wget/http.c is broken as well, but it is only used to encode ascii data. -- Pascal
2004-01-25Be stricter when converting strings to integers. Should fix the problemManuel Novoa III
reported by Rob.
2004-01-25Fix compile error when tab completion disabledGlenn L McGrath
2004-01-25Add the -r option as a synonym of -RGlenn L McGrath
2004-01-25Add the -h, --dereference option for archive creation.Glenn L McGrath
2004-01-23Enable long options, adds 150 bytes.Glenn L McGrath
2004-01-23Correct check for only one of K or S optionsGlenn L McGrath
2004-01-23Check valid options were givenGlenn L McGrath
2004-01-23Dont change ownership unless we created the directory.Glenn L McGrath
2004-01-23Remove unneeded conditions and logic, fix bug where ownership didntGlenn L McGrath
change. Dont use bb_make_directory it doesnt have the features, and its ugly to work around it.
2004-01-22last_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debianGlenn L McGrath
bug #228915
2004-01-22Check one and only one of start, stop are given.Glenn L McGrath
Remove some global variables. #define some getopt values.
2004-01-22Vodz, last_patch_123, patch have new version getopt_ulflags.Glenn L McGrath
- size reduced 34 bytes - don`t use dynamic memory allocation - small indent correction.
2004-01-21Patch from Atsushi Nemoto, recent MIPS kernel headersGlenn L McGrath
does not provide PAGE_SHIFT for userland (because now mips-linux kernel supports PAGESIZE other than 4K).
2004-01-21Patch by Richard Kojedzinszky, when using END at end of lines it wasGlenn L McGrath
skipping to next line, cw command was leaving one char in buffer
2004-01-20Redo getconfigent, save 150 bytes, still small memory leak whenGlenn L McGrath
parsing invalid entries.
2004-01-20Patch from Tito, reduce size, merge functions that are only used once.Glenn L McGrath
2004-01-18Stephane Billiart writes:Eric Andersen
bb_lookup_port now takes 3 parameters but rdate has not been modified accordingly and fails to compile in the current CVS version. The modification below fixes the problem. Now, RFC868 allows both UDP and TCP implementations of the time protocol so this may not work if someone defines a udp time service other than 37 but who would do that?
2004-01-18Fix up a couple of bugs i introduced in yesterdays cleanup.Glenn L McGrath
2004-01-18Fix a bug where `ls -le` would print the time twice.Glenn L McGrath
2004-01-18Use bb_getopt_ulflags, save 200-300 bytesGlenn L McGrath
2004-01-17Patch from Leif Lindholm (slightly modified by me), to fix httpGlenn L McGrath
redirection. Example of incorrect behaviour was the following url, busybox wget didnt get redirected to the busybox url as it should. http://freshmeat.net/redir/busybox/953/url_homepage/www.busybox.net
2004-01-17Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath
/etc/services support for inetd, netcat and tftp.
2004-01-17Patch from Arthur Othieno, clarify common options between dpkg and dpkg-debGlenn L McGrath
2004-01-17The functions setconfig, enter and bump_nofile were only called once, marge ↵Glenn L McGrath
them into the calling function.
2004-01-17Use 1 line for function name and return value,Glenn L McGrath
remove dofork define/variable, dont check pid value is < or > than 0 if we know it is 0.