aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add a switch_root utility (like kconfig's utils/run_init.c, although notlandley2005-10-274-0/+149
| | | | | | | | actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.) git-svn-id: svn://busybox.net/trunk/busybox@11935 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Somebody suggested this, but I've forgotten who.landley2005-10-271-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11934 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add --no-same-owner and --no-same-permissions options to tar.landley2005-10-273-42/+65
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11933 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Matthias Wenzel writes:aldot2005-10-271-15/+5
| | | | | | | | | without the fix below md5sum will always report a correct md5 on _any_ wrongly formattet input files. - use short boilerplate and remove superfluous keyword extern. git-svn-id: svn://busybox.net/trunk/busybox@11932 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - correct boilerplatealdot2005-10-271-2/+2
| | | | | | | - use bb_xgetlarg for the patch_level to catch invalid arguments. git-svn-id: svn://busybox.net/trunk/busybox@11927 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reference for new patch feature we'll need to be compatible with...landley2005-10-271-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11926 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * uniq.c: remove unneeded include and use short boilerplate.aldot2005-10-268-53/+24
| | | | | | | | | | | | * coreutils.h: remove prototype of non-existing xgetoptfile_sort_uniq and add boilerplate. * networking/{ipaddr,ip,iplink,iproute,iptunnel}.c: touch includes and use short boilerplate. * libiproute/iproute.c: rename round to avoid clashes with older SuSE gcc and use short boilerplate. git-svn-id: svn://busybox.net/trunk/busybox@11924 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update the TODO list to reflect stuff we've already done.landley2005-10-251-31/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11917 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shaun Jackman noted that limits.h defines path_max and isn't included fromlandley2005-10-251-0/+1
| | | | | | | | | find_root_device.c. (We #include it in busybox.h but not libbb.h, it seems. Someday, someone's going to have to clarify for me the difference between those two...) git-svn-id: svn://busybox.net/trunk/busybox@11913 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Two changes. One from Shaun Jackman makes libbb/interface.c compile only iflandley2005-10-251-1/+1
| | | | | | | | | | | | it's going to be used. (I'm guessing it doesn't work with newlib.) The other one is from me: allyesconfig shouldn't enable devfs because that changes all sorts of unrelated stuff (like /dev/loop0->dev/loop/0), which can come as a bit of a surprise. (It's still there, but you have to go into menuconfig and select it manually.) git-svn-id: svn://busybox.net/trunk/busybox@11912 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix bug to avoid aliasing busybox' main to zcip_main in IMA mode.aldot2005-10-211-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* another more constvodz2005-10-2012-35/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more constvodz2005-10-201-19/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11896 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more const, attribute_noreturn saved 200 bytesvodz2005-10-192-32/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11886 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - consume space between functionname and opening bracketsaldot2005-10-171-1/+2
| | | | | | | Fixes Rob's issue using busybox awk for building gcc-4_0 optionlist (http://busybox.net/lists/busybox/2005-October/016659.html) git-svn-id: svn://busybox.net/trunk/busybox@11883 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more const, use bb_getopt_ulflags, insert XXX for show place of problemsvodz2005-10-171-36/+49
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11882 69ca8d6d-28ef-0310-b511-8ec308f3f277
* data --> textvodz2005-10-172-14/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11881 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859,landley2005-10-161-2/+2
| | | | | | | | | which was apparently never tested. That meant that there always had to be at least one unparsed argument left over, which is not the case for tar. git-svn-id: svn://busybox.net/trunk/busybox@11877 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Whitespace and curly bracket cleanup (our tabstop is 4 in busybox),landley2005-10-161-188/+146
| | | | | | | and switch more stuff from CONFIG to ENABLE. git-svn-id: svn://busybox.net/trunk/busybox@11876 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - don't update copyright years. He might release it, but apparently will havealdot2005-10-151-1/+1
| | | | | | | to update the year himself. git-svn-id: svn://busybox.net/trunk/busybox@11875 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more const, all data to textvodz2005-10-152-21/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11874 69ca8d6d-28ef-0310-b511-8ec308f3f277