[Bug 74127] [patch] patch(1) may misapply hunks with too little context
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 9 15:34:10 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=74127
--- Comment #3 from Kyle Evans <kevans at freebsd.org> ---
(In reply to Pedro F. Giffuni from comment #2)
I double-checked this one- for documentation sake, the example in this PR
results in the following file:
if {![info exists Log(compressProg)]} {
set Log(compressProg) gzip
}
set Log(compressProg) /usr/bin/gzip
if {![info exists Log(flushInterval)]} {
set Log(flushInterval) [expr {60 * 1000}]
}
# This is used to turn on an alternate debug log file
if {![info exist Log(debug_log)]} {
set Log(debug_log) 0
}
with the following output:
> Patching file file.c using Plan A...
> Hunk #1 succeeded at 5 with fuzz 1.
> done
patch -v:
> patch 2.0-12u11 FreeBSD
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list