[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: RE: emacs 22.1 on hp-ux 11.11 core dumps when DISPLA
From: |
Andreas Schwab |
Subject: |
Re: address@hidden: RE: emacs 22.1 on hp-ux 11.11 core dumps when DISPLAY not set] |
Date: |
Wed, 15 Aug 2007 20:38:06 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> In Emacs we don't use static vars at less than file scope. I don't
> 100% remember the reason why.
See src/s/hpux.h, for example:
/* USG systems tend to put everything declared static
into the initialized data area, which becomes pure after dumping Emacs.
Foil this. Emacs carefully avoids static vars inside functions. */
#define static
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."