Okay, Larry has issued us a challenge! Can we have perl use POSIX signals
instead of whatever signals happen to live on the system perl was compiled on?
HP-UX is particularly hairy -- we have POSIX (sigaction), SysV (signal),
and BSD signals (sigvector). It all depends on whether you have the
right flags to cc (-D_INCLUDE_POSIX_SOURCE or -D_INCLUDE_HPUX_SOURCE to get
POSIX) or simply call the relevant routines.
It looks like it should be simple enough to ifdef the sections of code in
mg.c, pp_sys.c, and util.c. Is that, plus stuff in Configure to check for
POSIX signals, enough?
Jeff
instead of whatever signals happen to live on the system perl was compiled on?
HP-UX is particularly hairy -- we have POSIX (sigaction), SysV (signal),
and BSD signals (sigvector). It all depends on whether you have the
right flags to cc (-D_INCLUDE_POSIX_SOURCE or -D_INCLUDE_HPUX_SOURCE to get
POSIX) or simply call the relevant routines.
It looks like it should be simple enough to ifdef the sections of code in
mg.c, pp_sys.c, and util.c. Is that, plus stuff in Configure to check for
POSIX signals, enough?
Jeff