Date: Mon, 09 Oct 2017 15:34:09 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 74127] [patch] patch(1) may misapply hunks with too little context Message-ID: <bug-74127-8-2ulel6Drvh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-74127-8@https.bugs.freebsd.org/bugzilla/> References: <bug-74127-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D74127 --- Comment #3 from Kyle Evans <kevans@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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-74127-8-2ulel6Drvh>