This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Always do locking when accessing streams
- From: Rich Felker <dalias at aerifal dot cx>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 18 Apr 2013 09:55:52 -0400
- Subject: Re: [PATCH] Always do locking when accessing streams
- References: <mvm61zknpst dot fsf at hawking dot suse dot de>
On Thu, Apr 18, 2013 at 11:36:34AM +0200, Andreas Schwab wrote:
> /* If we can't signal ourselves and the abort instruction failed, exit. */
> - if (stage == 7)
> + if (stage == 5)
> {
> ++stage;
> _exit (127);
Unrelated to your patch, but while I'm noticing it, I should mention
that this final step is a bug. abort is required to cause abnormal
program termination. That can be achieved by raise(SIGKILL).
Note that in order for that to work correctly, the bug I just reported
in raise (#15368) needs to be fixed.
Rich