mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
More code tidyups and NSError updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6ba4584136
commit
9e7b96ab0e
87 changed files with 746 additions and 539 deletions
|
@ -28,7 +28,6 @@
|
|||
#include <Foundation/NSArray.h>
|
||||
#include <Foundation/NSRunLoop.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSError.h>
|
||||
#include <Foundation/NSValue.h>
|
||||
#include <Foundation/NSHost.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
|
@ -365,7 +364,7 @@ static RunLoopEventType typeForStream(NSStream *aStream)
|
|||
theError = [NSError errorWithDomain: NSPOSIXErrorDomain
|
||||
code: errno
|
||||
userInfo: nil];
|
||||
NSLog(@"%@ error(%d): - %@", self, errno, [_GSPrivate error]);
|
||||
NSLog(@"%@ error(%d): - %@", self, errno, [NSError _last]);
|
||||
ASSIGN(_lastError, theError);
|
||||
_currentStatus = NSStreamStatusError;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue