freebsd-ports/editors/joe2/files/patch-tty.c
Pav Lucistnik ae38e88a73 - Update to 2.9.8
PR:		ports/80690
Submitted by:	chinsan <chinsan@mail2000.com.tw>
Approved by:	Kevin Day <toasty@dragondata.com> (maintainer)
2005-10-21 08:53:32 +00:00

17 lines
269 B
C

--- tty.c.orig Fri May 6 17:26:17 2005
+++ tty.c Fri May 6 17:28:19 2005
@@ -934,9 +934,11 @@
#endif
#ifndef SETPGRP_VOID
- setpgrp(0, 0);
-#else
- setpgrp();
+ setpgrp(0, getpid());
+/*
+ * #else
+ * setpgrp();
+ */
#endif
for (x = 0; x != 32; ++x)