Newsgroups: comp.os.linux.announce
From: wyvern@gnu.ai.mit.edu
Subject: zsh 2.3.1 signals.h fix
Message-ID: <1993Mar16.221429.5915@tc.cornell.edu>
Date: Tue, 16 Mar 1993 22:14:29 GMT
Approved: linux-announce@tc.cornell.edu (Matt Welsh)

As has been pointed out, the signals.h file for the linux port of zsh 2.3.1
is badly messed up. Here's a working one:
 
/* this file is created automatically by buildzsh */
/* if all this is wrong, blame csh ;-) */

#define SIGCOUNT      31

#ifdef GLOBALS

char *sigmsg[SIGCOUNT+2] = {
        "done",
 "hangup",
 "interrupt",
 "quit",
 "illegal instruction",
 "trace trap",
 "IOT instruction",
 "EMT instruction",
 "floating point exception",
 "killed",
 "SIGUSR1",
 "segmentation fault",
 "SIGUSR2",
 "broken pipe",
 "SIGALRM",
 "terminated",
 "SIGSTKFLT",
 "SIGCHLD",
 "continued",
#ifdef USE_SUSPENDED
        "suspended (signal)",
#else
        "stopped (signal)",
#endif
#ifdef USE_SUSPENDED
        "suspended",
#else
        "stopped",
#endif
 "continued",
#ifdef USE_SUSPENDED
        "suspended (tty input)",
#else
        "stopped (tty input)",
#endif
#ifdef USE_SUSPENDED
        "suspended (tty output)",
#else
        "stopped (tty output)",
#endif
 "SIGIO",
 "cpu limit exceeded",
 "filesize limit exceeded",
 "virtual time alarm",
 "SIGPROF",
 "SIGWINCH",
 "SIGLOST",
  NULL
};

char *sigs[SIGCOUNT+4] = {
        "EXIT",
     "HUP",
     "INT",
     "QUIT",
     "ILL",
     "TRAP",
     "IOT",
     "EMT",
     "FPE",
     "KILL",
     "USR1",
     "SEGV",
     "USR2",
     "PIPE",
     "ALRM",
     "TERM",
     "STKFLT",
     "CHLD",
     "CONT",
     "STOP",
     "TSTP",
     "TTIN",
     "TTOU",
     "IO",
     "XCPU",
     "XFSZ",
     "VTALRM",
     "PROF",
     "WINCH",
     "LOST",
  "ERR",
        "DEBUG",
        NULL
};

#else

extern char *sigs[SIGCOUNT+4],*sigmsg[SIGCOUNT+2];

#endif

-- 
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
