HomeFreeBSD

patch: test for unified diffs with spaces in filenames

Description

patch: test for unified diffs with spaces in filenames

The older GNU patch that we had in base did not properly handle spaces
in filenames in unified diffs, but bsdpatch seems to have handled this
fine at least since the version we imported into base initially. Add a
test with spaces in the filename specifically to be sure.

PR: 181272

Details

Provenance
kevansAuthored on Aug 29 2025, 7:24 PM
Parents
rGf97b6a8f84b3: patch: fix pch_context() for unified diffs with no leading context
Branches
Unknown
Tags
Unknown