aboutsummaryrefslogtreecommitdiff
path: root/libbb/printf.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-11-06Rewrite, 800+ bytes smaller and more robust.Glenn L McGrath1-330/+178
2003-11-05By popular demand, revert to version 1.21, since Rules.mak:1.22Eric Andersen1-11/+13
causes the build to ignore CROSS_COMPILER_PREFIX set in .config
2003-11-05Fix tar -j supportGlenn L McGrath3-23/+43
Use the old fork() method of tar compression support, rather than read_bz2.... - (*uncompress)(int in, int out) seems like a more natural interface for compression code. - it might improve performance by seperating the work into one cpu bound and one io bound process. - There is extra code required to do read_[gz|bunzip] since (*uncompress)(int in, int out) will normally be used by the standalone compression applet. There have been problems with this method so if you see a "Short read" error let me know.
2003-11-04Fix oversight with CONFIG_FEATURE_AUTOWIDTH handlingEric Andersen1-0/+2
2003-11-03Set unset_env pointing to a NULL item, to prevent us from walkingEric Andersen1-1/+5
off the end of the list and segfaulting. -Erik
2003-11-03Fix rdate and ftpget/ftpput so they compile with the new xconnect.Eric Andersen4-18/+34
I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work.
2003-11-03Avoid conflicts with the 2.6 kernel headers, which defineEric Andersen1-0/+5
_IOR rather differently, thereby breaking the BLKGETSIZE64 ioctl. -Erik
2003-10-31Rework wget, the xconnect interface, and its various clientsEric Andersen6-67/+70
in order to fix the problems with round robin DNS reported by Andrew Flegg: http://busybox.net/lists/busybox/2003-October/009579.html This removes the ipv6 specific xconnect dns lookups. I do not see why that would need to be special cased for ipv6 as was done, but that will just have to be tested. So IPV6 people -- please test this change! -Erik
2003-10-31Put back the tar support stubs (and warnings) for now.Eric Andersen1-0/+16
2003-10-31Try to make indent formatting less horribleEric Andersen1-39/+37
2003-10-31Patch from David Meggy to make the swap default to the new version if noGlenn L McGrath1-5/+1
version is specified and the kernel is relatively new.
2003-10-31Move the tail -c option from FANCY_TAIL to the default tail, this makesGlenn L McGrath2-18/+9
the default tail options conform to SUSv3, with the non-SUS option all in FANCY_TAIL
2003-10-31Fix stupid typoEric Andersen1-1/+1
2003-10-31Remove config options for sort -u and sort -r, they are always enabledGlenn L McGrath1-16/+0
2003-10-30Add a comment with link to the SUSv3 standard for xargsGlenn L McGrath1-0/+3
2003-10-30run through indentGlenn L McGrath1-387/+392
2003-10-30Patch from Dmitry Zakharov,Glenn L McGrath1-12/+28
Fixes two bugs: - END block didn't execute after an exit() call - huge memory consumption and performance degradation on large input (now performance is comparable to gawk)
2003-10-30make certain values specified in the environment always winEric Andersen1-13/+11
2003-10-29Accept the -c option and do nothingGlenn L McGrath1-0/+3
2003-10-29fix a bug where `which' doesn't check whether the file passed as an argumentGlenn L McGrath1-1/+3
is a regular file, patch by Arthur Othieno
2003-10-29make CONFIG_FEATURE_UNARCHIVE_TAPE common between itar and cpio, patchGlenn L McGrath1-7/+10
by Arthur Othieno
2003-10-29"A few references to sourcefiles and URLs in docs/contributing.txt hadGlenn L McGrath1-7/+7
gone stale" - Peter Korsgaard
2003-10-29Use the return value from uncompress_bunzip, fix some typoGlenn L McGrath2-10/+7
2003-10-28Add some error messages, use xmalloc instead of mallocGlenn L McGrath1-5/+18
2003-10-28Fix a logic error, the old bunzip code returned non-zero for success,Glenn L McGrath1-1/+1
new code returns 0 for success.
2003-10-28Conditionally compile some files.Glenn L McGrath1-20/+23
This hides a bug related to the new bunzip code in the tar and dpkg[-deb] applets. It will also reduce compile time a little as some unused files wont be compiled.
2003-10-23Another bzip2 update and speedup from Manuel Novoa III, with someEric Andersen1-223/+267
additional changes (primarily lots of comments) from Rob Landley.
2003-10-22the dc applet now needs libmEric Andersen1-0/+7
-Erik
2003-10-22sighEric Andersen1-1/+1
2003-10-22Goetz Bock writes:Eric Andersen2-2/+24
Dear list, during my quest do pack busybox into an RPM, I've fixed a small bug (missing \n) in dc's usage. And added two additional operations: mod and exp/power. Feel free to drop them.
2003-10-22last_patch116 from vodz:Eric Andersen2-13/+23
Stephane, >Using busybox+uclibc, crond syslog messages look like: > >Oct 9 09:04:46 soekris cron.notice crond[347]: ^Icrond 2.3.2 dillon, >started, log level 8 Thanks for testing. >The attached patch corrects the problem. Your patch is not correct. Correct patch attached. Also. Last patch have - add "Broken pipe" message to ash.c - busybox ash synced with dash_0.4.18 --w vodz
2003-10-22Tomasz Motylewski reported that the 'which' applet does not findEric Andersen1-12/+30
files when the full file PATH is specified. This patch from Arthur Othieno fixes it.
2003-10-22Patch from Arthur Othieno for style-guide.txt conformanceEric Andersen3-12/+36
2003-10-22Patch from Arthur Othieno for docs/style-guide.txt conformance.Eric Andersen1-6/+24
2003-10-22Patch from Arthur Othieno to fix a compiler warningEric Andersen1-0/+2
2003-10-22make this a little bit less messyEric Andersen1-13/+11
2003-10-22Update mail locationEric Andersen1-2/+2
2003-10-22Disable any buffering to stdoutEric Andersen1-0/+1
2003-10-22Tito writes:Eric Andersen1-3/+2
Hi to all, I'm sorry but I didn't spot this big fat bug until now, Matteo Croce emailed me about it. Please apply this patch as the devfsd applet is broken and works only on a system booted with a standard devfsd ( the test I mostly did :-( ), but if used at boot time it DOESN'T WORK. Thanks in advance and please apply Tito
2003-10-22Andreas Mohr writes:Eric Andersen14-104/+103
the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer
2003-10-21Do a better job of dealing with screwy s390 abi changesEric Andersen1-2/+5
2003-10-20ccording to this:Eric Andersen1-3/+3
http://sources.redhat.com/ml/binutils/2003-01/msg00290.html The name R_390_GOTOFF was changed to R_390_GOTOFF32. -Erik
2003-10-18Manuel Novoa III writes:Eric Andersen1-22/+43
Hello Rob, Here's a patch to your bunzip-3.c file. Nice work btw. One minor bug fix... checking for error return when read()ing. Some size/performance optimizations as well. One instance of memset() seems unnecssary. You might want to take a look. Anyway, on my machine, decompressing linux-2.6.0-test7.tar.bz2 to /dev/null gave the following times: bunzip-3.c bzcat (system) bunzip-3.c (patched) real 0m24.420s 0m22.725s 0m20.701s user 0m23.930s 0m22.170s 0m20.180s sys 0m0.070s 0m0.080s 0m0.140s Size of the patched version is comparable (slightly larger or smaller depending on compiler flags). Manuel
2003-10-18Rob Landley's new micro-bunzip version 3. Rob writes:Eric Andersen1-1592/+465
The API for using partial writes, as described in my last message, sucked. So here's a patch against my last patch that changes things so that write_bunzip_data calls read_bunzip_data itself behind the scenes whenever necessary. So usage is now just start_bunzip(), write_bunzip_data() until it returns a negative number, and then the cleanup at the end of uncompressStream. It adds 32 bytes to the executable, but it should allow the caller (tar) to be simplified enough to compensate. Total -Os stripped exe size now 6856 bytes. Rob P.S. I attached the whole C file so you don't have to keep incremental patches straight if you don't want to. :) P.S. In the version I'm banging on now, I've simplified the license to just LGPL. I read the OSL a bit more closely and the patent termination clause would have bit IBM in their counter-suit of SCO if the code in question had been OSL instead of GPL, and I've decided I just don't want to beta-test legal code right now.
2003-10-17old gccTim Riker1-3/+3
2003-10-11Paul Mundt (lethal) writes:Eric Andersen1-12/+48
Erik, The format for /proc/meminfo has changed between 2.4 and 2.6, quite considerably. In addition to the removal of the two-line summary that was present in 2.4, MemShared was also removed. Presently (at least in busybox CVS HEAD), top fails to parse this correctly and spews forth a: top: failed to read 'meminfo' message. This patch switches around some of the semantics a little to do sane parsing for both 2.4 and 2.6. Also, in the event that the summary gets yanked from 2.4, this patch will deal with that as well. With this patch, I'm able to run top correctly on 2.6.0-test7 (tested on sh). Please apply. procps/top.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 48 insertions(+), 12 deletions(-)
2003-10-10Vodz last_patch_117, update options for new xargsGlenn L McGrath2-8/+51
2003-10-10Vods versions of xargsGlenn L McGrath1-191/+510
2003-10-09I don't need to have my email adder listed twiceEric Andersen1-1/+1
2003-10-09Do not use kernel headersEric Andersen1-13/+50