summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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).
2003-09-15Fix a simple mistake with pattern space, and add a test for itGlenn L McGrath
2003-09-15Patch by Jean Wolter to fix a bug where a script wouldnt be executedGlenn L McGrath
unless it had #!/bin/sh in the first line "It correctly locates the script, tries to execute it via execve which fails. After that it tries to hand it over to /bin/sh which fails too, since ash - neither provides the absolute pathname to /bin/sh - nor tries to lookup the script via PATH if called as "sh script" "
2003-09-15Fix some memory allocation problemsGlenn L McGrath
----------------------------------------------------------------------
2003-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-09-15fix function prototypeEric Andersen
2003-09-15Needs prototype for close()Eric Andersen
2003-09-15comparison was always false due to limited range of data types.Eric Andersen
Carefully cast to unsigned long long prior to multiply to get the expected result.
2003-09-15Do not shadow the global name 'accept'Eric Andersen
2003-09-15Add a test for the 'P' command and fix current implementation so itGlenn L McGrath
doesnt permanently modify the pattern space.
2003-09-15A test and fix for the sed 'n' commandGlenn L McGrath
2003-09-15Test for use of newline in regex's, this feature is used by mostGlenn L McGrath
configure scripts.
2003-09-15Fix for the sed-append-next-line testGlenn L McGrath
2003-09-15Test the N commandGlenn L McGrath