From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 5/9] Prevent crash if w32 used before it's initialized Date: Tue, 07 Aug 2012 20:23:01 +0300 Message-ID: <83pq72fwga.fsf@gnu.org> References: <3cb1f39b5711d712c2ec79d6a578044b1b432149.1344326992.git.dancol@dancol.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1344360211 11896 80.91.229.3 (7 Aug 2012 17:23:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 17:23:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 19:23:30 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SynV6-0001bQ-Ex for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 19:23:24 +0200 Original-Received: from localhost ([::1]:53082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SynV5-0004Bj-Nm for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 13:23:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SynV2-0004BR-Em for emacs-devel@gnu.org; Tue, 07 Aug 2012 13:23:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SynV1-0006Sz-CY for emacs-devel@gnu.org; Tue, 07 Aug 2012 13:23:20 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:54605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SynV1-0006Sr-4L for emacs-devel@gnu.org; Tue, 07 Aug 2012 13:23:19 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M8E00A00AUXBO00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Tue, 07 Aug 2012 20:23:01 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8E00AE6AYC6J70@a-mtaout23.012.net.il>; Tue, 07 Aug 2012 20:23:01 +0300 (IDT) In-reply-to: <3cb1f39b5711d712c2ec79d6a578044b1b432149.1344326992.git.dancol@dancol.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152270 Archived-At: > Date: Tue, 07 Aug 2012 01:19:27 -0700 > From: Daniel Colascione > > --- > src/w32fns.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/w32fns.c b/src/w32fns.c > index 8ef4982..9743822 100644 > --- a/src/w32fns.c > +++ b/src/w32fns.c > @@ -4833,7 +4833,7 @@ x_display_info_for_name (Lisp_Object name) > CHECK_STRING (name); > > for (dpyinfo = &one_w32_display_info, names = w32_display_name_list; > - dpyinfo; > + dpyinfo && !NILP (w32_display_name_list); > dpyinfo = dpyinfo->next, names = XCDR (names)) > { > Lisp_Object tem; Is this a real problem with the native w32 build? If so, can you tell how to reproduce it?