[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Signal handling
From: |
John Darrington |
Subject: |
Re: Signal handling |
Date: |
Thu, 13 Jan 2005 08:29:24 +0800 |
User-agent: |
Mutt/1.3.28i |
On Wed, Jan 12, 2005 at 08:53:36AM -0800, Ben Pfaff wrote:
I don't remember objecting to sigaction. Do you recall a
specific context? Perhaps that would prompt me.
In March last, you made this change to main.c shortly after I had
added the bug_handler function:
john$ cvs diff -r1.6 -r1.7 main.c
Index: main.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -r1.6 -r1.7
63,66c63
< struct sigaction bug ;
< bug.sa_handler = bug_handler;
<
< sigaction(SIGSEGV, &bug,0);
---
> signal (SIGSEGV, bug_handler);
I think you sent me a message explaining why you prefered signal over
sigaction, but I can't find that msg right now.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://wwwkeys.pgp.net or any PGP keyserver for public key.
pgpmz21gD2mvm.pgp
Description: PGP signature
- Signal handling, John Darrington, 2005/01/12
- Message not available
- Re: Signal handling,
John Darrington <=