summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-09-16Compile get_terminal_width_heightGlenn L McGrath
2003-09-15Patch from Stephane Billiart to fix an unused variable warning.Glenn L McGrath
2003-09-15Patch 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-15Patch from Tito, Reduces the size of busybox's strings applet from 1900 toGlenn L McGrath
1788 bytes (for strings.o).
2003-09-15Fix a simple mistake with pattern space, and add a test for itGlenn L McGrath
2003-09-15Patch by Jean Wolter to fix a bug where a script wouldnt be executedGlenn 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-15Fix some memory allocation problemsGlenn L McGrath
----------------------------------------------------------------------
2003-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-09-15fix function prototypeEric Andersen
2003-09-15Needs prototype for close()Eric Andersen
2003-09-15comparison 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-15Do not shadow the global name 'accept'Eric Andersen
2003-09-15Add a test for the 'P' command and fix current implementation so itGlenn L McGrath
doesnt permanently modify the pattern space.
2003-09-15A test and fix for the sed 'n' commandGlenn L McGrath
2003-09-15Test for use of newline in regex's, this feature is used by mostGlenn L McGrath
configure scripts.
2003-09-15Fix for the sed-append-next-line testGlenn L McGrath
2003-09-15Test the N commandGlenn L McGrath
2003-09-15Fix recursion problemGlenn L McGrath
2003-09-15Check sed doesnt go into an infinite loop (yes it does)Glenn L McGrath
2003-09-15Update Matteo Croce's email addressGlenn L McGrath
2003-09-14Memory cleanups and fix for `echo "foo" | sed 's/foo/bar/;H;q'`Glenn L McGrath
2003-09-14Cleanup memory usageGlenn L McGrath
2003-09-14Update sed branch testsGlenn L McGrath
2003-09-14Add two new tests, sed-recurses-properly should always workGlenn L McGrath
2003-09-14The previous fix for 's/a/1/;s/b/2/;t one;p;:one;p' broke the case ofGlenn 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-14Preserve 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-14Fix 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-14Patch 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-14Stupid typoGlenn L McGrath
2003-09-14Fix some memory allocation problemsGlenn L McGrath
2003-09-13Fix the following testcase by disabling global substitution if the regexGlenn L McGrath
is anchored to the start of line, there can be only one subst. echo "aah" | sed 's/^a/b/g'
2003-09-13Fix the following testcase by storing the state of the adress match withGlenn 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-12Fix compile error, Vodz, last_path_113Glenn L McGrath
2003-09-12Typo.Glenn L McGrath
2003-09-12As vodz just pointed out, I screwup up the call to bb_xasprintf!1_00_pre3Eric Andersen
2003-09-12Remove final \nEric Andersen
2003-09-12Fix obligitory typosEric Andersen
2003-09-12Final changelog updateEric Andersen
2003-09-12Remove version #Eric Andersen
2003-09-12I suppose it is now Sept 12...Eric Andersen
2003-09-12Update webpage a bitEric Andersen
2003-09-12Fix handling of hardlinks when OLDGNU and GNU extensions arent enabled.Glenn L McGrath
2003-09-12Use the typeflag to identify if its a hardlink on OLD and GNU posixGlenn L McGrath
modes, fixes a bug extracting hardlinks to symlinks.
2003-09-12Invoke run-parts on /etc/network/if-*.d per the behavior ofEric Andersen
the upstream ifupdown code...
2003-09-12Teach rdate to timeout in 10 seconds to avoid blocking foreverEric Andersen
with odd or broken networking setups
2003-09-12config option CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN must dependEric Andersen
on CONFIG_FEATURE_SH_STANDALONE_SHELL.
2003-09-12Update changelog for releaseEric Andersen
2003-09-12Busybox 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-11Update 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.
2003-09-11Marc A. Lehmann writes:Eric Andersen
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).