]> git.pld-linux.org Git - packages/procps.git/blob - procps-sig.patch
- Desktop file moved to %%{_desktopdir}
[packages/procps.git] / procps-sig.patch
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
19 @@ -23,7 +23,141 @@ typedef struct {
20  } SIGNAME;
21  
22  static SIGNAME signals[] = {
23 -#include "signames.h"          /* should be in same dir as this file */
24 +#ifdef SIGHUP
25 +       { SIGHUP, "HUP" },
26 +#endif
27 +#ifdef SIGINT
28 +       { SIGINT, "INT" },
29 +#endif
30 +#ifdef SIGQUIT
31 +       { SIGQUIT, "QUIT" },
32 +#endif
33 +#ifdef SIGILL
34 +       { SIGILL, "ILL" },
35 +#endif
36 +#ifdef SIGTRAP
37 +       { SIGTRAP, "TRAP" },
38 +#endif
39 +#ifdef SIGABRT
40 +       { SIGABRT, "ABRT" },
41 +#endif
42 +#ifdef SIGIOT
43 +       { SIGIOT, "IOT" },
44 +#endif
45 +#ifdef SIGBUS
46 +       { SIGBUS, "BUS" },
47 +#endif
48 +#ifdef SIGFPE
49 +       { SIGFPE, "FPE" },
50 +#endif
51 +#ifdef SIGKILL
52 +       { SIGKILL, "KILL" },
53 +#endif
54 +#ifdef SIGUSR1
55 +       { SIGUSR1, "USR1" },
56 +#endif
57 +#ifdef SIGSEGV
58 +       { SIGSEGV, "SEGV" },
59 +#endif
60 +#ifdef SIGUSR2
61 +       { SIGUSR2, "USR2" },
62 +#endif
63 +#ifdef SIGPIPE
64 +       { SIGPIPE, "PIPE" },
65 +#endif
66 +#ifdef SIGALRM
67 +       { SIGALRM, "ALRM" },
68 +#endif
69 +#ifdef SIGTERM
70 +       { SIGTERM, "TERM" },
71 +#endif
72 +#ifdef SIGSTKFLT
73 +       { SIGSTKFLT, "STKFLT" },
74 +#endif
75 +#ifdef SIGCHLD
76 +       { SIGCHLD, "CHLD" },
77 +#endif
78 +#ifdef SIGCONT
79 +       { SIGCONT, "CONT" },
80 +#endif
81 +#ifdef SIGSTOP
82 +       { SIGSTOP, "STOP" },
83 +#endif
84 +#ifdef SIGTSTP
85 +       { SIGTSTP, "TSTP" },
86 +#endif
87 +#ifdef SIGTTIN
88 +       { SIGTTIN, "TTIN" },
89 +#endif
90 +#ifdef SIGTOU
91 +       { SIGTOU, "TOU" },
92 +#endif
93 +#ifdef SIGURG
94 +       { SIGURG, "URG" },
95 +#endif
96 +#ifdef SIGXCPU
97 +       { SIGXCPU, "XCPU" },
98 +#endif
99 +#ifdef SIGXFSZ
100 +       { SIGXFSZ, "XFSZ" },
101 +#endif
102 +#ifdef SIGVTALRM
103 +       { SIGVTALRM, "VTALRM" },
104 +#endif
105 +#ifdef SIGPROF
106 +       { SIGPROF, "PROF" },
107 +#endif
108 +#ifdef SIGWINCH
109 +       { SIGWINCH, "WINCH" },
110 +#endif
111 +#ifdef SIGIO
112 +       { SIGIO, "IO" },
113 +#endif
114 +#ifdef SIGPWR
115 +       { SIGPWR, "PWR" },
116 +#endif
117 +#ifdef SIGUNUSED
118 +       { SIGUNUSED, "UNUSED" },
119 +#endif
120 +#ifdef SIGEMT
121 +       { SIGEMT, "EMT" },
122 +#endif
123 +#ifdef SIGSYS
124 +       { SIGSYS, "SYS" },
125 +#endif
126 +#ifdef SIGWIND
127 +       { SIGWIND, "WIND" },
128 +#endif
129 +#ifdef SIGPHONE
130 +       { SIGPHONE, "PHONE" },
131 +#endif
132 +#ifdef SIGLOST
133 +       { SIGLOST, "LOST" },
134 +#endif
135 +#ifdef SIGWAITING
136 +       { SIGWAITING, "WAITING" },
137 +#endif
138 +#ifdef SIGLWP
139 +       { SIGLWP, "LWP" },
140 +#endif
141 +#ifdef SIGDANGER
142 +       { SIGDANGER, "DANGER" },
143 +#endif
144 +#ifdef SIGGRANT
145 +       { SIGGRANT, "GRANT" },
146 +#endif
147 +#ifdef SIGRETRACT
148 +       { SIGRETRACT, "RETRACT" },
149 +#endif
150 +#ifdef SIGMSG
151 +       { SIGMSG, "MSG" },
152 +#endif
153 +#ifdef SIGSOUND
154 +       { SIGSOUND, "SOUND" },
155 +#endif
156 +#ifdef SIGSAK
157 +       { SIGSAK, "SAK" },
158 +#endif
159         {0, NULL}
160  };
161  
This page took 0.066078 seconds and 3 git commands to generate.