Closed skrinakron closed 2 months ago
Interesting, the whole patch fails to apply.
The offsets just need to be updated since there's one fewer line now:
Sorry and thanks for the correction. I did wonder about the line offset but got a false sense of security when patch
gave neither errors nor rejections. Using verify_patches.py I now see the errors as well. I've amended the commit with the above changes.
Do you happen to know if there's a way to make patch
as fastidious about matches as verify_patches.py is? I've tried the options -N -F0 --posix --verbose -r /known/path/rejects_file
, and yet the faulty patch keeps applying without so much as a warning.
I'm not aware of any way to make patch
fail when encountering offset differences, but you could instead use git apply
as a replacement which will fail if the patch can't be applied cleanly (it also defaults to -p1
).
Granted most of our patches wouldn't apply cleanly without many of the of previous patches in the series already applied. You would want to use quilt
to make refreshing the patches for this repo easier.
Removes stranded uses of preferences members patched out elsewhere. As the only occurrences appear to be in portions compiled only when DCHECK is enabled, this allows full debug builds to now succeed. Fixes #3008.