[Bug 221338] patch: overwrites Oops.rej if multiple non-existent files
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 8 17:32:52 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221338
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 at FreeBSD.org
Reporter: emaste at 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
|===================================================================
|--- source/Plugins/Platform/Linux/PlatformLinux.h
|+++ source/Plugins/Platform/Linux/PlatformLinux.h
--------------------------
File to patch:
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
|===================================================================
|--- source/Plugins/Platform/Linux/PlatformLinux.cpp
|+++ source/Plugins/Platform/Linux/PlatformLinux.cpp
--------------------------
File to patch:
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list