Changeset 2290 for trunk/src/kash/trap.c
- Timestamp:
- Feb 27, 2009, 5:08:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/trap.c
r1240 r2290 192 192 INTOFF; 193 193 if (action) 194 action = savestr( action);194 action = savestr(psh, action); 195 195 196 196 if (psh->trap[signo]) 197 ckfree(psh ->trap[signo]);197 ckfree(psh, psh->trap[signo]); 198 198 199 199 psh->trap[signo] = action; … … 224 224 INTOFF; 225 225 if (!vforked) { 226 ckfree( *tp);226 ckfree(psh, *tp); 227 227 *tp = NULL; 228 228 }
Note:
See TracChangeset
for help on using the changeset viewer.