[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG][PATCH] emacs23, make bootstrap failed on x86_64 systems
From: |
Andreas Schwab |
Subject: |
Re: [BUG][PATCH] emacs23, make bootstrap failed on x86_64 systems |
Date: |
Fri, 04 Apr 2008 10:49:53 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Dan Kruchinin <address@hidden> writes:
> But it'll never return false on _LP64 systems(on which EMACS_INT is long
> and sizeof(long) == 8),
> because it uses low bitwise operations expecting that sizeof(EMACS_INT) ==
> 4:
>
> --- src/editfns.c: lisp_time_argument ---
> *result = (XINT (high) << 16) + (XINT (low) & 0xffff);
> return *result >> 16 == XINT (high);
Where does this assume a 32bit EMACS_INT?
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."