library: check not undef SIGLOST
sig.c had this odd logic where on non-Hurd systems it would undefine SIGLOST. Fine for Hurd or amd64 Linux systems. Bad for a sparc which has SIGLOST defined *and* is not Hurd. Just check its defined, its much simpler.
This commit is contained in:
parent
ca07bcad4d
commit
75bd099420
3
NEWS
3
NEWS
@ -1,9 +1,10 @@
|
||||
procps-ng-3.3.14
|
||||
----------------
|
||||
* free: Fix scaling on 32-bit systems issue #89
|
||||
* pgrep: Don't segfault on non match Debian #894917
|
||||
* pgrep/pkill: Revert so matches all namespaces issue #91
|
||||
* free: Fix scaling on 32-bit systems issue #89
|
||||
* library: Build on non-glibc systems issue #88
|
||||
* library: Just check for SIGLOST and don't delete it issye #93
|
||||
|
||||
procps-ng-3.3.13
|
||||
----------------
|
||||
|
@ -52,10 +52,6 @@
|
||||
# undef SIGSTKFLT
|
||||
#endif
|
||||
|
||||
#if !defined(__GNU__) && defined(SIGLOST)
|
||||
# undef SIGLOST
|
||||
#endif
|
||||
|
||||
#ifndef SIGRTMIN
|
||||
# warning Standards require that <signal.h> define SIGRTMIN; assuming 32
|
||||
# define SIGRTMIN 32
|
||||
@ -87,7 +83,7 @@ static const mapstruct sigtable[] = {
|
||||
{"ILL", SIGILL},
|
||||
{"INT", SIGINT},
|
||||
{"KILL", SIGKILL},
|
||||
#ifdef SIGLOST
|
||||
#if defined(__GNU__)
|
||||
{"LOST", SIGLOST}, /* Hurd-specific */
|
||||
#endif
|
||||
{"PIPE", SIGPIPE},
|
||||
|
Loading…
Reference in New Issue
Block a user