mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
New strerror-like function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10043 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
070221a63a
commit
b45f9f3970
24 changed files with 215 additions and 151 deletions
|
@ -1082,7 +1082,7 @@ GSCheckTasks()
|
|||
if (result < 0)
|
||||
{
|
||||
NSLog(@"waitpid %d, result %d, error %s",
|
||||
_taskId, result, strerror(errno));
|
||||
_taskId, result, GSLastErrorStr(errno));
|
||||
[self _terminatedChild: -1];
|
||||
}
|
||||
else if (result == _taskId || (result > 0 && errno == 0))
|
||||
|
@ -1112,7 +1112,7 @@ GSCheckTasks()
|
|||
#ifdef WAITDEBUG
|
||||
else
|
||||
NSLog(@"waitpid %d, result %d, error %s",
|
||||
_taskId, result, strerror(errno));
|
||||
_taskId, result, GSLastErrorStr(errno));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue