From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "d.henman" Newsgroups: gmane.emacs.devel Subject: Re: Failure in building Emacs 23.0.50 on Cygwin Date: Sat, 01 Sep 2007 12:53:13 +0900 Message-ID: <20070901125313.1488@blackhawk> References: <20070901091956.1876@blackhawk> <200709010035.l810Zwni021513@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1188618630 14273 80.91.229.12 (1 Sep 2007 03:50:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2007 03:50:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Dan Nicolaescu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 01 05:50:29 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 1IRK0A-000369-Bp for ged-emacs-devel@m.gmane.org; Sat, 01 Sep 2007 05:50:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRK09-0004vX-Qj for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 23:50:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IRJzm-0004lR-Q9 for emacs-devel@gnu.org; Fri, 31 Aug 2007 23:50:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRJzl-0004kr-0a for emacs-devel@gnu.org; Fri, 31 Aug 2007 23:50:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRJzk-0004ko-SE for emacs-devel@gnu.org; Fri, 31 Aug 2007 23:50:00 -0400 Original-Received: from mail2.asahi-net.or.jp ([202.224.39.198] helo=mail.asahi-net.or.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IRJzk-0008UY-CT for emacs-devel@gnu.org; Fri, 31 Aug 2007 23:50:00 -0400 Original-Received: from blackhawk (p046236.ppp.asahi-net.or.jp [221.113.46.236]) by mail.asahi-net.or.jp (Postfix) with ESMTP id D97EDC76A9; Sat, 1 Sep 2007 12:49:58 +0900 (JST) In-reply-to: Your message of Fri, 31 Aug 2007 17:35:58 -0700 <200709010035.l810Zwni021513@oogie-boogie.ics.uci.edu> X-Mailer: MH-E 8.0.3; GNU Mailutils 1.2.1; GNU Emacs 22.1.50 X-Detected-Kernel: Genre and OS details not recognized. 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:77523 Archived-At: --=-=-= Dan Nicolaescu wrote: > IMO the question should be asked the other way: how do you avoid > references to "croak". > > Adjust preprocessor code in dissociate_if_controlling_tty so that > croak is not used. Whether that is enough to make cygwin work, I don't > know. Here is the patch I came up with to avoid a reference to croak on the cygwin platform. --=-=-= Content-Type: text/x-c Content-Disposition: inline; filename=term.c.patch Content-Description: term.c patch for cygwin --- term.c 2007-08-30 06:46:50.000000000 +0900 +++ term.c.fixed 2007-09-01 10:39:51.906250000 +0900 @@ -3142,8 +3142,10 @@ emacs_close (fd); sigunblock (sigmask (SIGTTOU)); #else +#ifndef CYGWIN /* Unknown system. */ croak (); +#endif /* ! CYGWIN */ #endif /* ! TIOCNOTTY */ #endif /* ! USG */ } --=-=-= Please review this and let me know if I can check it into cvs. Regards, Darel Henman --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --=-=-=--