[Top][All Lists]

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

Re: Tramp and fixnum (was: Making 'eq' == 'eql' in bignum branch)

From: Paul Eggert
Subject: Re: Tramp and fixnum (was: Making 'eq' == 'eql' in bignum branch)
Date: Mon, 27 Aug 2018 21:47:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Eli Zaretskii wrote:
From: Paul Eggert <address@hidden>
      (when (and (floatp (nth 2 attr))
                 (<= (nth 2 attr) most-positive-fixnum))
        (setcar (nthcdr 2 attr) (round (nth 2 attr))))

Although this snippet shouldn't hurt, it should be unnecessary once
file-attributes is fixed to not return floats.

Fixed in what version of Emacs?  Tramp wants to support more than just
the latest master version.

Good point, I keep forgetting. In that case, that snippet won't hurt.

I just now installed patches into Emacs to fix file-attributes as mentioned above, along with a bunch of other functions dealing with system types like ino_t and pid_t.

reply via email to

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