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@FreeBSD.org
          Reporter: ema...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to