aboutsummaryrefslogtreecommitdiff
path: root/scripts/split-include.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-11-16Don't document compiler warnings. _FIX_ compiler warnings.landley1-12/+13
git-svn-id: svn://busybox.net/trunk/busybox@9517 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-11-02Correct the install-hardlinks target the same way as was already donepkj1-1/+1
for the install target. git-svn-id: svn://busybox.net/trunk/busybox@9497 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-30Alright, I guess I should be in this too...landley1-0/+5
git-svn-id: svn://busybox.net/trunk/busybox@9487 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-30Hiroshi Ito found some bugs. The 'c' command (cut and paste) was hardwiredlandley1-12/+9
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. git-svn-id: svn://busybox.net/trunk/busybox@9486 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-271.00 is stableandersen1-8/+3
git-svn-id: svn://busybox.net/trunk/busybox@9472 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-18mention scratchbox and openembeddedandersen1-1/+3
git-svn-id: svn://busybox.net/trunk/busybox@9447 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-13egor duda writes:andersen1-1/+1
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 git-svn-id: svn://busybox.net/trunk/busybox@9418 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-13prepare for releaseandersen8-462/+1256
git-svn-id: svn://busybox.net/trunk/busybox@9416 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-13return failure when nslookup failsandersen1-2/+5
git-svn-id: svn://busybox.net/trunk/busybox@9415 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-13Simon Poole writes:andersen3-3/+6
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. git-svn-id: svn://busybox.net/trunk/busybox@9414 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-13Make certain clients of bb_make_directory default to honoringandersen3-3/+10
the user's umask git-svn-id: svn://busybox.net/trunk/busybox@9413 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-11Patch from David Daney:andersen1-0/+9
It seems that date -s MMDDHHMMYYYY.ss will ignore the .ss part. This patch tries to fix the problem. David Daney. git-svn-id: svn://busybox.net/trunk/busybox@9406 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08oopsandersen1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@9337 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08unmerged fixandersen1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@9336 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Bump versionandersen1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@9335 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Fix the supported architectures sectionandersen1-7/+8
git-svn-id: svn://busybox.net/trunk/busybox@9334 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Add an initial FAQandersen2-0/+303
git-svn-id: svn://busybox.net/trunk/busybox@9332 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Fix CONFIG_ASH_MATH_SUPPORT_64 so it actually worksandersen1-4/+4
git-svn-id: svn://busybox.net/trunk/busybox@9331 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Patch from Claus Klein to increase, and make more apparentandersen1-2/+4
the hard coded limit on the number of mounts git-svn-id: svn://busybox.net/trunk/busybox@9330 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Wade Berrier writes:andersen9-5/+260
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 git-svn-id: svn://busybox.net/trunk/busybox@9329 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Patch from Denis Vlasenko to fix a problem whereandersen1-4/+8
wget http://1.2.3.4/abc/ loses last '/' git-svn-id: svn://busybox.net/trunk/busybox@9328 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Hiroshi Ito writes:andersen1-5/+31
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. git-svn-id: svn://busybox.net/trunk/busybox@9327 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Hiroshi Ito writes:andersen1-4/+5
"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. git-svn-id: svn://busybox.net/trunk/busybox@9326 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Hiroshi Ito writes:andersen1-0/+1
ash "unset OLDPWD; cd -" causes segmentation fault. ( OLDPWD is not set when sh is invoked from getty. ) patch against current CVS is attached. git-svn-id: svn://busybox.net/trunk/busybox@9325 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Hiroshi Ito writes:andersen1-4/+4
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 git-svn-id: svn://busybox.net/trunk/busybox@9324 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Tito writes:andersen2-14/+14
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 git-svn-id: svn://busybox.net/trunk/busybox@9323 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08last_patch139.gz from Vladimir N. Oleynik:andersen1-31/+83
>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 git-svn-id: svn://busybox.net/trunk/busybox@9322 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08As noticed by egor duda, current_menu is declared as 'extern struct menuandersen1-1/+1
*current_menu;' in scripts/config/lkc.h line 63, and this conflicts with static definition in mconf.c. git-svn-id: svn://busybox.net/trunk/busybox@9321 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08egor duda writes:andersen66-241/+459
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 git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-08Patch from Michael Tokarev:andersen1-1/+5
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. git-svn-id: svn://busybox.net/trunk/busybox@9319 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-10-07Make it more apparent that archive creation is not supportedandersen1-6/+10
git-svn-id: svn://busybox.net/trunk/busybox@9309 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-30Patch from William Barsse to fix a segfault when multiple files are specified.bug11-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@9287 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-24Patch from Dmitry Zakharov to fix a bug triggered by freeswan's scripts.bug11-1/+2
git-svn-id: svn://busybox.net/trunk/busybox@9277 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-24Patch from Egor Dudabug11-0/+5
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. git-svn-id: svn://busybox.net/trunk/busybox@9276 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-24Fix a typobug11-2/+2
git-svn-id: svn://busybox.net/trunk/busybox@9275 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-24Remove this error message at Vodz request, it was misleading.bug11-1/+0
git-svn-id: svn://busybox.net/trunk/busybox@9274 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-24Patch from David Daney to make the -i option work with -l.bug11-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@9273 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-24A bit of extra explanation regarding STANDALONEandersen1-0/+5
git-svn-id: svn://busybox.net/trunk/busybox@9272 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-23Add some notes on how to make telnetd actually workandersen1-2/+36
git-svn-id: svn://busybox.net/trunk/busybox@9271 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-15Add a missing brace, patch by Hideki IWAMOTObug11-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@9257 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-15Tito writes,bug16-108/+126
"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." git-svn-id: svn://busybox.net/trunk/busybox@9256 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-15Only write to shadow file is shadow passwords are enabled. Patch by magicfox ↵bug11-5/+4
modified by myself to retain check for shadow file access. git-svn-id: svn://busybox.net/trunk/busybox@9255 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-15Patch by Felipe Kellermann, use the common escape handling function and ↵bug11-133/+21
remove some unused code. git-svn-id: svn://busybox.net/trunk/busybox@9254 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-14remove a cut/paste mistake, i better get some sleep.bug11-20/+0
git-svn-id: svn://busybox.net/trunk/busybox@9253 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-14Apply patch from Felipe Kellermann to simlify logic of sort functions.bug11-26/+24
I reversed the result of the sort functions to make the big numbers go to the top. git-svn-id: svn://busybox.net/trunk/busybox@9252 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-14Patch by Felipe Kellermann, fix a bug introduced in the last patch by adding ↵bug11-15/+21
a condition around the remote logging, also adds some comments. git-svn-id: svn://busybox.net/trunk/busybox@9251 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-14Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵bug15-19/+18
extra const's also. git-svn-id: svn://busybox.net/trunk/busybox@9250 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-14Patch from Felipe Kellermann, adds missing applet usage options, removes usagebug11-31/+51
for options that are currently not implemented and fixes typos. git-svn-id: svn://busybox.net/trunk/busybox@9249 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-14Patch from tito to add argument checking.bug11-2/+2
git-svn-id: svn://busybox.net/trunk/busybox@9248 69ca8d6d-28ef-0310-b511-8ec308f3f277
2004-09-14I have to assume both Avaks and LSILogic are deliberatly ignoring me.bug11-0/+3
git-svn-id: svn://busybox.net/trunk/busybox@9247 69ca8d6d-28ef-0310-b511-8ec308f3f277