bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34154] NSLock lockBeforeDate: limit date is incorrect


From: Manuel Guesdon
Subject: [bug #34154] NSLock lockBeforeDate: limit date is incorrect
Date: Sat, 27 Aug 2011 15:12:26 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]