Changeset 2648 in kBuild for trunk/src/kash/shinstance.c
- Timestamp:
- Sep 9, 2012 3:22:30 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/kash/shinstance.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shinstance.c
r2593 r2648 1417 1417 } 1418 1418 1419 1420 /* Wrapper for strerror that makes sure it doesn't return NULL and causes the 1421 caller or fprintf routines to crash. */ 1422 const char *sh_strerror(shinstance *psh, int error) 1423 { 1424 char *err = strerror(error); 1425 if (!err) 1426 return "strerror return NULL!"; 1427 (void)psh; 1428 return err; 1429 } 1430
Note:
See TracChangeset
for help on using the changeset viewer.

