mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
21 lines
516 B
Plaintext
21 lines
516 B
Plaintext
$NetBSD: patch-aa,v 1.5 2007/10/14 07:49:54 rillig Exp $
|
|
--- prochandle.cpp.orig 2007-02-11 09:00:00.000000000 +0100
|
|
+++ prochandle.cpp 2007-10-14 09:38:21.000000000 +0200
|
|
@@ -270,6 +270,7 @@ char **ExecExplodeCommand(const char *cm
|
|
/*
|
|
* Returns true if the process is still running.
|
|
*/
|
|
+#if 0
|
|
int ExecProcessExists(pid_t pid)
|
|
{
|
|
#ifdef __linux__
|
|
@@ -294,7 +295,7 @@ int ExecProcessExists(pid_t pid)
|
|
return(0);
|
|
#endif
|
|
}
|
|
-
|
|
+#endif
|
|
|
|
/*
|
|
* Returns the CPU load as a coefficient value from 0.0 to 1.0.
|