/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.137 by edhill, Sat Dec 3 08:30:32 2005 UTC revision 1.138 by edhill, Sun Dec 4 13:57:08 2005 UTC
# Line 718  static void killhandler( Line 718  static void killhandler(
718    
719  void FC_NAMEMANGLE(sigreg) (int * aip)  void FC_NAMEMANGLE(sigreg) (int * aip)
720  {  {
     ip = aip;  
721      struct sigaction s;      struct sigaction s;
722        ip = aip;
723      s.sa_flags = SA_SIGINFO;      s.sa_flags = SA_SIGINFO;
724      s.sa_sigaction = (void *)killhandler;      s.sa_sigaction = (void *)killhandler;
725      if(sigaction (SIGTERM,&s,(struct sigaction *)NULL)) {      if(sigaction (SIGTERM,&s,(struct sigaction *)NULL)) {

Legend:
Removed from v.1.137  
changed lines
  Added in v.1.138

  ViewVC Help
Powered by ViewVC 1.1.22