Mercurial > hg > toybox
view Config.in @ 315:aaac01796688
Upgrade patch to detect hunks that start after a false start.
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.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 23 Oct 2008 16:44:30 -0500 |
parents | d4176f3f3835 |
children | c7a26e26ad08 |
line wrap: on
line source
mainmenu "ToyBox Configuration" menu "Global settings" config TOYBOX bool default n help usage: toybox [command] [arguments...] With no arguments, shows available commands. First argument is name of a command to run, followed by any arguments to that command. config TOYBOX_FREE bool "Free memory unnecessarily" default n help When a program exits, the operating system will clean up after it (free memory, close files, etc). To save size, toybox usually relies on this behavior. If you're running toybox under a debugger or without a real OS (ala newlib+libgloss), enable this to make toybox clean up after itself. config TOYBOX_DEBUG bool "Debugging tests" default n help Enable extra checks for debugging purposes. endmenu menu "Toys" source generated/Config.in endmenu