aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* We've got fuser, fix some typos, and move Vodz's comment about UTF8 intolandley2005-10-311-7/+25
| | | | | | | a new "internationalization" section, with some related concerns. git-svn-id: svn://busybox.net/trunk/busybox@12084 69ca8d6d-28ef-0310-b511-8ec308f3f277
* \0 is a synonym for &. Our own "make allbaseconfig" breaks without this.landley2005-10-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12076 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add ZyXEL to the shame listvapier2005-10-291-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11980 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix <p> and <a> tagsvapier2005-10-291-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11979 69ca8d6d-28ef-0310-b511-8ec308f3f277
* update doctype and add a charset encodingvapier2005-10-291-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11978 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add BB_APPLET_RUNLEVEL used by emdebian via /etc/init.d/rc.aldot2005-10-285-0/+68
| | | | | | | Note that we leave the buggy CONFIG_* namespace now, so please fix any applet you thouch. git-svn-id: svn://busybox.net/trunk/busybox@11965 69ca8d6d-28ef-0310-b511-8ec308f3f277
* updatevodz2005-10-281-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11962 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Please don't use if(asprintf(&t)<0) free(t); Use concat_subpath_file() for ↵vodz2005-10-281-34/+21
| | | | | | scan dir. Added losed chdir(".."). Removed warnings for 64-bit inode size. Why use memcpy and do not let? Very strange code for me git-svn-id: svn://busybox.net/trunk/busybox@11961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_opt_complementally for rdate applet. Add losed record to ↵vodz2005-10-282-4/+4
| | | | | | util-linux/Makefile.in for switch_root applet git-svn-id: svn://busybox.net/trunk/busybox@11960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, fuser, from Tony J. White. (Needs some cleanup.)landley2005-10-285-0/+409
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11954 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move GETXXKEY_R_FUNC into an internal helper file to allow for compilingaldot2005-10-282-46/+154
| | | | | | | with IMA. git-svn-id: svn://busybox.net/trunk/busybox@11952 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove warning about "'static' is not at beginning of declaration".aldot2005-10-281-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Sullivan sent in some cleanups, which I beat on slightly.landley2005-10-285-160/+43
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11946 69ca8d6d-28ef-0310-b511-8ec308f3f277