[PATCH] fix race when building ada-lex.c
Simon Marchi
simon.marchi@polymtl.ca
Sun Apr 29 15:58:00 GMT 2018
On 2018-04-28 17:13, John Reiser wrote:
> PR build/22873
> Prevent a race when building ada-lex.c, and any target of rules .c:.l
> or .c:.y.
> The target should be written only at the last step, else SIGINT (^C)
> can leave an inconsistent state. Being .PRECIOUS makes it even worse.
>
> gdb/ChangeLog:
> * gdb/Makefile.in: (.c:.l, .c:.y): Write the target only in the
> last step, and do it atomically.
>
> [patch attached]
Hi John,
Thanks for the patch, it makes sense. I pushed it.
Simon
More information about the Gdb-patches
mailing list