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: Sat, 07 Jul 2012 09:57:45 +0300 Message-ID: <83r4so12ja.fsf@gnu.org> References: <4FF79ADD.8080601@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1341644356 4543 80.91.229.3 (7 Jul 2012 06:59:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jul 2012 06:59:16 +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 Sat Jul 07 08:59:16 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 1SnOyx-0002jY-W3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jul 2012 08:59:08 +0200 Original-Received: from localhost ([::1]:49376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnOyx-0008A0-1v for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jul 2012 02:59:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnOyt-00089k-2O for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2012 02:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SnOyr-0007QJ-Ej for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2012 02:59:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnOyr-0007Q4-BR for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2012 02:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SnP3i-0005AN-9p for bug-gnu-emacs@gnu.org; Sat, 07 Jul 2012 03:04:02 -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: Sat, 07 Jul 2012 07:04:02 +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.134164458919801 (code B ref 11825); Sat, 07 Jul 2012 07:04:02 +0000 Original-Received: (at 11825) by debbugs.gnu.org; 7 Jul 2012 07:03:09 +0000 Original-Received: from localhost ([127.0.0.1]:53688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnP2q-00059J-Ga for submit@debbugs.gnu.org; Sat, 07 Jul 2012 03:03:08 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:55215) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SnP2l-000597-9g for 11825@debbugs.gnu.org; Sat, 07 Jul 2012 03:03:04 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M6S004002TFI100@a-mtaout21.012.net.il> for 11825@debbugs.gnu.org; Sat, 07 Jul 2012 09:57:59 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M6S004ZF3CN9W90@a-mtaout21.012.net.il>; Sat, 07 Jul 2012 09:57:59 +0300 (IDT) In-reply-to: <4FF79ADD.8080601@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:61678 Archived-At: > Date: Fri, 06 Jul 2012 19:11:41 -0700 > From: Paul Eggert > CC: 11825@debbugs.gnu.org > > On my host (Fedora 15 x86-64) float-time works just fine > with negative values. Possibly the problem is that > time_t is unsigned on your host Yes, the type used by DJGPP for time_t is unsigned. > and that float-time converts > its argument through time_t, which fails. As far as I > can see Emacs has behaved this way for some time, > but it doesn't hurt to generalize float-time so that > it does not fail due to out-of-range integers, so I > installed that into the trunk as bzr 108928. Please > give it a try on your host to see whether it fixes > the problem. Will do, thanks.