From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Fix for Cygwin/GSlice problem Date: Tue, 08 Dec 2009 14:24:38 -0500 Message-ID: <4B1EA7F6.3090504@cornell.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060104040902070803050702" X-Trace: ger.gmane.org 1260300960 14081 80.91.229.12 (8 Dec 2009 19:36:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Dec 2009 19:36:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 08 20:35:52 2009 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 1NI5oI-0002TY-6H for ged-emacs-devel@m.gmane.org; Tue, 08 Dec 2009 20:33:22 +0100 Original-Received: from localhost ([127.0.0.1]:42217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI5oH-00073q-Py for ged-emacs-devel@m.gmane.org; Tue, 08 Dec 2009 14:33:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NI5fy-0005mE-IC for emacs-devel@gnu.org; Tue, 08 Dec 2009 14:24:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NI5ft-0005fn-Hw for emacs-devel@gnu.org; Tue, 08 Dec 2009 14:24:45 -0500 Original-Received: from [199.232.76.173] (port=40326 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NI5ft-0005fW-8u for emacs-devel@gnu.org; Tue, 08 Dec 2009 14:24:41 -0500 Original-Received: from granite1.mail.cornell.edu ([128.253.83.141]:59280 helo=authusersmtp.mail.cornell.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NI5ft-0006gy-83 for emacs-devel@gnu.org; Tue, 08 Dec 2009 14:24:41 -0500 Original-Received: from [128.84.234.191] (markov.math.cornell.edu [128.84.234.191]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.13.1/8.12.10) with ESMTP id nB8JOcIL019381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 8 Dec 2009 14:24:38 -0500 (EST) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:118396 Archived-At: This is a multi-part message in MIME format. --------------060104040902070803050702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The attached patch fixes a longstanding problem with the Gtk+ build of emacs in Cygwin. The problem is described in etc/PROBLEMS ("Emacs compiled with Gtk+ crashes on startup on Cygwin"), along with a workaround. The patch simply incorporates that workaround into the emacs code. I tried to do this so that the Cygwin-specific part is hidden in src/s/cygwin.h; it's conceivable that there are other systems where something similar would be useful. The patch also removes the description of the problem from etc/PROBLEMS and removes a configuration warning. Please apply the patch if it's OK, or tell me how to improve it. Thanks. Ken --------------060104040902070803050702 Content-Type: text/plain; name="gslice.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gslice.patch" --- origsrc/emacs/src/s/cygwin.h 2009-11-20 23:50:36.000000000 -0500 +++ src/emacs/src/s/cygwin.h 2009-12-08 07:05:57.758985600 -0500 @@ -126,6 +126,12 @@ along with GNU Emacs. If not, see