This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix race when building ada-lex.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]