...which throws off the line numbers.
looks like this is to blame:
else if (preg_match("/^\+[^\+]+/", $line)) {
$patch .= ltrim($line, '+') ."\n";
$in_patch = 1;
}
the regex looks like it wants to skip the lines beginning with +++ but it also skips a single + on its own
| Comment | File | Size | Author |
|---|---|---|---|
| coder-patch-empty-line.patch | 630 bytes | john morahan |
Comments
Comment #1
stella commentedFixed in both D6 branches and D7 too, thanks!