From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: [PATCH 5/9] Prevent crash if w32 used before it's initialized Date: Tue, 07 Aug 2012 01:19:27 -0700 Message-ID: <3cb1f39b5711d712c2ec79d6a578044b1b432149.1344326992.git.dancol@dancol.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1344327587 820 80.91.229.3 (7 Aug 2012 08:19:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 08:19:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 10:19:46 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 1Syf0y-00038s-Sc for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 10:19:45 +0200 Original-Received: from localhost ([::1]:50090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syf0y-0000pc-1x for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 04:19:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syf0t-0000gj-Er for emacs-devel@gnu.org; Tue, 07 Aug 2012 04:19:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syf0n-0007js-RF for emacs-devel@gnu.org; Tue, 07 Aug 2012 04:19:39 -0400 Original-Received: from dancol.org ([96.126.100.184]:37133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syf0n-0007ic-LP for emacs-devel@gnu.org; Tue, 07 Aug 2012 04:19:33 -0400 Original-Received: from dancol by dancol.org with local (Exim 4.72) (envelope-from ) id 1Syf0h-0006q2-7E for emacs-devel@gnu.org; Tue, 07 Aug 2012 01:19:27 -0700 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 96.126.100.184 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:152237 Archived-At: --- 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; -- 1.7.2.5