emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Re: address@hidden: emacs-21.2.90 on HP 11.0]]


From: Tom Wurgler
Subject: Re: address@hidden: Re: address@hidden: emacs-21.2.90 on HP 11.0]]
Date: Wed, 17 Jul 2002 14:39:30 -0400 (EDT)

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);
  }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]