mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Updates to reduce global namespace pollution. Plenty more remaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4874117588
commit
31342aef09
85 changed files with 1090 additions and 1277 deletions
|
@ -269,7 +269,7 @@ static void setNonblocking(SOCKET fd)
|
|||
unsigned long dummy = 1;
|
||||
|
||||
if (ioctlsocket(fd, FIONBIO, &dummy) == SOCKET_ERROR)
|
||||
NSLog(@"unable to set non-blocking mode - %s",GSLastErrorStr(errno));
|
||||
NSLog(@"unable to set non-blocking mode - %@", [_GSPrivate error]);
|
||||
}
|
||||
|
||||
@implementation GSFileInputStream
|
||||
|
@ -1866,8 +1866,8 @@ static void setNonblocking(SOCKET fd)
|
|||
if (handle == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Unable to open named pipe '%@'... %s",
|
||||
path, GSLastErrorStr(GetLastError())];
|
||||
format: @"Unable to open named pipe '%@'... %@",
|
||||
path, [_GSPrivate error]];
|
||||
}
|
||||
|
||||
// the type of the stream does not matter, since we are only using the fd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue