mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
* Source/GSFileHandle.m (-setNonBlocking:): Set the isNonBlocking
ivar on MingW. Fixes bug #10742. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20402 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e91474be65
commit
aeeb74e616
2 changed files with 9 additions and 0 deletions
|
@ -2283,6 +2283,8 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
NSLog(@"unable to set non-blocking mode - %s",
|
||||
GSLastErrorStr(errno));
|
||||
}
|
||||
else
|
||||
isNonBlocking = flag;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2293,6 +2295,8 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
NSLog(@"unable to set blocking mode - %s",
|
||||
GSLastErrorStr(errno));
|
||||
}
|
||||
else
|
||||
isNonBlocking = flag;
|
||||
}
|
||||
#else
|
||||
int e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue