aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen2003-09-1510-95/+110
| | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik
* fix function prototypeEric Andersen2003-09-151-1/+1
|
* Needs prototype for close()Eric Andersen2003-09-151-0/+1
|
* comparison was always false due to limited range of data types.Eric Andersen2003-09-151-1/+1
| | | | | Carefully cast to unsigned long long prior to multiply to get the expected result.
* Do not shadow the global name 'accept'Eric Andersen2003-09-151-2/+2
|
* Add a test for the 'P' command and fix current implementation so itGlenn L McGrath2003-09-152-0/+14
| | | | doesnt permanently modify the pattern space.
* A test and fix for the sed 'n' commandGlenn L McGrath2003-09-152-0/+20
|
* Test for use of newline in regex's, this feature is used by mostGlenn L McGrath2003-09-151-0/+10
| | | | configure scripts.
* Fix for the sed-append-next-line testGlenn L McGrath2003-09-151-0/+5
|
* Test the N commandGlenn L McGrath2003-09-151-0/+9
|
* Fix recursion problemGlenn L McGrath2003-09-151-0/+2
|
* Check sed doesnt go into an infinite loop (yes it does)Glenn L McGrath2003-09-151-0/+11
|
* Update Matteo Croce's email addressGlenn L McGrath2003-09-151-1/+1
|
* Memory cleanups and fix for `echo "foo" | sed 's/foo/bar/;H;q'`Glenn L McGrath2003-09-141-6/+20
|
* Cleanup memory usageGlenn L McGrath2003-09-141-17/+32
|
* Update sed branch testsGlenn L McGrath2003-09-143-15/+17
|
* Add two new tests, sed-recurses-properly should always workGlenn L McGrath2003-09-143-1/+16
|
* The previous fix for 's/a/1/;s/b/2/;t one;p;:one;p' broke the case ofGlenn L McGrath2003-09-141-3/+2
| | | | | | | | echo fooba | ./busybox sed -n 's/foo//;s/bar/found/p' I really need to start adding these tests to the testsuite. keep the substituted and altered flags seperate
* Preserve substitution flag value within the current line.Glenn L McGrath2003-09-141-1/+1
| | | | | | | | | | | | | | Fixed the following testcase # cat strings |./busybox sed -n -f test3.sed 1 1 2 c c # cat strings a b c
* Fix branching commands.Glenn L McGrath2003-09-141-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | If a label isnt specified, jump to end of script, not the last command in the script. Print an error and exit if you try and jump to a non-existant label Works for the following testcase # cat strings a b c d e f g # cat strings | ./busybox sed -n '/d/b;p' a b c e f g
* Patch from Rob Landley Glenn L McGrath2003-09-141-60/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a memory leak in add_cmd/add_cmd_str by moving the allocation of sed_cmd down to where it's actually first needed. In get_address, if index_of_next_unescaped_regexp_delim ever failed, we wouldn't notice because the return value was added to idx, which was already guaranteed to be > 0. (This is buried in the changes made when I redid get_address to be based on pointer arithmetic, because all the tests were gratuitously dereferencing with a constant zero, which wasn't obvious.) Comment in parse_regex_delim was wrong: 's' and 'y' both call it. The reason "sed_cmd->num_backrefs = 0;" isn't needed is that sed_cmd was allocated with cmalloc, which zeroes memory. Different handling of space after \ in i... Different handling of pattern "s/a/b s/c/d" Cool, resursive reads don't cause a crash. :) Fixed "sed -f blah filename - < filename" since GNU sed was handling both - and filenames on the same line. (You can even list - more than once, although it's immediate EOF...)
* Stupid typoGlenn L McGrath2003-09-141-1/+1
|
* Fix some memory allocation problemsGlenn L McGrath2003-09-141-2/+7
|
* Fix the following testcase by disabling global substitution if the regexGlenn L McGrath2003-09-131-3/+5
| | | | | is anchored to the start of line, there can be only one subst. echo "aah" | sed 's/^a/b/g'
* Fix the following testcase by storing the state of the adress match withGlenn L McGrath2003-09-131-6/+8
| | | | | | | | | | | | | | | | | | | the command. # cat strings a b c d e f g # ./busybox sed '1,2d;4,$d' <strings c # ./busybox sed '4,$d;1,2d' <strings # sed '4,$d;1,2d' <strings c # sed '1,2d;4,$d' <strings c
* Fix compile error, Vodz, last_path_113Glenn L McGrath2003-09-121-4/+8
|
* Typo.Glenn L McGrath2003-09-121-1/+1
|
* As vodz just pointed out, I screwup up the call to bb_xasprintf!1_00_pre3Eric Andersen2003-09-121-2/+2
|
* Remove final \nEric Andersen2003-09-121-1/+1
|
* Fix obligitory typosEric Andersen2003-09-121-2/+2
|
* Final changelog updateEric Andersen2003-09-121-0/+102
|
* Remove version #Eric Andersen2003-09-121-2/+1
|
* I suppose it is now Sept 12...Eric Andersen2003-09-121-1/+1
|
* Update webpage a bitEric Andersen2003-09-123-31/+88
|
* Fix handling of hardlinks when OLDGNU and GNU extensions arent enabled.Glenn L McGrath2003-09-121-3/+0
|
* Use the typeflag to identify if its a hardlink on OLD and GNU posixGlenn L McGrath2003-09-121-6/+6
| | | | modes, fixes a bug extracting hardlinks to symlinks.
* Invoke run-parts on /etc/network/if-*.d per the behavior ofEric Andersen2003-09-121-7/+4
| | | | the upstream ifupdown code...
* Teach rdate to timeout in 10 seconds to avoid blocking foreverEric Andersen2003-09-121-0/+10
| | | | with odd or broken networking setups
* config option CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN must dependEric Andersen2003-09-121-1/+1
| | | | on CONFIG_FEATURE_SH_STANDALONE_SHELL.
* Update changelog for releaseEric Andersen2003-09-121-568/+953
|
* Busybox CVS version ipcalc have problems:Glenn L McGrath2003-09-122-27/+32
| | | | | | | | | - Can`t use 255.255.255.255 address - typo: double check for valid ip address and uncheck for valid mask httpd unseted SERVER_PORT (my bug from last_patch111). last_patch_112 from Vladimir N. Oleynik
* Update definition of struct serial_struct, per linux-2.6.0-test5,Eric Andersen2003-09-111-14/+19
| | | | | | to avoid stack corruption problems on some 64bit architectures when sizeof(void*) != sizeof(int). Thanks to Atsushi Nemoto for finding this problem.
* Marc A. Lehmann writes:Eric Andersen2003-09-111-1/+1
| | | | | | | | | | | | | | | The tar -x command in busybox does not restore the file mode correctly. The reason is most probably this code in archival/libunarachive/data_extract_all.c: chmod(file_header->name, file_header->mode); chown(file_header->name, file_header->uid, file_header->gid); chown clears the set*id bits (on current versions of linux :). Flipping the order around fixes the problem. (tested with 1.00pre3 from cvs).
* Patch from Philip Blundell:Eric Andersen2003-09-111-2/+2
| | | | | | | | | | On Thu, 2003-09-11 at 01:09, Glenn McGrath wrote: > Applied Thanks. Unfortunately there was one small bug in that last patch. Could you apply this one as well? p.
* add ipv6 literal support to wgetGlenn L McGrath2003-09-102-4/+33
|
* Fix a bug where make clean complained about having both : and :: entries.Glenn L McGrath2003-09-101-1/+2
| | | | | Remove tester.log on make clean Patch by Arthur Othieno
* Vodz, last_patch_104Glenn L McGrath2003-09-102-5/+18
|
* If a tar entry is a regualr file ending in a '/' then its really aGlenn L McGrath2003-09-091-5/+5
| | | | | | | | | | | | directory. From http://www.gnu.org/manual/tar/html_node/tar_123.html REGTYPE AREGTYPE These flags represent a regular file. In order to be compatible with older versions of tar, a typeflag value of AREGTYPE should be silently recognized as a regular file. New archives should be created using REGTYPE. Also, for backward compatibility, tar treats a regular file whose name ends with a slash as a directory.
* Update the config file by running it from menuconfig, get rid of someGlenn L McGrath2003-09-091-100/+195
| | | | unused entries.
* Patch from Jean WolterGlenn L McGrath2003-09-081-1/+1
| | | | expr currently always adds even if told to subtract