bugGNUstep - Bugs: bug #34154, NSLock lockBeforeDate: limit date...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34154: NSLock lockBeforeDate: limit date is incorrect

Submitted by:  Manuel Guesdon <mguesdon>
Submitted on:  Sat 27 Aug 2011 03:12:26 PM UTC  
 
Category: Base/FoundationSeverity: 4 - Important
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 27 Aug 2011 06:58:17 PM UTC, comment #1:

Thanks .. I fixed that.

Richard Frith-Macdonald <CaS>
Project Member
Sat 27 Aug 2011 03:12:26 PM UTC, original submission:

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

Manuel Guesdon <mguesdon>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by mguesdon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 27 Aug 2011 06:58:17 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1