$NetBSD: patch-ac,v 1.2 2007/01/10 14:27:47 martti Exp $ --- lib/helper.c.orig 2006-03-28 16:56:56.000000000 +0000 +++ lib/helper.c 2007-01-10 15:33:50.000000000 +0000 @@ -388,7 +388,7 @@ close(fd); } #else - if (setpgrp() == -1) + if (setpgid(0,0) == -1) exit(1); pid = (pid_t) fork(); if (pid < 0 || pid > 0)