Date: Tue, 08 Aug 2017 17:32:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 221338] patch: overwrites Oops.rej if multiple non-existent files Message-ID: <bug-221338-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221338 Bug ID: 221338 Summary: patch: overwrites Oops.rej if multiple non-existent files Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org Keywords: patch It seems patch writes rejected hunks to Oops.rej if the source file(path?) = does not exist; if this is true for multiple files in the patch Oops.rej is overwritten with each successive one. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/Plugins/Platform/Linux/PlatformLinux.h |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- source/Plugins/Platform/Linux/PlatformLinux.h |+++ source/Plugins/Platform/Linux/PlatformLinux.h -------------------------- File to patch:=20 No file found--skip this patch? [n] y Skipping patch... Hunk #1 ignored at 59. 1 out of 1 hunks ignored--saving rejects to Oops.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/Plugins/Platform/Linux/PlatformLinux.cpp |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |--- source/Plugins/Platform/Linux/PlatformLinux.cpp |+++ source/Plugins/Platform/Linux/PlatformLinux.cpp -------------------------- File to patch:=20 No file found--skip this patch? [n] y Skipping patch... Hunk #1 ignored at 390. Hunk #2 ignored at 408. 2 out of 2 hunks ignored--saving rejects to Oops.rej --=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-221338-8>