Up to [local] / src / usr.bin / patch
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_7_5
Revision 1.75 / (download) - annotate - [select for diffs], Wed Oct 25 20:05:43 2023 UTC (7 months, 2 weeks ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5
Changes since 1.74: +19 -6 lines
Diff to previous 1.74 (colored)
Fix unveil(2) in patch(1) with explicit patchfile. A backup file should be created in the directory of the original file, but only the current directory was unveiled. Then the patched file was created in /tmp and did not replace the original patchfile in place. If a patchfile is passed in argv[0], unveil its directory instead of current directory. OK florian@ deraadt@ millert@