mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
ae38e88a73
PR: ports/80690 Submitted by: chinsan <chinsan@mail2000.com.tw> Approved by: Kevin Day <toasty@dragondata.com> (maintainer)
18 lines
269 B
C
18 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)
|