Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a simple mistake with pattern space, and add a test for it | Glenn L McGrath | 2003-09-15 | 2 | -2/+15 | |
| | ||||||
* | Patch by Jean Wolter to fix a bug where a script wouldnt be executed | Glenn L McGrath | 2003-09-15 | 1 | -1/+4 | |
| | | | | | | | | | | | | unless it had #!/bin/sh in the first line "It correctly locates the script, tries to execute it via execve which fails. After that it tries to hand it over to /bin/sh which fails too, since ash - neither provides the absolute pathname to /bin/sh - nor tries to lookup the script via PATH if called as "sh script" " | |||||
* | Fix some memory allocation problems | Glenn L McGrath | 2003-09-15 | 1 | -18/+21 | |
| | | | | ---------------------------------------------------------------------- | |||||
* | Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize) | Eric Andersen | 2003-09-15 | 10 | -95/+110 | |
| | | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik | |||||
* | fix function prototype | Eric Andersen | 2003-09-15 | 1 | -1/+1 | |
| | ||||||
* | Needs prototype for close() | Eric Andersen | 2003-09-15 | 1 | -0/+1 | |
| | ||||||
* | comparison was always false due to limited range of data types. | Eric Andersen | 2003-09-15 | 1 | -1/+1 | |
| | | | | | Carefully cast to unsigned long long prior to multiply to get the expected result. | |||||
* | Do not shadow the global name 'accept' | Eric Andersen | 2003-09-15 | 1 | -2/+2 | |
| | ||||||
* | Add a test for the 'P' command and fix current implementation so it | Glenn L McGrath | 2003-09-15 | 2 | -0/+14 | |
| | | | | doesnt permanently modify the pattern space. | |||||
* | A test and fix for the sed 'n' command | Glenn L McGrath | 2003-09-15 | 2 | -0/+20 | |
| | ||||||
* | Test for use of newline in regex's, this feature is used by most | Glenn L McGrath | 2003-09-15 | 1 | -0/+10 | |
| | | | | configure scripts. | |||||
* | Fix for the sed-append-next-line test | Glenn L McGrath | 2003-09-15 | 1 | -0/+5 | |
| | ||||||
* | Test the N command | Glenn L McGrath | 2003-09-15 | 1 | -0/+9 | |
| | ||||||
* | Fix recursion problem | Glenn L McGrath | 2003-09-15 | 1 | -0/+2 | |
| | ||||||
* | Check sed doesnt go into an infinite loop (yes it does) | Glenn L McGrath | 2003-09-15 | 1 | -0/+11 | |
| | ||||||
* | Update Matteo Croce's email address | Glenn L McGrath | 2003-09-15 | 1 | -1/+1 | |
| | ||||||
* | Memory cleanups and fix for `echo "foo" | sed 's/foo/bar/;H;q'` | Glenn L McGrath | 2003-09-14 | 1 | -6/+20 | |
| | ||||||
* | Cleanup memory usage | Glenn L McGrath | 2003-09-14 | 1 | -17/+32 | |
| | ||||||
* | Update sed branch tests | Glenn L McGrath | 2003-09-14 | 3 | -15/+17 | |
| | ||||||
* | Add two new tests, sed-recurses-properly should always work | Glenn L McGrath | 2003-09-14 | 3 | -1/+16 | |
| | ||||||
* | The previous fix for 's/a/1/;s/b/2/;t one;p;:one;p' broke the case of | Glenn L McGrath | 2003-09-14 | 1 | -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 McGrath | 2003-09-14 | 1 | -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 McGrath | 2003-09-14 | 1 | -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 McGrath | 2003-09-14 | 1 | -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 typo | Glenn L McGrath | 2003-09-14 | 1 | -1/+1 | |
| | ||||||
* | Fix some memory allocation problems | Glenn L McGrath | 2003-09-14 | 1 | -2/+7 | |
| | ||||||
* | Fix the following testcase by disabling global substitution if the regex | Glenn L McGrath | 2003-09-13 | 1 | -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 with | Glenn L McGrath | 2003-09-13 | 1 | -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_113 | Glenn L McGrath | 2003-09-12 | 1 | -4/+8 | |
| | ||||||
* | Typo. | Glenn L McGrath | 2003-09-12 | 1 | -1/+1 | |
| | ||||||
* | As vodz just pointed out, I screwup up the call to bb_xasprintf!1_00_pre3 | Eric Andersen | 2003-09-12 | 1 | -2/+2 | |
| | ||||||
* | Remove final \n | Eric Andersen | 2003-09-12 | 1 | -1/+1 | |
| | ||||||
* | Fix obligitory typos | Eric Andersen | 2003-09-12 | 1 | -2/+2 | |
| | ||||||
* | Final changelog update | Eric Andersen | 2003-09-12 | 1 | -0/+102 | |
| | ||||||
* | Remove version # | Eric Andersen | 2003-09-12 | 1 | -2/+1 | |
| | ||||||
* | I suppose it is now Sept 12... | Eric Andersen | 2003-09-12 | 1 | -1/+1 | |
| | ||||||
* | Update webpage a bit | Eric Andersen | 2003-09-12 | 3 | -31/+88 | |
| | ||||||
* | Fix handling of hardlinks when OLDGNU and GNU extensions arent enabled. | Glenn L McGrath | 2003-09-12 | 1 | -3/+0 | |
| | ||||||
* | Use the typeflag to identify if its a hardlink on OLD and GNU posix | Glenn L McGrath | 2003-09-12 | 1 | -6/+6 | |
| | | | | modes, fixes a bug extracting hardlinks to symlinks. | |||||
* | Invoke run-parts on /etc/network/if-*.d per the behavior of | Eric Andersen | 2003-09-12 | 1 | -7/+4 | |
| | | | | the upstream ifupdown code... | |||||
* | Teach rdate to timeout in 10 seconds to avoid blocking forever | Eric Andersen | 2003-09-12 | 1 | -0/+10 | |
| | | | | with odd or broken networking setups | |||||
* | config option CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN must depend | Eric Andersen | 2003-09-12 | 1 | -1/+1 | |
| | | | | on CONFIG_FEATURE_SH_STANDALONE_SHELL. | |||||
* | Update changelog for release | Eric Andersen | 2003-09-12 | 1 | -568/+953 | |
| | ||||||
* | Busybox CVS version ipcalc have problems: | Glenn L McGrath | 2003-09-12 | 2 | -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 Andersen | 2003-09-11 | 1 | -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 Andersen | 2003-09-11 | 1 | -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 Andersen | 2003-09-11 | 1 | -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 wget | Glenn L McGrath | 2003-09-10 | 2 | -4/+33 | |
| | ||||||
* | Fix a bug where make clean complained about having both : and :: entries. | Glenn L McGrath | 2003-09-10 | 1 | -1/+2 | |
| | | | | | Remove tester.log on make clean Patch by Arthur Othieno | |||||
* | Vodz, last_patch_104 | Glenn L McGrath | 2003-09-10 | 2 | -5/+18 | |
| |