]>
Commit | Line | Data |
---|---|---|
35c9e543 JR |
1 | --- procps-2.0.6/proc/Makefile.sig Tue Nov 2 09:02:16 1999 |
2 | +++ procps-2.0.6/proc/Makefile Tue Jan 11 17:42:34 2000 | |
3 | @@ -101,13 +101,3 @@ ifdef MINORVERSION | |
4 | else | |
5 | $(strip $(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -DSUBVERSION=\"$(SUBVERSION)\" -c version.c) | |
6 | endif | |
7 | - | |
8 | -signals.o : signames.h | |
9 | - | |
10 | -signames.h ../proc/signames.h : /usr/include/signal.h | |
11 | - $(CPP) -dM /usr/include/signal.h | \ | |
12 | - grep -v SIGSTKSZ | \ | |
13 | - tr -s '\t ' ' ' | sort -n +2 | sed \ | |
14 | - 's:#define SIG\([A-Z]\+[0-9]*\) \([0-9]\+\) *\(\|/\*.*\)$$:{\ | |
15 | -\2,"\1" },:p;d' > signames.h | |
16 | - | |
17 | --- procps-2.0.6/proc/signals.c.sig Fri Mar 12 02:34:44 1999 | |
18 | +++ procps-2.0.6/proc/signals.c Tue Jan 11 17:41:49 2000 | |
255c5664 | 19 | @@ -23,7 +23,141 @@ typedef struct { |
20 | } SIGNAME; | |
35c9e543 JR |
21 | |
22 | static SIGNAME signals[] = { | |
255c5664 | 23 | -#include "signames.h" /* should be in same dir as this file */ |
35c9e543 | 24 | +#ifdef SIGHUP |
255c5664 | 25 | + { SIGHUP, "HUP" }, |
35c9e543 JR |
26 | +#endif |
27 | +#ifdef SIGINT | |
255c5664 | 28 | + { SIGINT, "INT" }, |
35c9e543 JR |
29 | +#endif |
30 | +#ifdef SIGQUIT | |
255c5664 | 31 | + { SIGQUIT, "QUIT" }, |
35c9e543 JR |
32 | +#endif |
33 | +#ifdef SIGILL | |
255c5664 | 34 | + { SIGILL, "ILL" }, |
35c9e543 JR |
35 | +#endif |
36 | +#ifdef SIGTRAP | |
255c5664 | 37 | + { SIGTRAP, "TRAP" }, |
35c9e543 JR |
38 | +#endif |
39 | +#ifdef SIGABRT | |
255c5664 | 40 | + { SIGABRT, "ABRT" }, |
35c9e543 JR |
41 | +#endif |
42 | +#ifdef SIGIOT | |
255c5664 | 43 | + { SIGIOT, "IOT" }, |
35c9e543 JR |
44 | +#endif |
45 | +#ifdef SIGBUS | |
255c5664 | 46 | + { SIGBUS, "BUS" }, |
35c9e543 JR |
47 | +#endif |
48 | +#ifdef SIGFPE | |
255c5664 | 49 | + { SIGFPE, "FPE" }, |
35c9e543 JR |
50 | +#endif |
51 | +#ifdef SIGKILL | |
255c5664 | 52 | + { SIGKILL, "KILL" }, |
35c9e543 JR |
53 | +#endif |
54 | +#ifdef SIGUSR1 | |
255c5664 | 55 | + { SIGUSR1, "USR1" }, |
35c9e543 JR |
56 | +#endif |
57 | +#ifdef SIGSEGV | |
255c5664 | 58 | + { SIGSEGV, "SEGV" }, |
35c9e543 JR |
59 | +#endif |
60 | +#ifdef SIGUSR2 | |
255c5664 | 61 | + { SIGUSR2, "USR2" }, |
35c9e543 JR |
62 | +#endif |
63 | +#ifdef SIGPIPE | |
255c5664 | 64 | + { SIGPIPE, "PIPE" }, |
35c9e543 JR |
65 | +#endif |
66 | +#ifdef SIGALRM | |
255c5664 | 67 | + { SIGALRM, "ALRM" }, |
35c9e543 JR |
68 | +#endif |
69 | +#ifdef SIGTERM | |
255c5664 | 70 | + { SIGTERM, "TERM" }, |
35c9e543 JR |
71 | +#endif |
72 | +#ifdef SIGSTKFLT | |
255c5664 | 73 | + { SIGSTKFLT, "STKFLT" }, |
35c9e543 JR |
74 | +#endif |
75 | +#ifdef SIGCHLD | |
255c5664 | 76 | + { SIGCHLD, "CHLD" }, |
35c9e543 JR |
77 | +#endif |
78 | +#ifdef SIGCONT | |
255c5664 | 79 | + { SIGCONT, "CONT" }, |
35c9e543 JR |
80 | +#endif |
81 | +#ifdef SIGSTOP | |
255c5664 | 82 | + { SIGSTOP, "STOP" }, |
35c9e543 JR |
83 | +#endif |
84 | +#ifdef SIGTSTP | |
255c5664 | 85 | + { SIGTSTP, "TSTP" }, |
35c9e543 JR |
86 | +#endif |
87 | +#ifdef SIGTTIN | |
255c5664 | 88 | + { SIGTTIN, "TTIN" }, |
35c9e543 JR |
89 | +#endif |
90 | +#ifdef SIGTOU | |
255c5664 | 91 | + { SIGTOU, "TOU" }, |
35c9e543 JR |
92 | +#endif |
93 | +#ifdef SIGURG | |
255c5664 | 94 | + { SIGURG, "URG" }, |
35c9e543 JR |
95 | +#endif |
96 | +#ifdef SIGXCPU | |
255c5664 | 97 | + { SIGXCPU, "XCPU" }, |
35c9e543 JR |
98 | +#endif |
99 | +#ifdef SIGXFSZ | |
255c5664 | 100 | + { SIGXFSZ, "XFSZ" }, |
35c9e543 JR |
101 | +#endif |
102 | +#ifdef SIGVTALRM | |
255c5664 | 103 | + { SIGVTALRM, "VTALRM" }, |
35c9e543 JR |
104 | +#endif |
105 | +#ifdef SIGPROF | |
255c5664 | 106 | + { SIGPROF, "PROF" }, |
35c9e543 JR |
107 | +#endif |
108 | +#ifdef SIGWINCH | |
255c5664 | 109 | + { SIGWINCH, "WINCH" }, |
35c9e543 JR |
110 | +#endif |
111 | +#ifdef SIGIO | |
255c5664 | 112 | + { SIGIO, "IO" }, |
35c9e543 JR |
113 | +#endif |
114 | +#ifdef SIGPWR | |
255c5664 | 115 | + { SIGPWR, "PWR" }, |
35c9e543 JR |
116 | +#endif |
117 | +#ifdef SIGUNUSED | |
255c5664 | 118 | + { SIGUNUSED, "UNUSED" }, |
35c9e543 JR |
119 | +#endif |
120 | +#ifdef SIGEMT | |
255c5664 | 121 | + { SIGEMT, "EMT" }, |
35c9e543 JR |
122 | +#endif |
123 | +#ifdef SIGSYS | |
255c5664 | 124 | + { SIGSYS, "SYS" }, |
35c9e543 JR |
125 | +#endif |
126 | +#ifdef SIGWIND | |
255c5664 | 127 | + { SIGWIND, "WIND" }, |
35c9e543 JR |
128 | +#endif |
129 | +#ifdef SIGPHONE | |
255c5664 | 130 | + { SIGPHONE, "PHONE" }, |
35c9e543 JR |
131 | +#endif |
132 | +#ifdef SIGLOST | |
255c5664 | 133 | + { SIGLOST, "LOST" }, |
35c9e543 JR |
134 | +#endif |
135 | +#ifdef SIGWAITING | |
255c5664 | 136 | + { SIGWAITING, "WAITING" }, |
35c9e543 JR |
137 | +#endif |
138 | +#ifdef SIGLWP | |
255c5664 | 139 | + { SIGLWP, "LWP" }, |
35c9e543 JR |
140 | +#endif |
141 | +#ifdef SIGDANGER | |
255c5664 | 142 | + { SIGDANGER, "DANGER" }, |
35c9e543 JR |
143 | +#endif |
144 | +#ifdef SIGGRANT | |
255c5664 | 145 | + { SIGGRANT, "GRANT" }, |
35c9e543 JR |
146 | +#endif |
147 | +#ifdef SIGRETRACT | |
255c5664 | 148 | + { SIGRETRACT, "RETRACT" }, |
35c9e543 JR |
149 | +#endif |
150 | +#ifdef SIGMSG | |
255c5664 | 151 | + { SIGMSG, "MSG" }, |
35c9e543 JR |
152 | +#endif |
153 | +#ifdef SIGSOUND | |
255c5664 | 154 | + { SIGSOUND, "SOUND" }, |
35c9e543 JR |
155 | +#endif |
156 | +#ifdef SIGSAK | |
255c5664 | 157 | + { SIGSAK, "SAK" }, |
35c9e543 | 158 | +#endif |
255c5664 | 159 | {0, NULL} |
160 | }; | |
35c9e543 | 161 |