mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
patchutils.py: Create smaller #ifdef ranges.
This commit is contained in:
parent
2b1f2e8578
commit
4d1dd4c62a
File diff suppressed because it is too large
Load Diff
@ -501,7 +501,7 @@ def generate_ifdef_patch(original, patched, ifdef):
|
||||
#
|
||||
|
||||
with tempfile.NamedTemporaryFile(mode='w+') as diff:
|
||||
exitcode = subprocess.call(["diff", "-u", original.name, patched.name],
|
||||
exitcode = subprocess.call(["diff", "-U", "1", original.name, patched.name],
|
||||
stdout=diff, stderr=_devnull)
|
||||
if exitcode == 0:
|
||||
return None
|
||||
|
Loading…
x
Reference in New Issue
Block a user