all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: 6069@debbugs.gnu.org
Subject: bug#6069: INTMASK on 32/64 bit machines
Date: Fri, 30 Apr 2010 22:31:17 -0400	[thread overview]
Message-ID: <AE64E99D-07BE-4A75-A145-E1F386A7C5F6@gmail.com> (raw)
In-Reply-To: <5A5EF5AB-3423-4AB4-A315-FE0E167CCD71@cmu.edu>

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.







  reply	other threads:[~2010-05-01  2:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-30 23:02 bug#6069: 23.1.96; sxhash, big uints and overflow-error in custom-file David Reitter
2010-05-01  2:31 ` David Reitter [this message]
2011-03-27 20:46 ` Stefan Monnier
2011-03-27 21:16   ` David Reitter
2011-03-28  0:39     ` Stefan Monnier
2011-09-21 19:40       ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AE64E99D-07BE-4A75-A145-E1F386A7C5F6@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=6069@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.