aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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!Eric 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).
2003-09-11Patch from Philip Blundell:Eric Andersen
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.
2003-09-10add ipv6 literal support to wgetGlenn L McGrath
2003-09-10Fix a bug where make clean complained about having both : and :: entries.Glenn L McGrath
Remove tester.log on make clean Patch by Arthur Othieno
2003-09-10Vodz, last_patch_104Glenn L McGrath
2003-09-09If a tar entry is a regualr file ending in a '/' then its really aGlenn L McGrath
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.
2003-09-09Update the config file by running it from menuconfig, get rid of someGlenn L McGrath
unused entries.
2003-09-08Patch from Jean WolterGlenn L McGrath
expr currently always adds even if told to subtract
2003-09-08Vodz, last_patch_110 Glenn L McGrath
no limit, no memory usage for env buffer, always call putenv(). remove small error for previous last_patch109.
2003-09-08Preserve suid/sgid bitsGlenn L McGrath
2003-09-08last_patch_109 from Vladimir N. OleynikGlenn L McGrath
Busybox`s httpd have the defect (from born): ip 1.2.3.1 have true comparing also with 1.2.3.10-1.2.3.19 and 1.2.3.100-1.2.3.199. Last patch removed this bug and added feature: allow/deny rule can support network/netmask example: 1.2.3.0/255.255.255.128 or network/mask_bits example: 1.2.3.0/25 now; old format 1 1.2 1.2.3 1.2.3.4 too support and converted to 1/8 1.2/16 1.2.3/24 1.2.3.4/32 automaticaly. Also, current CVS have small problem: ignores A:IP, (loses 'A', 'a' only work). Corrected.
2003-09-08Busybox modprobe has a couple of irritating quirks:Glenn L McGrath
- attempting to modprobe a module that is already loaded yields "Failed to load module", whereas modutils quietly ignores such a request. - if a module genuinely can't be loaded due to missing symbols or similar problems, modprobe doesn't produce any useful diagnostics because the output from insmod has been redirected to /dev/null. Here's a patch to address these issue Patch by Philip Blundell
2003-09-05Small bug in silent optionGlenn L McGrath