Changeset 843 for trunk/src/ash/bltin/kill.c
- Timestamp:
- Feb 4, 2007, 1:09:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ash/bltin/kill.c
r809 r843 30 30 */ 31 31 32 #if ndef __sun__32 #ifdef HAVE_SYS_CDEFS_H 33 33 #include <sys/cdefs.h> 34 34 #endif … … 63 63 extern void init_sys_signame(void); 64 64 extern char sys_signame[NSIG][16]; 65 #endif 65 #endif 66 66 67 67 #ifdef SHELL /* sh (aka ash) builtin */ … … 109 109 #ifndef HAVE_SYS_SIGNAME 110 110 init_sys_signame(); 111 #endif 111 #endif 112 112 printf("%s\n", sys_signame[numsig]); 113 113 exit(0); … … 193 193 #ifndef HAVE_SYS_SIGNAME 194 194 init_sys_signame(); 195 #endif 195 #endif 196 196 if (strncasecmp(sig, "sig", 3) == 0) 197 197 sig += 3; … … 230 230 #ifndef _MSC_VER 231 231 #warning TIOCGWINSZ is not present. 232 #endif 232 #endif 233 233 #endif 234 234 #ifndef HAVE_SYS_SIGNAME 235 235 init_sys_signame(); 236 #endif 236 #endif 237 237 238 238 for (len = 0, sig = 1; sig < NSIG; sig++) {
Note:
See TracChangeset
for help on using the changeset viewer.