Eric Andersen | bdfd0d7 | 2001-10-24 05:00:29 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
| 2 | /* |
Rob Landley | c9c1a41 | 2006-07-12 19:17:55 +0000 | [diff] [blame] | 3 | * Signal name/number conversion routines. |
Eric Andersen | bdfd0d7 | 2001-10-24 05:00:29 +0000 | [diff] [blame] | 4 | * |
Rob Landley | c9c1a41 | 2006-07-12 19:17:55 +0000 | [diff] [blame] | 5 | * Copyright 2006 Rob Landley <rob@landley.net> |
Eric Andersen | bdfd0d7 | 2001-10-24 05:00:29 +0000 | [diff] [blame] | 6 | * |
Denys Vlasenko | 0ef64bd | 2010-08-16 20:14:46 +0200 | [diff] [blame] | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
Eric Andersen | bdfd0d7 | 2001-10-24 05:00:29 +0000 | [diff] [blame] | 8 | */ |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 9 | //config:config FEATURE_RTMINMAX |
| 10 | //config: bool "Support RTMIN[+n] and RTMAX[-n] signal names" |
| 11 | //config: default y |
| 12 | //config: help |
Denys Vlasenko | 72089cf | 2017-07-21 09:50:55 +0200 | [diff] [blame] | 13 | //config: Support RTMIN[+n] and RTMAX[-n] signal names |
| 14 | //config: in kill, killall etc. This costs ~250 bytes. |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 15 | |
Bernhard Reutner-Fischer | 421d9e5 | 2006-04-03 16:39:31 +0000 | [diff] [blame] | 16 | #include "libbb.h" |
| 17 | |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 18 | /* Believe it or not, but some arches have more than 32 SIGs! |
| 19 | * HPPA: SIGSTKFLT == 36. */ |
Denis Vlasenko | 5f934b0 | 2007-12-04 10:05:28 +0000 | [diff] [blame] | 20 | |
Denys Vlasenko | 3e134eb | 2016-04-22 18:09:21 +0200 | [diff] [blame] | 21 | static const char signals[][7] ALIGN1 = { |
Rob Landley | c9c1a41 | 2006-07-12 19:17:55 +0000 | [diff] [blame] | 22 | // SUSv3 says kill must support these, and specifies the numerical values, |
| 23 | // http://www.opengroup.org/onlinepubs/009695399/utilities/kill.html |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 24 | // {0, "EXIT"}, {1, "HUP"}, {2, "INT"}, {3, "QUIT"}, |
| 25 | // {6, "ABRT"}, {9, "KILL"}, {14, "ALRM"}, {15, "TERM"} |
Rob Landley | c9c1a41 | 2006-07-12 19:17:55 +0000 | [diff] [blame] | 26 | // And Posix adds the following: |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 27 | // {SIGILL, "ILL"}, {SIGTRAP, "TRAP"}, {SIGFPE, "FPE"}, {SIGUSR1, "USR1"}, |
| 28 | // {SIGSEGV, "SEGV"}, {SIGUSR2, "USR2"}, {SIGPIPE, "PIPE"}, {SIGCHLD, "CHLD"}, |
| 29 | // {SIGCONT, "CONT"}, {SIGSTOP, "STOP"}, {SIGTSTP, "TSTP"}, {SIGTTIN, "TTIN"}, |
| 30 | // {SIGTTOU, "TTOU"} |
Denis Vlasenko | 5f934b0 | 2007-12-04 10:05:28 +0000 | [diff] [blame] | 31 | |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 32 | [0] = "EXIT", |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 33 | #ifdef SIGHUP |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 34 | [SIGHUP ] = "HUP", |
| 35 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 36 | #ifdef SIGINT |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 37 | [SIGINT ] = "INT", |
| 38 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 39 | #ifdef SIGQUIT |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 40 | [SIGQUIT ] = "QUIT", |
| 41 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 42 | #ifdef SIGILL |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 43 | [SIGILL ] = "ILL", |
| 44 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 45 | #ifdef SIGTRAP |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 46 | [SIGTRAP ] = "TRAP", |
| 47 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 48 | #ifdef SIGABRT |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 49 | [SIGABRT ] = "ABRT", |
| 50 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 51 | #ifdef SIGBUS |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 52 | [SIGBUS ] = "BUS", |
| 53 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 54 | #ifdef SIGFPE |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 55 | [SIGFPE ] = "FPE", |
| 56 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 57 | #ifdef SIGKILL |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 58 | [SIGKILL ] = "KILL", |
| 59 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 60 | #ifdef SIGUSR1 |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 61 | [SIGUSR1 ] = "USR1", |
| 62 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 63 | #ifdef SIGSEGV |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 64 | [SIGSEGV ] = "SEGV", |
| 65 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 66 | #ifdef SIGUSR2 |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 67 | [SIGUSR2 ] = "USR2", |
| 68 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 69 | #ifdef SIGPIPE |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 70 | [SIGPIPE ] = "PIPE", |
| 71 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 72 | #ifdef SIGALRM |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 73 | [SIGALRM ] = "ALRM", |
| 74 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 75 | #ifdef SIGTERM |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 76 | [SIGTERM ] = "TERM", |
| 77 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 78 | #ifdef SIGSTKFLT |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 79 | [SIGSTKFLT] = "STKFLT", |
| 80 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 81 | #ifdef SIGCHLD |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 82 | [SIGCHLD ] = "CHLD", |
| 83 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 84 | #ifdef SIGCONT |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 85 | [SIGCONT ] = "CONT", |
| 86 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 87 | #ifdef SIGSTOP |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 88 | [SIGSTOP ] = "STOP", |
| 89 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 90 | #ifdef SIGTSTP |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 91 | [SIGTSTP ] = "TSTP", |
| 92 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 93 | #ifdef SIGTTIN |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 94 | [SIGTTIN ] = "TTIN", |
| 95 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 96 | #ifdef SIGTTOU |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 97 | [SIGTTOU ] = "TTOU", |
| 98 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 99 | #ifdef SIGURG |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 100 | [SIGURG ] = "URG", |
| 101 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 102 | #ifdef SIGXCPU |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 103 | [SIGXCPU ] = "XCPU", |
| 104 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 105 | #ifdef SIGXFSZ |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 106 | [SIGXFSZ ] = "XFSZ", |
| 107 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 108 | #ifdef SIGVTALRM |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 109 | [SIGVTALRM] = "VTALRM", |
| 110 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 111 | #ifdef SIGPROF |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 112 | [SIGPROF ] = "PROF", |
| 113 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 114 | #ifdef SIGWINCH |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 115 | [SIGWINCH ] = "WINCH", |
| 116 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 117 | #ifdef SIGPOLL |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 118 | [SIGPOLL ] = "POLL", |
| 119 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 120 | #ifdef SIGPWR |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 121 | [SIGPWR ] = "PWR", |
| 122 | #endif |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 123 | #ifdef SIGSYS |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 124 | [SIGSYS ] = "SYS", |
| 125 | #endif |
Denys Vlasenko | 327d288 | 2011-01-03 13:08:58 +0100 | [diff] [blame] | 126 | #if ENABLE_FEATURE_RTMINMAX |
| 127 | # ifdef __SIGRTMIN |
| 128 | [__SIGRTMIN] = "RTMIN", |
| 129 | # endif |
| 130 | // This makes array about x2 bigger. |
| 131 | // More compact approach is to special-case SIGRTMAX in print_signames() |
| 132 | //# ifdef __SIGRTMAX |
| 133 | // [__SIGRTMAX] = "RTMAX", |
| 134 | //# endif |
| 135 | #endif |
Eric Andersen | 842757d | 2001-08-02 05:18:55 +0000 | [diff] [blame] | 136 | }; |
| 137 | |
Rob Landley | c9c1a41 | 2006-07-12 19:17:55 +0000 | [diff] [blame] | 138 | // Convert signal name to number. |
Eric Andersen | 842757d | 2001-08-02 05:18:55 +0000 | [diff] [blame] | 139 | |
Denis Vlasenko | defc1ea | 2008-06-27 02:52:20 +0000 | [diff] [blame] | 140 | int FAST_FUNC get_signum(const char *name) |
Eric Andersen | 842757d | 2001-08-02 05:18:55 +0000 | [diff] [blame] | 141 | { |
Denis Vlasenko | 6b06cb8 | 2008-05-15 21:30:45 +0000 | [diff] [blame] | 142 | unsigned i; |
Eric Andersen | 842757d | 2001-08-02 05:18:55 +0000 | [diff] [blame] | 143 | |
Denis Vlasenko | 2a813e2 | 2006-12-23 01:06:21 +0000 | [diff] [blame] | 144 | i = bb_strtou(name, NULL, 10); |
Denys Vlasenko | 86981e3 | 2017-07-25 20:06:17 +0200 | [diff] [blame] | 145 | if (!errno && i < NSIG) /* for shells, we allow 0 too */ |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 146 | return i; |
| 147 | if (strncasecmp(name, "SIG", 3) == 0) |
| 148 | name += 3; |
Denis Vlasenko | 6b06cb8 | 2008-05-15 21:30:45 +0000 | [diff] [blame] | 149 | for (i = 0; i < ARRAY_SIZE(signals); i++) |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 150 | if (strcasecmp(name, signals[i]) == 0) |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 151 | return i; |
| 152 | |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 153 | #if ENABLE_DESKTOP |
| 154 | # if defined(SIGIOT) || defined(SIGIO) |
Denis Vlasenko | b851c42 | 2007-12-04 21:44:52 +0000 | [diff] [blame] | 155 | /* SIGIO[T] are aliased to other names, |
| 156 | * thus cannot be stored in the signals[] array. |
| 157 | * Need special code to recognize them */ |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 158 | if ((name[0] | 0x20) == 'i' && (name[1] | 0x20) == 'o') { |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 159 | # ifdef SIGIO |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 160 | if (!name[2]) |
| 161 | return SIGIO; |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 162 | # endif |
| 163 | # ifdef SIGIOT |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 164 | if ((name[2] | 0x20) == 't' && !name[3]) |
| 165 | return SIGIOT; |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 166 | # endif |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 167 | } |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 168 | # endif |
| 169 | #endif |
| 170 | |
| 171 | #if ENABLE_FEATURE_RTMINMAX |
| 172 | # if defined(SIGRTMIN) && defined(SIGRTMAX) |
Denys Vlasenko | 7b276fc | 2011-01-03 12:51:13 +0100 | [diff] [blame] | 173 | /* libc may use some rt sigs for pthreads and therefore "remap" SIGRTMIN/MAX, |
| 174 | * but we want to use "raw" SIGRTMIN/MAX. Underscored names, if exist, provide |
| 175 | * them. If they don't exist, fall back to non-underscored ones: */ |
| 176 | # if !defined(__SIGRTMIN) |
| 177 | # define __SIGRTMIN SIGRTMIN |
| 178 | # endif |
| 179 | # if !defined(__SIGRTMAX) |
| 180 | # define __SIGRTMAX SIGRTMAX |
| 181 | # endif |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 182 | if (strncasecmp(name, "RTMIN", 5) == 0) { |
| 183 | if (!name[5]) |
Denys Vlasenko | 7b276fc | 2011-01-03 12:51:13 +0100 | [diff] [blame] | 184 | return __SIGRTMIN; |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 185 | if (name[5] == '+') { |
| 186 | i = bb_strtou(name + 6, NULL, 10); |
Denys Vlasenko | 7b276fc | 2011-01-03 12:51:13 +0100 | [diff] [blame] | 187 | if (!errno && i <= __SIGRTMAX - __SIGRTMIN) |
| 188 | return __SIGRTMIN + i; |
| 189 | } |
| 190 | } |
| 191 | else if (strncasecmp(name, "RTMAX", 5) == 0) { |
| 192 | if (!name[5]) |
| 193 | return __SIGRTMAX; |
| 194 | if (name[5] == '-') { |
| 195 | i = bb_strtou(name + 6, NULL, 10); |
| 196 | if (!errno && i <= __SIGRTMAX - __SIGRTMIN) |
| 197 | return __SIGRTMAX - i; |
Denys Vlasenko | 2753aae | 2010-12-30 01:17:03 +0100 | [diff] [blame] | 198 | } |
| 199 | } |
| 200 | # endif |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 201 | #endif |
| 202 | |
Rob Landley | c9c1a41 | 2006-07-12 19:17:55 +0000 | [diff] [blame] | 203 | return -1; |
| 204 | } |
| 205 | |
| 206 | // Convert signal number to name |
| 207 | |
Denis Vlasenko | defc1ea | 2008-06-27 02:52:20 +0000 | [diff] [blame] | 208 | const char* FAST_FUNC get_signame(int number) |
Rob Landley | c9c1a41 | 2006-07-12 19:17:55 +0000 | [diff] [blame] | 209 | { |
Denis Vlasenko | 80b8b39 | 2007-06-25 10:55:35 +0000 | [diff] [blame] | 210 | if ((unsigned)number < ARRAY_SIZE(signals)) { |
Denis Vlasenko | dcf4de2 | 2007-05-01 20:07:29 +0000 | [diff] [blame] | 211 | if (signals[number][0]) /* if it's not an empty str */ |
| 212 | return signals[number]; |
Eric Andersen | 842757d | 2001-08-02 05:18:55 +0000 | [diff] [blame] | 213 | } |
Rob Landley | c9c1a41 | 2006-07-12 19:17:55 +0000 | [diff] [blame] | 214 | |
Denis Vlasenko | 75ab6af | 2007-03-14 21:56:51 +0000 | [diff] [blame] | 215 | return itoa(number); |
Eric Andersen | 842757d | 2001-08-02 05:18:55 +0000 | [diff] [blame] | 216 | } |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 217 | |
| 218 | |
| 219 | // Print the whole signal list |
| 220 | |
Denis Vlasenko | defc1ea | 2008-06-27 02:52:20 +0000 | [diff] [blame] | 221 | void FAST_FUNC print_signames(void) |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 222 | { |
Denis Vlasenko | 6b06cb8 | 2008-05-15 21:30:45 +0000 | [diff] [blame] | 223 | unsigned signo; |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 224 | |
Denis Vlasenko | 6b06cb8 | 2008-05-15 21:30:45 +0000 | [diff] [blame] | 225 | for (signo = 1; signo < ARRAY_SIZE(signals); signo++) { |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 226 | const char *name = signals[signo]; |
| 227 | if (name[0]) |
Denys Vlasenko | 327d288 | 2011-01-03 13:08:58 +0100 | [diff] [blame] | 228 | printf("%2u) %s\n", signo, name); |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 229 | } |
Denys Vlasenko | 327d288 | 2011-01-03 13:08:58 +0100 | [diff] [blame] | 230 | #if ENABLE_FEATURE_RTMINMAX |
| 231 | # ifdef __SIGRTMAX |
| 232 | printf("%2u) %s\n", __SIGRTMAX, "RTMAX"); |
| 233 | # endif |
| 234 | #endif |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 235 | } |