2016-03-21 11:57 GMT+01:00 Mattias Andrée <maand...@kth.se>:
> Hi again!
>
> patch(1p) specifies for '-D define' that
>
>   If the patched file is processed with the C preprocessor,
>   where the macro 'define' is defined, the output shall contain
>   the changes from the patch file; otherwise, the output shall
>   not contain the patches specified in the patch file.
>
> I interpret this as implying that a patched C must be at least
> as syntactically correct after patching as before patching.

That's only wishful thinking. There is no such guarantee, and there
never will be.

(The description in the patch(1p) man page sounds weird to me.)

Andreas

Reply via email to