IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 9, 2007, 6:30:17 PM (19 years ago)
Author:
eugene
Message:

put non-universal signals in ifdefs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/imreg/SetSignals.c

    r2823 r13322  
    3030  signal (SIGXFSZ,   SIG_DIE);   
    3131  signal (SIGIOT,    SIG_DIE);     
    32   signal (SIGPWR,    SIG_DIE);     
    3332  signal (SIGINT,    SIG_DIE);
    3433
     
    4948  signal (SIGVTALRM, SIG_IGN); 
    5049  signal (SIGIO,     SIG_IGN);     
    51   signal (SIGWINCH,  SIG_IGN);   
    5250
    5351  /* signals which are not always defined */
     52# ifdef SIGPWR
     53  signal (SIGPWR, SIG_DIE);     /* power failure (Sys V) */
     54# endif
     55# ifdef SIGWINCH
     56  signal (SIGWINCH, SIG_IGN);   /* window resized (4.3BSD) */
     57# endif
    5458# ifdef SIGUNUSED
    5559  signal (SIGUNUSED, SIG_DFL); 
Note: See TracChangeset for help on using the changeset viewer.