Changeset 2463 for trunk/ash/bltin/kill.c
- Timestamp:
- Nov 19, 2005, 4:58:38 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ash/bltin/kill.c
r2462 r2463 58 58 #ifdef SHELL /* sh (aka ash) builtin */ 59 59 #define main killcmd 60 #include " ../../bin/sh/bltin/bltin.h"61 #endif /* SHELL */ 60 #include "bltin/bltin.h" 61 #endif /* SHELL */ 62 62 63 63 static void nosig(char *); … … 149 149 continue; 150 150 } 151 } else 151 } else 152 152 #endif 153 153 { … … 207 207 int termwidth = 80; 208 208 209 #ifdef TIOCGWINSZ 209 210 if (isatty(fileno(fp))) { 210 211 struct winsize win; … … 212 213 termwidth = win.ws_col; 213 214 } 215 #else 216 #warning TIOCGWINSZ is not present. 217 #endif 214 218 215 219 for (len = 0, sig = 1; sig < NSIG; sig++) {
Note:
See TracChangeset
for help on using the changeset viewer.