Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-09-16 | Fix a bug that creapt in recently with substitution subprinting, and add | Glenn L McGrath | |
a test for it. | |||
2003-09-16 | Compile get_terminal_width_height | Glenn L McGrath | |
2003-09-15 | Patch from Stephane Billiart to fix an unused variable warning. | Glenn L McGrath | |
2003-09-15 | Patch from Bastian Blank to fix a problem when runing find under ash. | Glenn L McGrath | |
"If the shell is compiled with -DJOBS, this is all fine -- find wasn't stopped (it was killed), so it correctly uses WTERMSIG instead of WSTOPSIG. However, if the shell _isn't_ compiled with -DJOBS (which it isn't in d-i), only WSTOPSIG is used, which extracts the high byte instead of the low byte from the status code. Since the status code is 13 (SIGPIPE), "st" suddenly gets the value 0, which is equivalent to SIGEXIT. Thus, ash prints out "EXIT" on find's exit." | |||
2003-09-15 | Patch from Tito, Reduces the size of busybox's strings applet from 1900 to | Glenn L McGrath | |
1788 bytes (for strings.o). | |||
2003-09-15 | Fix a simple mistake with pattern space, and add a test for it | Glenn L McGrath | |
2003-09-15 | Patch by Jean Wolter to fix a bug where a script wouldnt be executed | Glenn L McGrath | |
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" " | |||
2003-09-15 | Fix some memory allocation problems | Glenn L McGrath | |
---------------------------------------------------------------------- | |||
2003-09-15 | Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize) | Eric Andersen | |
to ensure proper fallback behavior on, i.e. serial consoles. -Erik | |||
2003-09-15 | fix function prototype | Eric Andersen | |
2003-09-15 | Needs prototype for close() | Eric Andersen | |
2003-09-15 | comparison was always false due to limited range of data types. | Eric Andersen | |
Carefully cast to unsigned long long prior to multiply to get the expected result. | |||
2003-09-15 | Do not shadow the global name 'accept' | Eric Andersen | |
2003-09-15 | Add a test for the 'P' command and fix current implementation so it | Glenn L McGrath | |
doesnt permanently modify the pattern space. | |||
2003-09-15 | A test and fix for the sed 'n' command | Glenn L McGrath | |
2003-09-15 | Test for use of newline in regex's, this feature is used by most | Glenn L McGrath | |
configure scripts. | |||
2003-09-15 | Fix for the sed-append-next-line test | Glenn L McGrath | |
2003-09-15 | Test the N command | Glenn L McGrath | |
2003-09-15 | Fix recursion problem | Glenn L McGrath | |
2003-09-15 | Check sed doesnt go into an infinite loop (yes it does) | Glenn L McGrath | |
2003-09-15 | Update Matteo Croce's email address | Glenn L McGrath | |
2003-09-14 | Memory cleanups and fix for `echo "foo" | sed 's/foo/bar/;H;q'` | Glenn L McGrath | |
2003-09-14 | Cleanup memory usage | Glenn L McGrath | |
2003-09-14 | Update sed branch tests | Glenn L McGrath | |
2003-09-14 | Add two new tests, sed-recurses-properly should always work | Glenn L McGrath | |
2003-09-14 | The previous fix for 's/a/1/;s/b/2/;t one;p;:one;p' broke the case of | Glenn L McGrath | |
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 | |||
2003-09-14 | Preserve substitution flag value within the current line. | Glenn L McGrath | |
Fixed the following testcase # cat strings |./busybox sed -n -f test3.sed 1 1 2 c c # cat strings a b c | |||
2003-09-14 | Fix branching commands. | Glenn L McGrath | |
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 | |||
2003-09-14 | Patch from Rob Landley | Glenn L McGrath | |
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...) | |||
2003-09-14 | Stupid typo | Glenn L McGrath | |
2003-09-14 | Fix some memory allocation problems | Glenn L McGrath | |
2003-09-13 | Fix the following testcase by disabling global substitution if the regex | Glenn L McGrath | |
is anchored to the start of line, there can be only one subst. echo "aah" | sed 's/^a/b/g' | |||
2003-09-13 | Fix the following testcase by storing the state of the adress match with | Glenn L McGrath | |
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 | |||
2003-09-12 | Fix compile error, Vodz, last_path_113 | Glenn L McGrath | |
2003-09-12 | Typo. | Glenn L McGrath | |
2003-09-12 | As vodz just pointed out, I screwup up the call to bb_xasprintf!1_00_pre3 | Eric Andersen | |
2003-09-12 | Remove final \n | Eric Andersen | |
2003-09-12 | Fix obligitory typos | Eric Andersen | |
2003-09-12 | Final changelog update | Eric Andersen | |
2003-09-12 | Remove version # | Eric Andersen | |
2003-09-12 | I suppose it is now Sept 12... | Eric Andersen | |
2003-09-12 | Update webpage a bit | Eric Andersen | |
2003-09-12 | Fix handling of hardlinks when OLDGNU and GNU extensions arent enabled. | Glenn L McGrath | |
2003-09-12 | Use the typeflag to identify if its a hardlink on OLD and GNU posix | Glenn L McGrath | |
modes, fixes a bug extracting hardlinks to symlinks. | |||
2003-09-12 | Invoke run-parts on /etc/network/if-*.d per the behavior of | Eric Andersen | |
the upstream ifupdown code... | |||
2003-09-12 | Teach rdate to timeout in 10 seconds to avoid blocking forever | Eric Andersen | |
with odd or broken networking setups | |||
2003-09-12 | config option CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN must depend | Eric Andersen | |
on CONFIG_FEATURE_SH_STANDALONE_SHELL. | |||
2003-09-12 | Update changelog for release | Eric Andersen | |
2003-09-12 | Busybox CVS version ipcalc have problems: | Glenn L McGrath | |
- 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 | |||
2003-09-11 | Update definition of struct serial_struct, per linux-2.6.0-test5, | Eric Andersen | |
to avoid stack corruption problems on some 64bit architectures when sizeof(void*) != sizeof(int). Thanks to Atsushi Nemoto for finding this problem. |