mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Fix reversed logic of non-blocking I/O in -availableData
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22447 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f1449d61f5
commit
f828fe2156
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-02-07 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSFileHandle.m: ([-availabledata])a fix logic of non-blocking
|
||||
I/O setting.
|
||||
|
||||
2006-02-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSString.m: (handle_printf_atsign()) extend to support wprintf.
|
||||
|
|
|
@ -1260,9 +1260,9 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
int len;
|
||||
|
||||
[self checkRead];
|
||||
if (isNonBlocking == YES)
|
||||
if (isNonBlocking == NO)
|
||||
{
|
||||
[self setNonBlocking: NO];
|
||||
[self setNonBlocking: YES];
|
||||
}
|
||||
d = [NSMutableData dataWithCapacity: 0];
|
||||
if (isStandardFile)
|
||||
|
|
Loading…
Reference in a new issue