aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-10-18Manuel Novoa III writes:Eric Andersen
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 Andersen
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 Riker
2003-10-11Paul Mundt (lethal) writes:Eric Andersen
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 McGrath
2003-10-10Vods versions of xargsGlenn L McGrath
2003-10-09I don't need to have my email adder listed twiceEric Andersen
2003-10-09Do not use kernel headersEric Andersen
2003-10-09Fix an ommision preventing building, patch by Tito.Glenn L McGrath
2003-10-09example devfs config file, patch from Tito.Glenn L McGrath
2003-10-09New applet, devfsd, by Matteo Croce and TitoGlenn L McGrath
2003-10-09Patch from Steven Scholz, fix some warningsGlenn L McGrath
2003-10-09Bugfix for xargsGlenn L McGrath
2003-10-09Arnd Ben Otto writes:Eric Andersen
Hi Eric I have written a small patch for the Busybox syslogd. With this patch one can limit the size of the messagfile. As soon as the limit is reached the syslogd can rotate or purge the messagefile(s) on his own. There is no necessity to use an external rotatescript. Even if logread does something similar, its very handy to have some messagefile after your box crash. I wrote this patch initial vor BB 0.6x where no cron daemon was avail. Now I adapted it for the new Version and i hope it is still useful. At least I still use it :-) bye Arnd
2003-10-09We did not have a safe_write, which is the analog to safe_read. ConvertEric Andersen
full_write to use safe_write internally, which is needed to guarantee proper behavior, i.e. when writing to a pipe.
2003-10-09Fix some warnings that have crept in recentlyEric Andersen
2003-10-09Patch from Tito, size optimisation and fix error in exit code of -VGlenn L McGrath
option
2003-10-09Comaptability with gcc-2.95Glenn L McGrath
2003-10-06Vodz last_patch_105 without his xargs patch which doenst apply cleanlyGlenn L McGrath
2003-10-04Add the x, n, s and E options, remove -r as its expected behaviour.Glenn L McGrath
2003-10-04Patch from Rob Landley;Glenn L McGrath
Moving on to building diffutils, busybox sed needs this patch to get past the first problem. (Passing it a multi-line command line argument with -e works, but if you don't use -e it doesn't break up the multiple lines...)
2003-10-04Woops, the previous patch reversal wasnt complete, breaking everything.Glenn L McGrath
2003-10-03Reverse my previous changes and make a note about why its dont this wayGlenn L McGrath
2003-10-03Dont mix xarg options with utility option, fixes example ofGlenn L McGrath
`echo "README" | xargs ls -al` Dont specify a path for the default behaviour of echo args allocated space for an extra ptr Use defines for the different options
2003-10-03Vodz, last_patch_114Glenn L McGrath
- env vars CONTENT_TYPE, CONTENT_LENGTH, HTTPD_REFERER, REMOTE_USER and AUTH_TYPE(Basic always). - POST data pipied now (previous version have loading into memory may be big size data and reducing with hardcoded limit) - removed $CGI_foo environment variables, else my have rubbish enviroment if POST data have big binary file
2003-10-03Patch by Rob Landley, fix warningGlenn L McGrath
2003-10-03argc has already been decrementedGlenn L McGrath
2003-10-03Patch from Rob Landley, Simplify organisation of arguments.Glenn L McGrath
2003-10-02Fix -C option when creating tar files.Glenn L McGrath
Need to chdir after the tar file is opened, so make common tar filename parsing and send the file descriptor rather than filename to writeTarFile. Modify the verboseFlag operation to determine wether to display on stderr or stdout at display time, simpler than doing it in tar_main.
2003-10-01Thomas Lundquist, update for current structureGlenn L McGrath
2003-10-01Patch from Rob Landley to fix backrefsGlenn L McGrath
2003-10-01Patch by Rob Landley, fix "newline after edit command"Glenn L McGrath
2003-10-01Patch by Rob Landley, work in progress update, fixes lots of bugs,Glenn L McGrath
introduces a few others (but they are being worked on)
2003-09-26Patch by Guillaume MorinGlenn L McGrath
Fix two race conditions, as described at. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=212764
2003-09-26Patch from Fillod Stephane Glenn L McGrath
Add follow mode to logread, ala "tail -f /var/log/messages" Note: output to a slow serial terminal can have side effects on syslog because of the semaphore. In such case, define RC_LOGREAD.
2003-09-26add size parameter to syslogd -CGlenn L McGrath
Patch by Padraig, resubmitted by Fillod Stephane
2003-09-26Patch by Fillod Stephane, declare variables as static to not clobberGlenn L McGrath
busybox namespace
2003-09-24Use a variable for the config files, makes it easier to syncronise withGlenn L McGrath
debian builds
2003-09-24Syncronise with debian busybox-cvs packageGlenn L McGrath
2003-09-24Fix some typo's, remove some extra free statementsGlenn L McGrath
2003-09-24Add the -d optionGlenn L McGrath
2003-09-24Add the "install" applet, move get_ug_id to libbb as its used by chown,Glenn L McGrath
chgrp and install.
2003-09-20Patch by Steinar H. Gunderson to fix debian bug #211675.Glenn L McGrath
Linking to my_getgrnam from libpwdgrp wasnt working, instead it was trying to use functionality from glibc, which pulled in libnss.
2003-09-17Patch by Junio C Hamano to workaround a gcc compiler bug.Glenn L McGrath
The construct certain vintages of GCC (the one I have trouble with is 3.2.3) have trouble with looks like the following: static struct st a; static struct st *p = &a; struct st { int foo; }; static void init(void) { a.foo = 0; } The problem disappears if we move the struct declaration up to let the compiler know the shape of the struct before the first definition uses it, like this: struct st { int foo; }; /* this has been moved up */ static struct st a; static struct st *p = &a; static void init(void) { a.foo = 0; }
2003-09-16Configuration option to define wether to follows GNU sed's behaviour Glenn L McGrath
or the posix standard. Put the cleanup code back the way it was.
2003-09-16Fix a bug that creapt in recently with substitution subprinting, and addGlenn L McGrath
a test for it.
2003-09-16Compile get_terminal_width_heightGlenn L McGrath
2003-09-15Patch from Stephane Billiart to fix an unused variable warning.Glenn L McGrath
2003-09-15Patch from Bastian Blank to fix a problem when runing find under ash.Glenn L McGrath
"If the shell is compiled with -DJOBS, this is all fine -- find wasn't stopped (it was killed), so it correctly uses WTERMSIG instead of WSTOPSIG. However, if the shell _isn't_ compiled with -DJOBS (which it isn't in d-i), only WSTOPSIG is used, which extracts the high byte instead of the low byte from the status code. Since the status code is 13 (SIGPIPE), "st" suddenly gets the value 0, which is equivalent to SIGEXIT. Thus, ash prints out "EXIT" on find's exit."
2003-09-15Patch from Tito, Reduces the size of busybox's strings applet from 1900 toGlenn L McGrath
1788 bytes (for strings.o).