URL:
<http://savannah.gnu.org/bugs/?34154>
Summary: NSLock lockBeforeDate: limit date is incorrect
Project: GNUstep
Submitted by: mguesdon
Submitted on: sam. 27 août 2011 17:12:26 CEST
Category: Base/Foundation
Severity: 4 - Important
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Should be
while([limit timeIntervalSinceNow] > 0);
instead of
while([limit timeIntervalSinceNow] < 0);
as -timeIntervalSinceNow return dateTS - nowTS wich mean futur date is
positive and past date is negative
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34154>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep