aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-23Upgrade patch to detect hunks that start after a false start.Rob Landley
Imagine a hunk that starts with a blank line, but the site to patch starts with two blank lines. Before we'd read the first blank line, think it was the start of the hunk and buffer it, read the second blank line, notice that it didn't match the second line of the hunk, and discard _both_ buffered lines of context (writing them to the output file) without checking that one of the later context lines might have been the real start of the hunk. Make it re-check the rest of the buffered context for matches each time it discards a line of buffered context.
2008-08-28Fix giant glaring thinko.Rob Landley
2008-08-15An error from an input file isn't fatal, keep reading remaining input files.Rob Landley
2008-08-15Chroot should stop option parsing at the first non-option argument.Rob Landley
2008-07-18Tweak from Roberto Foglietta.Rob Landley
2008-07-18Roberto Foglietta pointed out that readall() needs fdlength() to restoreRob Landley
the original position before exiting.
2008-07-18Bug spotted by Roberto Foglietta: at EOF readall() should return count, not len.Rob Landley
2008-07-03Add "tee" command.Rob Landley
2008-07-03Finish bzcat.Rob Landley
2008-07-03Teach option parsing logic that ^ means stop parsing after this option.Rob Landley
2008-06-28A pathological case of huffman coding that uses 8 bits to code each of 256Rob Landley
symbols could cause an unsigned char limit[8] to wrap back to 0, setting limit to -1 and making the decompressor exit with a data error.
2008-06-26Option parsing: stopearly is now a ^ prefix (not +), and an option string withRob Landley
no flags auto-enables stopearly (so seq doesn't have to specify it to avoid having negative number arguments eaten by the option parsing logic).
2008-06-22Basic tests for sort. Needs more...Rob Landley
2008-06-22Only apply global flags to fallback sort.Rob Landley
2008-06-22Cosmetic tweak, only show skipped tests when VERBOSE set.Rob Landley
2008-06-22Adjust "optional" function (gen_config.h became generated/config.h).Rob Landley
2008-06-18Most of an susv3 compliant sort implementation (loosely based on the one I ↵Rob Landley
wrote back in 2005). Still a few bugs. Needs a _biiiiig_ test suite...
2008-06-16Assemble '*' repeated argument list in order. Also implement '@' counter.Rob Landley
2008-05-26Announce 0.0.6 release. (A bit early, so the next FWL release can use it.)0.0.6Rob Landley
2008-05-17Add seq, and tests for it.Rob Landley
2008-05-17Fix which (the meaning of -a was reversed, and it was finding the _last_ hit).Rob Landley
2008-05-17Fix command line option parsing so "echo -xen" actually prints "-xen". AddRob Landley
echo.test while I'm at it.
2008-05-12Sort was including the trailing comma and getting the order wrong.Rob Landley
(Specifically, it was comparing "sh," with "sha1sum," and putting sha1sum first in generated/newtoys.h so the binary search wasn't finding sha1sum. Alas, you can't feed separate beginning and ending delimiters to "sort -t". The fix is to copy the appropriate field out with sed, duplicate it at the start of the string where it's easy to compare, and then remove it again with a second sed after the sort.
2008-05-12Update mdev to work around the newest sysfs api breakage in the 2.6.25 kernel.Rob Landley
(Yeah, I know sysfs hasn't actually got an API, but I like to pretend...)
2008-05-04More tweaks to rmdir.test and the testing infrastructure.Rob Landley
2008-05-04Add rmdir and test for it.Rob Landley
2008-05-04Fluffier error message.Rob Landley
2008-05-04Try to convince make to be less stupid about rebuilding.Rob Landley
2008-05-04Teach run-all-tests mode to only test enabled commands.Rob Landley
2008-05-04Remove extraneous output.Rob Landley
2008-05-04Very simple cat tests, with more test ideas commented out.Rob Landley
2008-04-13Teach get_rawline() to continue until a configurable char, and xstrndup()Rob Landley
shouldn't die when it's told to chop out a subsection of a string.
2008-04-09We don't open a destination filehandle for symlinks, so xclose() would barf.Rob Landley
2008-04-09Add -v to cp.Rob Landley
2008-04-09Thinko in cat.Rob Landley
2008-04-08Teach patch that a file dated 1969-12-31 means doesn't exist, and to failRob Landley
if a create isn't exclusive.
2008-04-04Spent the five minutes to implement "cat".Rob Landley
2008-03-29Added tag 0.0.5 for changeset 09ecbdf58c87Rob Landley
2008-03-29New release coming.0.0.5Rob Landley
2008-03-29Wow is make stupid. (Ahem, full of "magic, implicit rules". Which are stupid.)Rob Landley
The directory scripts/test is not related to the script scripts/test.sh. If the shell script is newer than the directory, IT DOESN'T MATTER.
2008-03-28Update help, move test.sh to scripts, and fix "make test" to call right script.Rob Landley
2008-03-28Add uninstall and uninstall_flat.Rob Landley
2008-03-28Add install target, and make install_flat use scripts/install.shRob Landley
2008-03-26Another cp -r fix, another test case...Rob Landley
2008-03-25Update cp -r to work better, add relevant tests to test suite.Rob Landley
2008-03-24If we don't remember to closedir(), the leaked filehandles add up.Rob Landley
2008-03-24Fix -r logic, it needs both source and dest paths explicitly stated.Rob Landley
2008-03-24Enabling debugging should not change behavior. Oops.Rob Landley
2008-02-24Make cp pass the rest of its test suite. Needs a bigger test suite (-lsHPLiRob Landley
and maybe -xviu), most of which still need to be implemented.
2008-02-24Add an install script, with --long --symlink --force and --uninstall options.Rob Landley