aboutsummaryrefslogtreecommitdiff
path: root/libbb/compare_string_array.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-08-04Add busybox_old to distclean.landley1-2/+1
git-svn-id: svn://busybox.net/trunk/busybox@15780 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-04Add comments to all the functions in this file documenting what they're for.landley1-33/+76
git-svn-id: svn://busybox.net/trunk/busybox@15779 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-04Ok, that's not a typo, that's just me not thinking.landley2-2/+2
git-svn-id: svn://busybox.net/trunk/busybox@15778 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-04Typo.landley1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15777 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-04Now that we have xopen3(), it's just plain unclean to have xopen() withlandley2-2/+2
O_CREAT. Two users are still doing it (and thus getting permissions 777), I'm not sure what permissions they should be using but here they are changed to xopen3(). This costs us a dozen or so bytes, but removing the 777 from xopen() should get some of that back. git-svn-id: svn://busybox.net/trunk/busybox@15776 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-04Use xopen3() instead of an after-the-fact chown.landley1-6/+2
git-svn-id: svn://busybox.net/trunk/busybox@15775 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-04Thinko spotted by Vladimir Dronnikov.landley1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15774 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03Try to make a "type-punned pointer" warning go away for somebody on thelandley1-3/+2
buildroot list. git-svn-id: svn://busybox.net/trunk/busybox@15773 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03Patch from tito to improve options parsing.landley1-2/+2
git-svn-id: svn://busybox.net/trunk/busybox@15772 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themlandley15-32/+22
were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack. git-svn-id: svn://busybox.net/trunk/busybox@15771 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03These should have been part of 15767 too.landley9-61/+34
git-svn-id: svn://busybox.net/trunk/busybox@15770 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03Fix umount so loop device disassociation hopefully doesn't screw up errno onlandley1-16/+12
a failed mount. And while I'm at it, legacy mdev removal was only being done in the _failure_ case? That can't be right. Plus minor header cleanups and an option parsing tweak. git-svn-id: svn://busybox.net/trunk/busybox@15769 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03Attempt to fixup httpd.c to match svn 15767.landley1-19/+6
git-svn-id: svn://busybox.net/trunk/busybox@15768 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley143-1720/+710
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03Remove apparent typo in "bool" line.rpjday1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15766 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-03Move declaration to be compatible with older gcc's.rpjday1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15765 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-08-01Make a gcc 4.1 warning go away.landley1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15763 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-31Announce 1.2.1landley1-0/+25
git-svn-id: svn://busybox.net/trunk/busybox@15762 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-311) ifeq is make syntax, #ifeq is a make comment.landley1-7/+10
2) The check_cc macros should probably all have the same number of arguments. 3) Move the -Werror into the gcc 4.0 on i386 test, because gcc 4.1 is broken and produces warnings for things that provably aren't incorrect. In other news it would be nice if our check_ld macro actually did something, and why does or makefile do all the check_cc calls, then call itself as if it's building out of tree, then do all the check_cc calls again? git-svn-id: svn://busybox.net/trunk/busybox@15761 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-31Remove code that can't be reached.landley1-3/+1
git-svn-id: svn://busybox.net/trunk/busybox@15760 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-31Tito said that strings is a complete rewrite.landley1-41/+2
git-svn-id: svn://busybox.net/trunk/busybox@15758 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-30Switch off CONFIG_NITPICK in defconfig. (Kind of the point of CONFIG_NITPICK.)landley1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15756 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-27Add back in non-ifdef version of FEATURE_PRETTY_PRINT, and get the attributionlandley2-3/+40
right this time. git-svn-id: svn://busybox.net/trunk/busybox@15754 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-27And now, with a for loop, so it can handle the nested USE() case.landley1-2/+6
git-svn-id: svn://busybox.net/trunk/busybox@15753 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-27There's no excuse for adding new #ifdefs to the code like that. None at all.landley2-39/+3
git-svn-id: svn://busybox.net/trunk/busybox@15752 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-27I touched perl. I feel dirty.landley1-2/+2
Make autodocifier suck less. It still doesn't handle nested USE( USE() ) case (the inner USE() winds up in the output), but making it recursive involves getting perl to accept a "for" loop and it's telling me that "break" is an unrecognized bareword and I hate perl. This is at least an improvement. git-svn-id: svn://busybox.net/trunk/busybox@15751 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-27allow people to display dmesg output without syslog levelsvapier2-3/+39
git-svn-id: svn://busybox.net/trunk/busybox@15750 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-27eat gremlinsvapier1-4/+4
git-svn-id: svn://busybox.net/trunk/busybox@15749 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-27de-cuddle if( to if (vapier1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15748 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-26Rich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smallerlandley2-35/+25
fix than his, and shrank the code a bit on top of that so the net size is smaller, and added a test to the test suite for this case. Plus I cleaned up the #includes and removed unnecessary "const"s while I was there. git-svn-id: svn://busybox.net/trunk/busybox@15746 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-26Patch from Shaun Jackman, set optind by hand if we don't call getopt.landley1-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@15745 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-26Unbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, Ilandley1-1/+1
already have that one, but it moves up the list...) git-svn-id: svn://busybox.net/trunk/busybox@15744 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-25Somebody on the buildroot list hit:landley1-4/+0
insmod.c:515:10: extra tokens at end of #ident directive git-svn-id: svn://busybox.net/trunk/busybox@15743 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-24get rid of udhcp submenuvapier1-18/+13
git-svn-id: svn://busybox.net/trunk/busybox@15742 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-20move lchown/chown define out of specific files and into platform.h where it ↵vapier2-6/+7
belongs git-svn-id: svn://busybox.net/trunk/busybox@15736 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-20"formated" -> "formatted" throughout the code base.rpjday6-68/+68
git-svn-id: svn://busybox.net/trunk/busybox@15735 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-20Patch from Yann Morin to fix bug 941, underscores in module aliases.landley2-3/+45
git-svn-id: svn://busybox.net/trunk/busybox@15734 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-19Remove unnecessary consts.landley1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15729 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-19Replace the previous checkin with the correct fix.landley1-2/+2
git-svn-id: svn://busybox.net/trunk/busybox@15728 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-19Patch from Yann Morin to look for modules.conf in the right place on 2.6.landley1-15/+23
Fixes http://bugs.busybox.net/view.php?id=942 git-svn-id: svn://busybox.net/trunk/busybox@15727 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-18For now, get around the error that "child" might be uninitialized.rpjday1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15717 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-18Rearrange order of type qualifiers.rpjday1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15716 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-17Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.landley2-3/+11
git-svn-id: svn://busybox.net/trunk/busybox@15708 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-16Bugfix from Tito to make sure /etc/group gets updated.landley1-3/+3
git-svn-id: svn://busybox.net/trunk/busybox@15705 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-16New mkswap. Small and simple. Might even work. :)landley1-380/+29
git-svn-id: svn://busybox.net/trunk/busybox@15704 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likelandley39-224/+204
xlseek and fdlength() for the new mkswap. git-svn-id: svn://busybox.net/trunk/busybox@15703 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-16Convert setuid/setgid users to xsetuid/xsetgid.landley6-16/+12
git-svn-id: svn://busybox.net/trunk/busybox@15702 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-16Add -Werror.landley1-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@15701 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-15We need xsetuid() and xsetgid() because per-user process resource limits canlandley2-0/+14
prevent a process from switching to a user that has too many processes, and when that happens WE'RE STILL ROOT. See http://lwn.net/Articles/190331/ git-svn-id: svn://busybox.net/trunk/busybox@15700 69ca8d6d-28ef-0310-b511-8ec308f3f277
2006-07-15Comment tweak from tito.landley1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@15699 69ca8d6d-28ef-0310-b511-8ec308f3f277