mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
NSCalendarDate.m - dateByAddingYears lost timezone info.
- initWithString didn't deal with adjacent format specifiers. NSDate.m - addTimeInterval messed up timezone if used with CalendarDate. NSArray.m - NSMutableArray's comparered against a garbage pointer NSGArray.m on removal. This causes real problems on SMP machines. NSTimeZone.m - The GMT+-xx files on OpenStep are in the root directory and they are in Etc/* in gnustep so check both. NSObject.m - The release code was slightly broken for SMP machine use. NSLock.m - Trylock was broken and lockBeforeDate unimplemented. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5436 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c3fb857b06
commit
b35bbfad7e
7 changed files with 479 additions and 291 deletions
|
@ -450,6 +450,11 @@ static SEL eqSel = @selector(isEqual:);
|
|||
}
|
||||
_count--;
|
||||
RELEASE(obj);
|
||||
/*
|
||||
* Bail out now or run the risk of comparing against a garbage
|
||||
* pointer.
|
||||
*/
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -500,6 +505,11 @@ static SEL eqSel = @selector(isEqual:);
|
|||
}
|
||||
_count--;
|
||||
RELEASE(obj);
|
||||
/*
|
||||
* Bail out now or run the risk of comparing against a garbage
|
||||
* pointer.
|
||||
*/
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue