[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Windows signal handler and Control-C

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-01-16 20:11:08 CET

On Fri, 2004-01-16 at 10:37, Garrett Rooney wrote:
> It was from me, but I didn't #ifdef it for win32. In fact, I just
> experimented with signal handlers on the Solaris box I've got in front
> of me, and it seems like the (reset the signal handler after it fires)
> also occurs on Solaris, so I'm leaning towards just reseting it
> everywhere to be absolutely safe.

Um, what experiments did you perform?

-1 on mucking with this code without a better understanding of the
issues. Signal handlers set with sigaction() should never need to be
reset. It seems likely that this is a win32 APR bug (using signal()
instead of sigaction(), perhaps), and should be addressed in that
context.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 16 20:30:46 2004

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.