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 (fwd) Date: Fri, 07 Sep 2007 08:26:41 +0900 Message-ID: <20070907082641.2052@blackhawk> References: <20070903075037.2652@blackhawk> <20070903092334.2296@blackhawk> <200709041620.l84GKRKJ026897@oogie-boogie.ics.uci.edu> <200709042136.l84Lawms007683@oogie-boogie.ics.uci.edu> <200709051738.l85HcYIp008041@oogie-boogie.ics.uci.edu> <200709052022.l85KMftF014117@oogie-boogie.ics.uci.edu> <200709052054.l85KsfQf015447@oogie-boogie.ics.uci.edu> <200709061626.l86GQW6H018052@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 1189121278 21403 80.91.229.12 (6 Sep 2007 23:27:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 23:27:58 +0000 (UTC) Cc: Eli Zaretskii , Angelo Graziosi , "d. henman" , emacs-devel@gnu.org To: "Dan Nicolaescu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 01:27:53 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 1ITQlN-0004Vk-D4 for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2007 01:27:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITQlL-0003Go-KR for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 19:27:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ITQkF-00026k-Hl for emacs-devel@gnu.org; Thu, 06 Sep 2007 19:26:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ITQkE-00025B-LH for emacs-devel@gnu.org; Thu, 06 Sep 2007 19:26:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ITQkE-00024y-4V for emacs-devel@gnu.org; Thu, 06 Sep 2007 19:26:42 -0400 Original-Received: from mail1.asahi-net.or.jp ([202.224.39.197] helo=mail.asahi-net.or.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ITQk9-0004oj-KR; Thu, 06 Sep 2007 19:26:37 -0400 Original-Received: from blackhawk (k174076.ppp.asahi-net.or.jp [218.45.174.76]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 79AC2657E; Fri, 7 Sep 2007 08:26:34 +0900 (JST) In-reply-to: Your message of Thu, 06 Sep 2007 09:26:31 -0700 <200709061626.l86GQW6H018052@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:78048 Archived-At: --=-=-= Thanks from all of us unfortunate ones who have to use cygwin. In case you can't find the patch I will inline it below. My papers are in, so there is no legal problem. Regards, Darel Henman Dan Nicolaescu wrote: > Angelo Graziosi writes: > > > On Wed, 5 Sep 2007, Dan Nicolaescu wrote: > > > > > Angelo Graziosi writes: > > > > > > > As I said in the last replay, I can suspend/resume both (emacs, > > > > emacsclient). > > > > > > > > After resume, I can continue to edit files typing in the terminal. > > > > > > > > All these things with a build of Emacs checked out about 12 hours ago, > > > > having applied the 'famous' patch... > > > > > > Thanks! Then, IMO, the patch should go in. > > > > > > > > > > Who should submit it ? If you can and if the patch is valid, may you ? > > I will do it later today in case nobody beat me to it. --=-=-= 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 +++ /tmp/term.c.fixed 2007-09-03 09:15:22.915209300 +0900 @@ -3131,6 +3131,10 @@ setpgrp (); no_controlling_tty = 1; #else +#ifdef CYGWIN + setsid (); + no_controlling_tty = 1; +#else #ifdef TIOCNOTTY /* Try BSD ioctls. */ sigblock (sigmask (SIGTTOU)); fd = emacs_open ("/dev/tty", O_RDWR, 0); @@ -3145,6 +3149,7 @@ /* Unknown system. */ croak (); #endif /* ! TIOCNOTTY */ +#endif /* ! CYGWIN */ #endif /* ! USG */ } #endif --=-=-= 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 --=-=-=--