Fix formatting error

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2001-02-07 12:31:58 +00:00
parent 02ebb24e52
commit 2fe7890356
3 changed files with 491 additions and 485 deletions

View file

@ -1,3 +1,8 @@
2001-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: Fixed error in PAD() macro - it was failing to
decrement a counter - and looping forever.
2001-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: Added gnustep specific feature to run task in

File diff suppressed because it is too large Load diff

View file

@ -209,14 +209,15 @@ pty_slave(const char* name)
@implementation NSTask
+ (id)allocWithZone:(NSZone*)zone
+ (id) allocWithZone: (NSZone*)zone
{
NSTask *task;
if (self == [NSTask class])
task = (NSTask *)NSAllocateObject([NSConcreteTask class], 0, zone);
else
task = (NSTask *)NSAllocateObject(self, 0, zone);
return task;
NSTask *task;
if (self == [NSTask class])
task = (NSTask *)NSAllocateObject([NSConcreteTask class], 0, zone);
else
task = (NSTask *)NSAllocateObject(self, 0, zone);
return task;
}
+ (void) initialize