IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13322


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

put non-universal signals in ifdefs

Location:
trunk/Ohana/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/elixir/src/ConfigInit.c

    r10336 r13322  
    4242  signal (SIGXFSZ,   SIG_DIE);   
    4343  signal (SIGIOT,    SIG_DIE);     
    44   signal (SIGPWR,    SIG_DIE);     
    4544  signal (SIGHUP,    SIG_IGN);
    4645  signal (SIGINT,    SIG_DIE);
     
    5857  signal (SIGVTALRM, SIG_IGN); 
    5958  signal (SIGIO,     SIG_IGN);     
    60   signal (SIGWINCH,  SIG_IGN);   
    6159
    6260  /* signals which are not always defined */
     61# ifdef SIGPWR
     62  signal (SIGPWR, SIG_DIE);     /* power failure (Sys V) */
     63# endif
     64# ifdef SIGWINCH
     65  signal (SIGWINCH, SIG_IGN);   /* window resized (4.3BSD) */
     66# endif
    6367# ifdef SIGSYS
    6468  signal (SIGSYS,    SIG_DIE);     
  • 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); 
  • trunk/Ohana/src/photdbc/src/SetSignals.c

    r4864 r13322  
    3535      /* ignore these signals */
    3636    case SIGCHLD:    /* child halted: ignore */
    37     case SIGPWR:     /* power failure - why ignore this? */
    38     case SIGWINCH:   /* window resized */
    3937    case SIGCONT:    /* continue - maintain this action */
    4038    case SIGTSTP:    /* stop signal sent from tty - why ignore? */
    4139    case SIGURG:     /* socket signal, ignore this */
     40# ifdef SIGPWR
     41    case SIGPWR:     /* power failure - why ignore this? (Sys V) */
     42# endif
     43# ifdef SIGWINCH
     44    case SIGWINCH:   /* window resized (4.3BSD) */
     45# endif
    4246      break;
    4347     
  • trunk/Ohana/src/relastro/src/SetSignals.c

    r12332 r13322  
    3535      /* ignore these signals */
    3636    case SIGCHLD:    /* child halted: ignore */
    37     case SIGPWR:     /* power failure - why ignore this? */
    38     case SIGWINCH:   /* window resized */
    3937    case SIGCONT:    /* continue - maintain this action */
    4038    case SIGTSTP:    /* stop signal sent from tty - why ignore? */
    4139    case SIGURG:     /* socket signal, ignore this */
     40# ifdef SIGPWR
     41    case SIGPWR:     /* power failure - why ignore this? (Sys V) */
     42# endif
     43# ifdef SIGWINCH
     44    case SIGWINCH:   /* window resized (4.3BSD) */
     45# endif
    4246      break;
    4347     
  • trunk/Ohana/src/relphot/src/SetSignals.c

    r4864 r13322  
    3535      /* ignore these signals */
    3636    case SIGCHLD:    /* child halted: ignore */
    37     case SIGPWR:     /* power failure - why ignore this? */
    38     case SIGWINCH:   /* window resized */
    3937    case SIGCONT:    /* continue - maintain this action */
    4038    case SIGTSTP:    /* stop signal sent from tty - why ignore? */
    4139    case SIGURG:     /* socket signal, ignore this */
     40# ifdef SIGPWR
     41    case SIGPWR:     /* power failure - why ignore this? (Sys V) */
     42# endif
     43# ifdef SIGWINCH
     44    case SIGWINCH:   /* window resized (4.3BSD) */
     45# endif
    4246      break;
    4347     
  • trunk/Ohana/src/uniphot/src/SetSignals.c

    r4864 r13322  
    3535      /* ignore these signals */
    3636    case SIGCHLD:    /* child halted: ignore */
    37     case SIGPWR:     /* power failure - why ignore this? */
    38     case SIGWINCH:   /* window resized */
    3937    case SIGCONT:    /* continue - maintain this action */
    4038    case SIGTSTP:    /* stop signal sent from tty - why ignore? */
    4139    case SIGURG:     /* socket signal, ignore this */
     40# ifdef SIGPWR
     41    case SIGPWR:     /* power failure - why ignore this? (Sys V) */
     42# endif
     43# ifdef SIGWINCH
     44    case SIGWINCH:   /* window resized (4.3BSD) */
     45# endif
    4246      break;
    4347     
Note: See TracChangeset for help on using the changeset viewer.