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:
fedor 1997-09-29 14:39:53 +00:00
parent 7b704b0ec4
commit f88a65db7e
32 changed files with 1576 additions and 2603 deletions

View file

@ -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