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

Re: Incorrect signal handling under SYSV machines



OK, sorry to be such an idiot, but it was a simple fix (the config.h
entry for HP-UX is incorrect, I didn't know enough about SYSV to spot
the problem myself).  Here is a patch which will build an es that works
under HP-UX 10.20 with the latest gcc when -DHPUX is applied:

diff -c es-0.9-alpha1/config.h es-0.9-alpha1-fix/config.h
*** es-0.9-alpha1/config.h      Tue May 30 06:13:53 1995
--- es-0.9-alpha1-fix/config.h  Wed Mar 26 21:03:05 1997
***************
*** 274,284 ****
  /* HP/UX 9.0.1 -- from rsalz@osf.org (Rich $alz) and haahr*/
  
  #if HPUX
- #define _INCLUDE_POSIX_SOURCE 1
- #define _INCLUDE_XOPEN_SOURCE 1
- #define _INCLUDE_HPUX_SOURCE  1
  #ifndef       BSD_LIMITS
  #define BSD_LIMITS            0
  #endif
  #ifndef       USE_WAIT3
  #define USE_WAIT3             0
--- 274,284 ----
  /* HP/UX 9.0.1 -- from rsalz@osf.org (Rich $alz) and haahr*/
  
  #if HPUX
  #ifndef       BSD_LIMITS
  #define BSD_LIMITS            0
+ #endif
+ #ifndef SYSV_SIGNALS
+ #define SYSV_SIGNALS          1
  #endif
  #ifndef       USE_WAIT3
  #define USE_WAIT3             0

Loren