Re: svn commit: r1727621 - in /subversion/trunk/subversion: svn/svn.c svnadmin/svnadmin.c svnbench/svnbench.c svnfsfs/svnfsfs.c svnlook/svnlook.c svnrdump/svnrdump.c svnsync/svnsync.c
From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 09 Feb 2016 03:23:47 +0000
Philip Martin wrote on Mon, Feb 08, 2016 at 10:33:05 +0000:
Agreed.
> So how about:
This fixes the race I mentioned, but I think we have another problem
If we can't assume sig_atomic_t is at least as large as an int, I think
static volatile sig_atomic_t signum_cancelled[4] = {0, 0, 0, 0};
and then check which element(s) of the array are set to know which
Cheers,
Daniel
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.