From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11825: 24.1.50; float-time no longer accepts negative time values Date: Sun, 08 Jul 2012 05:57:51 +0300 Message-ID: <83wr2fklhs.fsf@gnu.org> References: <4FF79ADD.8080601@cs.ucla.edu> <83r4so12ja.fsf@gnu.org> <4FF89C4C.6060503@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1341716343 18715 80.91.229.3 (8 Jul 2012 02:59:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2012 02:59:03 +0000 (UTC) Cc: 11825@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 08 04:59:02 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Snhi9-0006Pt-5S for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jul 2012 04:59:01 +0200 Original-Received: from localhost ([::1]:44074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snhi8-0008En-2W for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jul 2012 22:59:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snhi5-0008Eh-6F for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2012 22:58:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Snhi3-0000Mi-HR for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2012 22:58:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Snhi3-0000Md-Dx for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2012 22:58:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Snhmz-0005Tg-Og for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2012 23:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Jul 2012 03:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11825-submit@debbugs.gnu.org id=B11825.134171659621002 (code B ref 11825); Sun, 08 Jul 2012 03:04:01 +0000 Original-Received: (at 11825) by debbugs.gnu.org; 8 Jul 2012 03:03:16 +0000 Original-Received: from localhost ([127.0.0.1]:55607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnhmE-0005Sf-J4 for submit@debbugs.gnu.org; Sat, 07 Jul 2012 23:03:16 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:52943) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnhmB-0005SX-S7 for 11825@debbugs.gnu.org; Sat, 07 Jul 2012 23:03:13 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M6T00900MKYIZ00@a-mtaout21.012.net.il> for 11825@debbugs.gnu.org; Sun, 08 Jul 2012 05:58:03 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M6T0092ZMWRES60@a-mtaout21.012.net.il>; Sun, 08 Jul 2012 05:58:03 +0300 (IDT) In-reply-to: <4FF89C4C.6060503@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61706 Archived-At: > Date: Sat, 07 Jul 2012 13:30:04 -0700 > From: Paul Eggert > CC: 11825@debbugs.gnu.org > > On 07/06/2012 11:57 PM, Eli Zaretskii wrote: > > Yes, the type used by DJGPP for time_t is unsigned. > > OK, thanks, but in that case I don't see how > the use of EMACS_TIME_SIGN in src/msdos.c can > be correct. On hosts where time_t is unsigned, > EMACS_TIME_SIGN can never be negative. I'm not sure I understand: are you saying that a time difference can never be negative on such platforms? What about the case tv_sec = 0 in both time values and tv_nsec difference is negative? In any case, this is a different problem. There's nothing wrong with sys_select on msdos.c, it seems to work just fine.