mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Rewrite of NSData from Richard Frith-Macdonald <richard@brainstorm.co.uk>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2459 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7b704b0ec4
commit
f88a65db7e
32 changed files with 1576 additions and 2603 deletions
|
@ -115,7 +115,8 @@ o_vscanf (void *stream,
|
|||
{
|
||||
id message;
|
||||
|
||||
message = [NSString stringWithFormat: @"Stream: %s", strerror(errno)];
|
||||
message = [[NSString alloc] initWithFormat: @"Stream: %s",
|
||||
strerror(errno)];
|
||||
NSLog(message);
|
||||
[message release];
|
||||
[super dealloc];
|
||||
|
@ -131,7 +132,8 @@ o_vscanf (void *stream,
|
|||
{
|
||||
id message;
|
||||
|
||||
message = [NSString stringWithFormat: @"Stream: %s", strerror(errno)];
|
||||
message = [[NSString alloc] initWithFormat: @"Stream: %s",
|
||||
strerror(errno)];
|
||||
NSLog(message);
|
||||
[message release];
|
||||
[super dealloc];
|
||||
|
@ -243,6 +245,7 @@ stdio_unchar_func(void *s, int c)
|
|||
- (void) close
|
||||
{
|
||||
fclose(fp);
|
||||
fp = 0;
|
||||
}
|
||||
|
||||
- (BOOL) isClosed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue