There's no need for killpg(). We can use kill() instead.
[mmh] / h / nmh.h
diff --git a/h/nmh.h b/h/nmh.h
index 26eb0a2..896786f 100644 (file)
--- a/h/nmh.h
+++ b/h/nmh.h
 #endif
 
 /*
-** we should get this value from sysconf(_SC_NGROUPS_MAX)
-*/
-#ifndef NGROUPS_MAX
-# ifdef NGROUPS
-#  define NGROUPS_MAX NGROUPS
-# else
-#  define NGROUPS_MAX 16
-# endif
-#endif
-
-/*
 ** we should be getting this value from sysconf(_SC_OPEN_MAX)
 */
 #ifndef OPEN_MAX
 
 #include <signal.h>
 
-#ifdef HAVE_KILLPG
-# define KILLPG(pgrp,sig) killpg(pgrp,sig);
-#else
-# define KILLPG(pgrp,sig) kill((-pgrp),sig);
-#endif
-
 /*
 ** If your stat macros are broken,
 ** we will just undefine them.