1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c
Pav Lucistnik 05597d193f - Update to r12.0.1
PR:		ports/72615
Submitted by:	Kuang-che Wu <kcwu@csie.org> (maintainer)
2004-10-13 19:56:46 +00:00

12 lines
316 B
C

--- iiimsf/src/watchdog.c.orig Sat Dec 6 02:47:06 2003
+++ iiimsf/src/watchdog.c Sat Dec 6 02:47:34 2003
@@ -324,6 +324,8 @@
if ((pid_t)(-1) == pgrp)
fprintf (stderr,"cannot set session id");
+#elif defined(__FreeBSD__)
+ setsid();
#else /* !SunOS */
pgrp = setpgrp();
#endif /* !SunOS */