From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [philippe.waroquiers@eurocontrol.int: RE: emacs 22.1 on hp-ux 11.11 core dumps when DISPLAY not set] Date: Tue, 14 Aug 2007 22:43:38 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187145629 17923 80.91.229.12 (15 Aug 2007 02:40:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 02:40:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 15 04:40:24 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IL8o4-0008Lu-4d for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 04:40:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IL8o3-0004hk-Nl for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2007 22:40:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IL8nn-0004bX-Ei for emacs-devel@gnu.org; Tue, 14 Aug 2007 22:40:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IL8nn-0004bB-08 for emacs-devel@gnu.org; Tue, 14 Aug 2007 22:40:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IL8nm-0004b4-F2 for emacs-devel@gnu.org; Tue, 14 Aug 2007 22:40:06 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IL8nm-0005vj-4R for emacs-devel@gnu.org; Tue, 14 Aug 2007 22:40:06 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IL8rC-0007XS-CS; Tue, 14 Aug 2007 22:43:38 -0400 X-Spook: global nuclear munitions class struggle underground X-Ran: :S<%g<9P<#&(I7>.eY,\SK&nZA\y8c_/QGER{dwCF4,(@z\Eplo0 (Richard Stallman's message of "Thu, 09 Aug 2007 19:11:29 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76539 Archived-At: Richard Stallman wrote: > Would someone please check and install this fix? It doesn't make any sense to me, except as a workaround for an HPUX compiler bug, but I guess I can't do any harm...? Summary: 1. Explicitly initialize static variables, even though the standard requires this to happen automatically; 2. Move static vars from function scope to file scope, even though they are only used in the function. Curiously, the only online reference I can find for this is an emacs bug report from 1993, about what looks like the same problem with a HPUX compiler compiling etags. http://groups.google.com/group/gnu.emacs.bug/msg/a2caf200c2a84695 > This message and any files transmitted with it are legally > privileged and intended for the sole use of the individual(s) or > entity to whom they are addressed. If you are not the intended > recipient, please notify the sender by reply and delete the message > and any attachments from your system. Any unauthorised use or > disclosure of the content of this message is strictly prohibited and > may be unlawful. Oh noes. :(