File: map-HALTED-to-STOP.patch

package info (click to toggle)
libproc-processtable-perl 0.59-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 624 kB
  • sloc: ansic: 4,335; perl: 562; makefile: 15
file content (20 lines) | stat: -rw-r--r-- 649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix build failure on GNU Hurd:
 Map GNU Hurd HALTED state to STOP
Origin: vendor
Bug-Debian: https://bugs.debian.org/942788
Author: Mattias Ellert <mattias.ellert@physics.uu.se>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2019-10-28
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=130833
Bug: https://rt.cpan.org/Ticket/Display.html?id=130833

--- a/os/Linux.c
+++ b/os/Linux.c
@@ -537,6 +537,7 @@
             prs->state = get_string(UWAIT);
             break;
         case 'T':
+        case 'H': /* GNU Hurd HALTED state */
             prs->state = get_string(STOP);
             break;
         case 'x':