tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp, integer overflow on gid


From: lawrence mitchell
Subject: Re: tramp, integer overflow on gid
Date: Sat, 27 Jul 2002 22:46:41 +0100
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2.90 (i386-mingw-windows98.2222)

Jens Gustedt wrote:

> ELISP> (read "(123 999999999999999999 432)")
> *** Eval error *** Invalid read syntax: "Integer constant
> overflow in reader", "999999999999999999", 10

So GNU Emacs rolls integers that are too large over, but XEmacs
doesn't.

ELISP> (read "(123 999999999999999999 432)")
(123 123994111 432)

> Probably not much usefull by itself. So you might want to try-catch it
> (or however this construct might be called in elisp) ?

What about checking `most-positive-fixnum'?  No actually that
probably wouldn't work at all.

Perhaps one doesn't need to use `read' at all?  Though I guess
it's the easiest way to extract information from the buffer
(which is what I think is happening), and lots of other things
might break if one didn't.  (Actually scrap that idea).

Oh dear, that was a completely useless post.


PS: yes there are people out here. :)

-- 
lawrence mitchell <address@hidden>




reply via email to

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