--- MITgcm/eesupp/src/sigreg.c 2006/05/22 22:05:18 1.3 +++ MITgcm/eesupp/src/sigreg.c 2006/05/23 14:55:19 1.4 @@ -1,5 +1,5 @@ /* - * $Header: /home/ubuntu/mnt/e9_copy/MITgcm/eesupp/src/sigreg.c,v 1.3 2006/05/22 22:05:18 edhill Exp $ + * $Header: /home/ubuntu/mnt/e9_copy/MITgcm/eesupp/src/sigreg.c,v 1.4 2006/05/23 14:55:19 edhill Exp $ * $Name: $ //BOP @@ -41,9 +41,9 @@ /* int main( int argc, char ** argv ) */ void FC_NAMEMANGLE(sigreg) (int * aip) { - ip = aip; #ifdef HAVE_SIGREG struct sigaction s; + ip = aip; s.sa_flags = SA_SIGINFO; s.sa_sigaction = (void *)killhandler; if(sigaction (SIGTERM,&s,(struct sigaction *)NULL)) {