aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-01-04Dear andersen:Eric Andersen
Is the change on libbb/loop.c which you commited in 2005/1/3 effective really? The __GLIBC__ macro and __UCLIBC__ macro are defined in feature.h in glibc source, so the change may not be effective. If you want to check this with __GLIBC__, feature.h header is needed. Some architectures(e.g. PPC series) need to include linux/posix_types.h in stead of asm/posix_types.h, so the patch which is attached with this mail include <linux/posix_types.h>.
2005-01-03perhaps a better fixEric Andersen
2004-12-26alpha/parisc supportMike Frysinger
2004-12-20fix typoEric Andersen
2004-12-17Minor in-passing crapectomy.Rob Landley
2004-12-09Workaround for uClibc-specific header problem described here:Rob Landley
http://www.busybox.net/lists/busybox/2004-December/013276.html Rob
2004-12-08- CONFIG_FEATURE_READLINK_FOLLOW readlink -f patch from Colin Watson ↵Ned Ludd
<cjwatson@debian.org> on busybox mailing list 08/11/04
2004-12-06merge from udhcp moduleMike Frysinger
2004-11-25Hiroshi found another bug. Currently sed's $ triggers at end of every file,Rob Landley
and with multiple files SuSv3 says it should only trigger at the end of the LAST file. The trivial fix I tried first broke if the last file is empty. Fixing this properly required restructuring things to create a file list (actually a FILE * list), and then processing it all in one go. (There's probably a smaller way to do this, merging with append_list perhaps. But let's get the behavior correct first.) Note that editing files in place (-i) needs the _old_ behavior, with $ triggering at the end of each file. Here's a test of all the things this patch fixed. gnu and busybox seds produce the same results with this patch, and different without it. echo -n -e "1one\n1two\n1three" > ../test1 echo -n > ../test2 echo -e "3one\n3two\n3three" > ../test3 sed -n "$ p" ../test1 ../test2 ../test3 sed -n "$ p" ../test1 ../test2 sed -i -n "$ p" ../test1 ../test2 ../test3
2004-11-16Don't document compiler warnings. _FIX_ compiler warnings.Rob Landley
2004-11-02Correct the install-hardlinks target the same way as was already donePeter Kjellerstedt
for the install target.
2004-10-30Alright, I guess I should be in this too...Rob Landley
2004-10-30Hiroshi Ito found some bugs. The 'c' command (cut and paste) was hardwiredRob Landley
to not put a newline at the end (which was backwards, it should have been hardwired _to_ put a newline at the end, whether or not the input line ended with a newline). Test case for that: echo | sed -e '$ctest' And then this would segfault: echo | sed -e 'g' Because pattern_space got freed but the dead pointer was only overwritten in an if statement that didn't trigger if the hold space was empty. Oops. While debugging it, I found out that the hold space is persistent between multiple input files, so I promoted it to a global and added it to the memory cleanup. The relevant test case (to compare with That Other Sed) is: echo -n woo > woo sed -e h -e g woo echo "fish" | sed -e '/woo/h' -e "izap" -e 's/woo/thingy/' -e '/fish/g' woo - And somebody gratuitously stuck in a c99 int8_t type for something that's just a flag, so I grouped the darn ints.
2004-10-271.00 is stableEric Andersen
2004-10-18mention scratchbox and openembeddedEric Andersen
2004-10-13egor duda writes:Eric Andersen
egor duda wrote: >Ok, here's an updated patch. >'make check' should work now, and one make creates Makefile in build >directory, so one can run 'make' in build directory after that. ahem. It looks like i'm slightly late with it but... Here's a little addition to make 'make O=/some/where PREFIX=/some/where/else install' work. Sorry for delay :( egor
2004-10-13prepare for releaseEric Andersen
2004-10-13return failure when nslookup failsEric Andersen
2004-10-13Simon Poole writes:Eric Andersen
Erik, Attached is a patch for the udhcpc sample scripts, to correct the order in which routers are applied if the DHCP server provides more than one (as per section 3.5 of RFC2132). Apologies for not being on the mailing list and thanks for your continued efforts. Simon.
2004-10-13Make certain clients of bb_make_directory default to honoringEric Andersen
the user's umask
2004-10-11Patch from David Daney:Eric Andersen
It seems that date -s MMDDHHMMYYYY.ss will ignore the .ss part. This patch tries to fix the problem. David Daney.
2004-10-08oopsEric Andersen
2004-10-08unmerged fixEric Andersen
2004-10-08Bump versionEric Andersen
2004-10-08Fix the supported architectures sectionEric Andersen
2004-10-08Add an initial FAQEric Andersen
2004-10-08Fix CONFIG_ASH_MATH_SUPPORT_64 so it actually worksEric Andersen
2004-10-08Patch from Claus Klein to increase, and make more apparentEric Andersen
the hard coded limit on the number of mounts
2004-10-08Wade Berrier writes:Eric Andersen
Hello, Here's a patch for a first attempt at static leases for udhcpd. Included in the tarball are 2 files (static_leases.c, static_leases.h) and a patch against the latest cvs. In the config file you can configure static leases with the following format: static_lease 00:60:08:11:CE:4E 192.168.0.54 static_lease 00:60:08:11:CE:3E 192.168.0.44 Comments/suggestions/improvements are welcome. Wade
2004-10-08Patch from Denis Vlasenko to fix a problem whereEric Andersen
wget http://1.2.3.4/abc/ loses last '/'
2004-10-08Hiroshi Ito writes:Eric Andersen
Hello, all. Busybox init does not handle removed inittab entry correctly. # I'm sorry about my poor english, but you can find # what I would like to say from patch, isn't it? even if you apply this path, when yoy try to change a command line option in inittab, you have to do following steps. 1. remove old line from initrd 2. send HUP signal to init 3. kill old proces which is invoked from init. 4. append new line to inittab 5. send HUP signal to init, again patch is against current CVS + last patch witch I send it last.
2004-10-08Hiroshi Ito writes:Eric Andersen
"kill -HUP 1" reloads inittab, and when I append one line to inittab and send HUP signal two times, It will starts 2 process. patch against current CVS is attached.
2004-10-08Hiroshi Ito writes:Eric Andersen
ash "unset OLDPWD; cd -" causes segmentation fault. ( OLDPWD is not set when sh is invoked from getty. ) patch against current CVS is attached.
2004-10-08Hiroshi Ito writes:Eric Andersen
Hello I'm using busy box on mipsel machine. "grep -f file" will cause segmentation fault. Vladimir N. Oleynik writes: Hiroshi, Thank for bug report, but your patch is full broken. Worked patch attached. (really changes is zero initialize, and indent correcting). --w vodz
2004-10-08Tito writes:Eric Andersen
Hi to all, This patch contains just some fixes for some misleading comments in my_getpwuid.c and my_getug.c. The code is untouched so this patch will not cause troubles. Please apply. Thanks in advance and Ciao, Tito
2004-10-08last_patch139.gz from Vladimir N. Oleynik:Eric Andersen
>I also don't mean to disagree about leaving 30x status codes until after >1.0. In fact, although redirecting http://host/dir to http://host/dir/ >with a 301 is common practice (e.g. Apache, IIS), AFAIK it isn't >actually required (or mentioned) by the HTTP specs. Ok. Attached patch have 302 and 408 implemented features. --w vodz
2004-10-08As noticed by egor duda, current_menu is declared as 'extern struct menuEric Andersen
*current_menu;' in scripts/config/lkc.h line 63, and this conflicts with static definition in mconf.c.
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-10-08Patch from Michael Tokarev:Eric Andersen
Scenario: touch x -- creates plain file name `x' mkdir x -- exits successefully libbb/make_directory.c, bb_make_directory(), contains the following code: if (mkdir(path, 0777) < 0) { /* If we failed for any other reason than the directory * already exists, output a diagnostic and return -1.*/ if (errno != EEXIST) { fail_msg = "create"; umask(mask); break; } /* Since the directory exists, don't attempt to change * permissions if it was the full target. Note that * this is not an error conditon. */ if (!c) { umask(mask); return 0; } } The assumption that EEXIST error is due to that the *directory* already exists is wrong: any file type with that name will cause this error to be returned. Proper way IMHO will be is to stat() the path and check whenever this is really a directory. Below (attached) is a patch to fix this issue.
2004-10-07Make it more apparent that archive creation is not supportedEric Andersen
2004-09-30Patch from William Barsse to fix a segfault when multiple files are specified.Glenn L McGrath
2004-09-24Patch from Dmitry Zakharov to fix a bug triggered by freeswan's scripts.Glenn L McGrath
2004-09-24Patch from Egor DudaGlenn L McGrath
Attached patch prevents modprobe from trying to call 'insmod (null)' whenever nonexistent module is either passed to modprobe via command line or mentioned in modules.dep this replaces cryptic error sh: Syntax error: word unexpected (expecting ")") with modprobe: module some-module not found. egor.
2004-09-24Fix a typoGlenn L McGrath
2004-09-24Remove this error message at Vodz request, it was misleading.Glenn L McGrath
2004-09-24Patch from David Daney to make the -i option work with -l.Glenn L McGrath
2004-09-24A bit of extra explanation regarding STANDALONEEric Andersen
2004-09-23Add some notes on how to make telnetd actually workEric Andersen
2004-09-15Add a missing brace, patch by Hideki IWAMOTOGlenn L McGrath
2004-09-15Tito writes,Glenn L McGrath
"This patch fixes all the bugs in id previously spotted by vodz and me. The binary size increased a bit, but now it should work as expected."