bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#11825: 24.1.50; float-time no longer accepts negative time values


From: Eli Zaretskii
Subject: bug#11825: 24.1.50; float-time no longer accepts negative time values
Date: Sat, 07 Jul 2012 09:57:45 +0300

> Date: Fri, 06 Jul 2012 19:11:41 -0700
> From: Paul Eggert <eggert@cs.ucla.edu>
> 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.





reply via email to

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