patch-lib_tostring_c 677 B

1234567891011121314151617181920
  1. --- dante-1.4.1.orig/lib/tostring.c 2014-08-21 18:21:50.000000000 +0200
  2. +++ dante-1.4.1/lib/tostring.c 2016-07-10 10:08:39.785662622 +0200
  3. @@ -1526,7 +1526,7 @@ signal2string(sig)
  4. return "SIGKILL";
  5. #endif /* SIGKILL */
  6. -#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT)
  7. +#if (defined SIGLOST) && (!defined SIGABRT || SIGLOST != SIGABRT || SIGLOST != SIGPWR)
  8. case SIGLOST:
  9. return "SIGLOST";
  10. #endif /* SIGLOST */
  11. @@ -1551,7 +1551,7 @@ signal2string(sig)
  12. return "SIGPROF";
  13. #endif /* SIGPROF */
  14. -#ifdef SIGPWR
  15. +#if (defined SIGPWR) && SIGPWR != SIGLOST
  16. case SIGPWR:
  17. return "SIGPWR";
  18. #endif /* SIGPWR */