aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* avoid mixed declarations, to support older compilers just a little longer.pgf2005-12-081-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Macro was wrong, name(void) vs name(x), and apparently gcc 2.95 cares aboutlandley2005-12-071-1/+1
| | | | | | | matching up macro arguments even when the macro substitutes to nothing... git-svn-id: svn://busybox.net/trunk/busybox@12715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uClibc can't handle anonymous MAP_SHARED. Since we're treating it aslandley2005-12-071-1/+1
| | | | | | | read only data anyway, MAP_PRIVATE shouldn't make a major difference. git-svn-id: svn://busybox.net/trunk/busybox@12711 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito is using broken kernel headers that pollute the namespace with everylandley2005-12-061-2/+2
| | | | | | | | | | | | | CONFIG_ symbol in the kernel, and this clashes with busybox's CONFIG_TR and CONFIG_WATCHDOG, causing applets.h to barf if they're not switched on (since the broken headers don't affect kconfig or the makefiles). Since such broken kernel headers are common enough to crop up every few months, a simple work around is to move TR and WATCHDOG from CONFIG_ to ENABLE_ early. git-svn-id: svn://busybox.net/trunk/busybox@12707 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce 3 warning if compile with -Wvodz2005-12-061-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* restore compare_string_array new interface (make broken by landley)vodz2005-12-064-10/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Install links patch from Yann E. Morin. (Another thing hanging around in mylandley2005-12-023-21/+21
| | | | | | | tree forever. Tweaked the docs a bit.) git-svn-id: svn://busybox.net/trunk/busybox@12647 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If we really _need_ an #ifdef like this, then we should be using the libbblandley2005-12-021-3/+0
| | | | | | | getopt infrastructure instead. git-svn-id: svn://busybox.net/trunk/busybox@12646 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another cleanup patch that's been in my tree for a while. Again I think it'slandley2005-12-021-40/+14
| | | | | | | originally from Bernhard Fischer... git-svn-id: svn://busybox.net/trunk/busybox@12645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A cleanup patch I've had lying around in my tree for a while, I think itlandley2005-12-021-35/+10
| | | | | | | was from Bernhard Fischer? git-svn-id: svn://busybox.net/trunk/busybox@12644 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce signedness warningvodz2005-12-021-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce signedness warningvodz2005-12-021-7/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove warnings if compile with -W, use ENABLE_FEATURE vs CONFIG_FEATUREvodz2005-12-021-62/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make char default to "unsigned" on all platforms so we have a consistent baselandley2005-12-011-2/+2
| | | | | | | to deal with all the new gcc 4.0.2 warnings from. git-svn-id: svn://busybox.net/trunk/busybox@12615 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix losetup so that it A) actually works again, B) has much better errorlandley2005-11-294-90/+65
| | | | | | | | | | | messages, C) can show the current association (if any) when called with only one argument. Update the documentation a lot too. Remind me to add a test suite for this thing. I think I've figured out how to handle root-only testsuites... git-svn-id: svn://busybox.net/trunk/busybox@12582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt -> getopt_ulflags. noticed by Rob Sullivanvodz2005-11-291-13/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12581 69ca8d6d-28ef-0310-b511-8ec308f3f277
* update licensevapier2005-11-291-14/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12567 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ShaneAnderson writes in Bug 565:vapier2005-11-291-5/+5
| | | | | | | | need to include .config file before setting CROSS otherwise TARGET_ARCH isnt set properly git-svn-id: svn://busybox.net/trunk/busybox@12565 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add "-C" format to hexdumppgf2005-11-282-2/+7
| | | | | | | | | | | | | fixes bug #113 and satisfies a personal need at the same time. output compares identically to util-linux version. (with exception of whitespace differences on last lines of output with non-uniform length, which are neither fixed nor worsened by this change.) git-svn-id: svn://busybox.net/trunk/busybox@12560 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix bug #474:pgf2005-11-281-14/+3
| | | | | | | | | | | | | | | | 0000474: vi crashes often problem was that the buffer used for "." command ("last_modifying_cmd") wasn't being maintined correctly -- the recording code was walking back over the front of that buffer when a repeatable insert command included backspacing (e.g. "i\b\b\bfoo"). the fix is to simply record the backspaces along with the rest of the command. also, cleaned up start_new_cmd_q() slightly. git-svn-id: svn://busybox.net/trunk/busybox@12559 69ca8d6d-28ef-0310-b511-8ec308f3f277
* eliminate mixed declaration, to support older compilers a little longer.pgf2005-11-281-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12553 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use libbb/get_kernel_revision(), reduce stack usage, add loses -w -f option ↵vodz2005-11-281-60/+48
| | | | | | for getopt, convert to bb_getopt_ulflags(), reduce memory usage - xmalloc to bb_common_bufsiz1, size reduce over 200 bytes git-svn-id: svn://busybox.net/trunk/busybox@12551 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Cristian Ionescu-Idbohrn to deal with _ vs - better.landley2005-11-271-1/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12546 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove bug: fsck do not know pathvodz2005-11-264-10/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the interface of libbb/compare_string_array (unsigned short to int), ↵vodz2005-11-263-7/+7
| | | | | | usaging for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12535 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more use const for interface of libbb/compare_string_array, example usage ↵vodz2005-11-263-11/+7
| | | | | | for e2fsprogs/fsck git-svn-id: svn://busybox.net/trunk/busybox@12534 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more use libbb/bb_msg_read_errorvodz2005-11-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12521 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reduce bssvodz2005-11-241-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12509 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update to modprobe usage from Yann E. Morinlandley2005-11-231-4/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12488 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Can't store a pointer in an int on 64 bit platforms.landley2005-11-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12476 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move interface.c to networking directory since it's only used by ifconfig.landley2005-11-223-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12475 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support # comments after s/// option list.landley2005-11-201-32/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12441 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Quote the user we pass to addgroup so funky chars are preserved. Fix by ↵vapier2005-11-151-1/+1
| | | | | | dragan_marinkovic in Bug 544 git-svn-id: svn://busybox.net/trunk/busybox@12255 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann Morin's modprobe multiple options patch. There's more work to be done,landley2005-11-152-22/+186
| | | | | | | but let's ship 1.1 first... git-svn-id: svn://busybox.net/trunk/busybox@12236 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My last change to this file broke tar x. Sigh. (Trying to make sure we worklandley2005-11-121-4/+5
| | | | | | | | on file sizes between 2 and 4 gigs on 32 bit machines. For supporting >4 gigs, just use a 64 bit machine already...) git-svn-id: svn://busybox.net/trunk/busybox@12225 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I noticed that "tar tvjf file.tbz" was segfaulting. This fixed it.landley2005-11-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12224 69ca8d6d-28ef-0310-b511-8ec308f3f277
* telnetd -b (bind to specific address) support from Iuri Gomes Diniz.landley2005-11-102-1/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ok, I've converted the contents of the "testing/sed" directory into a landley2005-11-1023-276/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sed.tests file. My brain hurts now. (Lots of boggling at sed minutiae and corner cases and going "why is gnu giving that output". The behavior of N and n with regard to EOF are only understandable if you read the Open Group spec, not if you read the sed info page, by the way...) Some of the existing sed tests are just nuts. For example, sed-next-line is testing for our behavior (which is wrong), and would fail if run against gnu sed (which was getting it right. Again, this was a spec-boggling moment, with much head scratching. I've got to add a debug mode where the stuff output by the p command is a different color from the stuff output by normal end of script printing (when not suppressed by -n).) As for sed-handles-unsatisifed-backrefs: what is this test trying to _do_? I ran it against gnu sed and got an error message, and this behavior sounds perfectly reasonable. (It _is_ an unsatisfied backref.) The fact we currently ignore this case (and treat \1 as an empty string) isn't really behavior we should have a test depend on for success. The remaining one is sed-aic-commands, which is long and complicated. I'm trying to figure out if I should chop this into a number of smaller tests, or if having one big "does-many-things" test is a good idea. In any case, the _next_ step is to go through the Open Group standard and make tests for every case not yet covered. (And there are plenty. There are few comments in the file already.) Plus I have notes about corner cases from development that I need to collate and put into here. This file is maybe the first 1/3 of a truly comprehensive sed test. Rob git-svn-id: svn://busybox.net/trunk/busybox@12202 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change osbolete sigpause() to sigsuspend()vodz2005-11-091-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tomasz Mateja: don't try to CWD to a _filename_, just send the fulllandley2005-11-081-19/+2
| | | | | | | path to the STOR command. git-svn-id: svn://busybox.net/trunk/busybox@12184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It was a bit out of date.landley2005-11-071-10/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the test suite so that individual *.tests files can be run alalandley2005-11-078-71/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMMAND=sort ./sort.tests So we can compare against non-busybox versions, and possibly our testsuite will be useful to somebody like the Linux Test Project someday. Redid testing.sh to add new command, "optional", to skip tests that require certain features. (use: `optional FEATURE_SORT_BIG`, or `optional ""` to stop skipping.) Note that optional is a NOP if the environment variable "OPTIONFLAGS" is blank, so although we're marking up the tests with busybox specific knowledge, it doesn't interfere with running the tests without busybox. Moved setting the "OPTIONFLAGS" environment variable to runtest. Philosophy: busybox-specific stuff belongs in runtest; both testing.sh and the tests themselves should be as busybox-agnostic as possible. Moved detecting that a command isn't in busybox at all (hence skipping the entire command.tests file) to runtests. Rationale: optional can't currently test for more than one feature at a time, so if we clear anything with optional "" we might perform tests we don't want to. Marked up busybox.tests to know which tests need CAT enabled. Fixed up other tests to be happy with new notation. I suspect egrep should be appended to grep. It's a sub-feature, really... git-svn-id: svn://busybox.net/trunk/busybox@12176 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann E. Morin pointed out that rpcsvc/nfs_prot.h isn't needed with anylandley2005-11-061-1/+0
| | | | | | | reasonably recent glibc, and breaks with uClibc. So yank it. git-svn-id: svn://busybox.net/trunk/busybox@12173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Size I zapped the bb_close() error, might as well make a TODO item.landley2005-11-041-1/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug 424: doing full_read breaks things like cat which should return alandley2005-11-041-1/+1
| | | | | | | | | | | | chunk of data when they get it and not block until they've buffered 4k. The use case was cat /proc/psaux, but you can also reproduce this by running non-busybox cat by itself and typing things at the command line. Then run busybox cat. Notice how cat is _supposed_ to echo each line back to us as we hit enter? git-svn-id: svn://busybox.net/trunk/busybox@12147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.landley2005-11-041-57/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It's no longer a temporary location. Smooth out the text a bit.landley2005-11-041-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12145 69ca8d6d-28ef-0310-b511-8ec308f3f277
* point to the official linksandersen2005-11-031-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12139 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Announce 1.1.0-pre1 already. Erik, please move links to the downloads directorylandley2005-11-032-5/+16
| | | | | | | once you've got the signed tarballs up. git-svn-id: svn://busybox.net/trunk/busybox@12135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix cp /dev/null filename, and a few in-passing cleanups.landley2005-11-012-84/+46
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12100 69ca8d6d-28ef-0310-b511-8ec308f3f277