GNU bug report logs - #6069
23.1.96; sxhash, big uints and overflow-error in custom-file

Previous Next

Package: emacs;

Reported by: David Reitter <reitter <at> cmu.edu>

Date: Fri, 30 Apr 2010 23:09:01 UTC

Severity: normal

Tags: notabug

Found in version 23.1.96

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6069 <at> debbugs.gnu.org (full text, mbox):

From: David Reitter <david.reitter <at> gmail.com>
To: 6069 <at> debbugs.gnu.org
Subject: INTMASK on 32/64 bit machines
Date: Fri, 30 Apr 2010 22:31:17 -0400
I have one post-scriptum.

I just noticed that the large `sxhash' integer was produced on a 64-bit machine with INTMASK 0xffffffff,
but that the read failure occurred with a binary compiled for 32-bit architectures.  In that Emacs, INTMASK is 0x3fffffff.

I think that explains what I'm seeing.

Would it be sensible to make `sxhash' use a lower common denominator for modern machines, such as 0x3fffffff?

Or, should the lower INTMASK be used on 64-bit architectures as well?

It's less than ideal that printed Lisp expressions, especially those in customization files, are not interchangeable between different builds of the same version of Emacs.





This bug report was last modified 13 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.