/[emacs]/emacs/src/process.c
ViewVC logotype

Diff of /emacs/src/process.c

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

revision 1.466 by dann, Fri Sep 30 22:38:15 2005 UTC revision 1.467 by kfstorm, Tue Nov 8 21:38:37 2005 UTC
# Line 5944  SIGCODE may be an integer, or a symbol w Line 5944  SIGCODE may be an integer, or a symbol w
5944        CHECK_SYMBOL (sigcode);        CHECK_SYMBOL (sigcode);
5945        name = SDATA (SYMBOL_NAME (sigcode));        name = SDATA (SYMBOL_NAME (sigcode));
5946    
5947          if (!strncmp(name, "SIG", 3))
5948            name += 3;
5949    
5950        if (0)        if (0)
5951          ;          ;
5952  #ifdef SIGHUP  #ifdef SIGHUP
5953        handle_signal ("SIGHUP", SIGHUP);        handle_signal ("HUP", SIGHUP);
5954  #endif  #endif
5955  #ifdef SIGINT  #ifdef SIGINT
5956        handle_signal ("SIGINT", SIGINT);        handle_signal ("INT", SIGINT);
5957  #endif  #endif
5958  #ifdef SIGQUIT  #ifdef SIGQUIT
5959        handle_signal ("SIGQUIT", SIGQUIT);        handle_signal ("QUIT", SIGQUIT);
5960  #endif  #endif
5961  #ifdef SIGILL  #ifdef SIGILL
5962        handle_signal ("SIGILL", SIGILL);        handle_signal ("ILL", SIGILL);
5963  #endif  #endif
5964  #ifdef SIGABRT  #ifdef SIGABRT
5965        handle_signal ("SIGABRT", SIGABRT);        handle_signal ("ABRT", SIGABRT);
5966  #endif  #endif
5967  #ifdef SIGEMT  #ifdef SIGEMT
5968        handle_signal ("SIGEMT", SIGEMT);        handle_signal ("EMT", SIGEMT);
5969  #endif  #endif
5970  #ifdef SIGKILL  #ifdef SIGKILL
5971        handle_signal ("SIGKILL", SIGKILL);        handle_signal ("KILL", SIGKILL);
5972  #endif  #endif
5973  #ifdef SIGFPE  #ifdef SIGFPE
5974        handle_signal ("SIGFPE", SIGFPE);        handle_signal ("FPE", SIGFPE);
5975  #endif  #endif
5976  #ifdef SIGBUS  #ifdef SIGBUS
5977        handle_signal ("SIGBUS", SIGBUS);        handle_signal ("BUS", SIGBUS);
5978  #endif  #endif
5979  #ifdef SIGSEGV  #ifdef SIGSEGV
5980        handle_signal ("SIGSEGV", SIGSEGV);        handle_signal ("SEGV", SIGSEGV);
5981  #endif  #endif
5982  #ifdef SIGSYS  #ifdef SIGSYS
5983        handle_signal ("SIGSYS", SIGSYS);        handle_signal ("SYS", SIGSYS);
5984  #endif  #endif
5985  #ifdef SIGPIPE  #ifdef SIGPIPE
5986        handle_signal ("SIGPIPE", SIGPIPE);        handle_signal ("PIPE", SIGPIPE);
5987  #endif  #endif
5988  #ifdef SIGALRM  #ifdef SIGALRM
5989        handle_signal ("SIGALRM", SIGALRM);        handle_signal ("ALRM", SIGALRM);
5990  #endif  #endif
5991  #ifdef SIGTERM  #ifdef SIGTERM
5992        handle_signal ("SIGTERM", SIGTERM);        handle_signal ("TERM", SIGTERM);
5993  #endif  #endif
5994  #ifdef SIGURG  #ifdef SIGURG
5995        handle_signal ("SIGURG", SIGURG);        handle_signal ("URG", SIGURG);
5996  #endif  #endif
5997  #ifdef SIGSTOP  #ifdef SIGSTOP
5998        handle_signal ("SIGSTOP", SIGSTOP);        handle_signal ("STOP", SIGSTOP);
5999  #endif  #endif
6000  #ifdef SIGTSTP  #ifdef SIGTSTP
6001        handle_signal ("SIGTSTP", SIGTSTP);        handle_signal ("TSTP", SIGTSTP);
6002  #endif  #endif
6003  #ifdef SIGCONT  #ifdef SIGCONT
6004        handle_signal ("SIGCONT", SIGCONT);        handle_signal ("CONT", SIGCONT);
6005  #endif  #endif
6006  #ifdef SIGCHLD  #ifdef SIGCHLD
6007        handle_signal ("SIGCHLD", SIGCHLD);        handle_signal ("CHLD", SIGCHLD);
6008  #endif  #endif
6009  #ifdef SIGTTIN  #ifdef SIGTTIN
6010        handle_signal ("SIGTTIN", SIGTTIN);        handle_signal ("TTIN", SIGTTIN);
6011  #endif  #endif
6012  #ifdef SIGTTOU  #ifdef SIGTTOU
6013        handle_signal ("SIGTTOU", SIGTTOU);        handle_signal ("TTOU", SIGTTOU);
6014  #endif  #endif
6015  #ifdef SIGIO  #ifdef SIGIO
6016        handle_signal ("SIGIO", SIGIO);        handle_signal ("IO", SIGIO);
6017  #endif  #endif
6018  #ifdef SIGXCPU  #ifdef SIGXCPU
6019        handle_signal ("SIGXCPU", SIGXCPU);        handle_signal ("XCPU", SIGXCPU);
6020  #endif  #endif
6021  #ifdef SIGXFSZ  #ifdef SIGXFSZ
6022        handle_signal ("SIGXFSZ", SIGXFSZ);        handle_signal ("XFSZ", SIGXFSZ);
6023  #endif  #endif
6024  #ifdef SIGVTALRM  #ifdef SIGVTALRM
6025        handle_signal ("SIGVTALRM", SIGVTALRM);        handle_signal ("VTALRM", SIGVTALRM);
6026  #endif  #endif
6027  #ifdef SIGPROF  #ifdef SIGPROF
6028        handle_signal ("SIGPROF", SIGPROF);        handle_signal ("PROF", SIGPROF);
6029  #endif  #endif
6030  #ifdef SIGWINCH  #ifdef SIGWINCH
6031        handle_signal ("SIGWINCH", SIGWINCH);        handle_signal ("WINCH", SIGWINCH);
6032  #endif  #endif
6033  #ifdef SIGINFO  #ifdef SIGINFO
6034        handle_signal ("SIGINFO", SIGINFO);        handle_signal ("INFO", SIGINFO);
6035  #endif  #endif
6036  #ifdef SIGUSR1  #ifdef SIGUSR1
6037        handle_signal ("SIGUSR1", SIGUSR1);        handle_signal ("USR1", SIGUSR1);
6038  #endif  #endif
6039  #ifdef SIGUSR2  #ifdef SIGUSR2
6040        handle_signal ("SIGUSR2", SIGUSR2);        handle_signal ("USR2", SIGUSR2);
6041  #endif  #endif
6042        else        else
6043          error ("Undefined signal name %s", name);          error ("Undefined signal name %s", name);

Legend:
Removed from v.1.466  
changed lines
  Added in v.1.467

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26