From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tom Wurgler Newsgroups: gmane.emacs.devel Subject: Re: [rms@gnu.org: Re: [twurgler@goodyear.com: emacs-21.2.90 on HP 11.0]] Date: Wed, 17 Jul 2002 14:39:30 -0400 (EDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207171839.OAA14070@rds294.goodyear.com> References: <5983E4DAC939D311B2F20008C7E62E7A075D238B@clsh01xch.office.cfmu.eurocontrol.be> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1026931228 22471 127.0.0.1 (17 Jul 2002 18:40:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 17 Jul 2002 18:40:28 +0000 (UTC) Cc: rms@gnu.org, twurgler@goodyear.com, philippe.waroquiers@eurocontrol.int, stef.van-vlierberghe@eurocontrol.int, emacs-devel@gnu.org, bruce@perens.com Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Utit-0005qK-00 for ; Wed, 17 Jul 2002 20:40:27 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17UtuP-0005Go-00 for ; Wed, 17 Jul 2002 20:52:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Utin-0001h5-00; Wed, 17 Jul 2002 14:40:21 -0400 Original-Received: from p2.goodyear.com ([12.4.195.34] helo=goodyear.com) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Uti1-0001dY-00; Wed, 17 Jul 2002 14:39:33 -0400 Original-Received: from rds294.goodyear.com (rds294.goodyear.com [163.243.27.160]) by goodyear.com (8.9.1b+Sun/8.8.8) with ESMTP id OAA26438; Wed, 17 Jul 2002 14:39:31 -0400 (EDT) Original-Received: (from t901353@localhost) by rds294.goodyear.com (8.9.3 (PHNE_18546)/8.9.3) id OAA14070; Wed, 17 Jul 2002 14:39:30 -0400 (EDT) Original-To: philippe.waroquiers@eurocontrol.int Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5843 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5843 Ok, here is a patch that I did for the sysdep.c to take out SA_RESTART for hp. Just went around it. This patch + Richard's patch for process.c + adding the line in hpux11.h (#define USG_SUBTTY_WORKS) seems to fix all the problems I reported. Both for cc and gcc. I don't know that this is the proper thing to do, of course. *** sysdep.c.~1~ Mon Nov 19 09:48:11 2001 --- sysdep.c Wed Jul 17 11:06:11 2002 *************** *** 2803,2808 **** --- 2803,2814 ---- struct sigaction new_action, old_action; sigemptyset (&new_action.sa_mask); new_action.sa_handler = action; + + /* the hpux11 portion below by wurgler 7/17/2002 */ + + #ifdef HPUX11 + new_action.sa_flags = 0; + #else #ifdef SA_RESTART /* Emacs mostly works better with restartable system services. If this * flag exists, we probably want to turn it on here. *************** *** 2811,2816 **** --- 2817,2824 ---- #else new_action.sa_flags = 0; #endif + #endif /* HPUX11 */ + sigaction (signal_number, &new_action, &old_action); return (old_action.sa_handler); }