|
Message-ID: <20110713195506.GH16618@brightrain.aerifal.cx> Date: Wed, 13 Jul 2011 15:55:06 -0400 From: Rich Felker <dalias@...ifal.cx> To: musl@...ts.openwall.com Subject: Re: cluts review On Wed, Jul 13, 2011 at 09:29:06PM +0200, Luka Marčetić wrote: > On 07/13/2011 07:52 PM, Solar Designer wrote: > >>and go back to SA_NODEFER. > >OK, but there's a cleaner way to do it. > > If you mean SA_NODEFER is new, my comment is: Yes, but note that for > sigsetjmp to do the same job, I'd need yet another global variable. > So, given that SA_NODEFER is SUSv4 which I'm using anyway, I still > regard it as cleaner than sigsetjmp. You don't need another global var to use sigsetjmp. You just change the existing jump buffer type from jmp_buf to sigjmp_buf and change the setjmp/longjmp calls to sigsetjmp/siglongjmp. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.