mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
24 lines
530 B
Plaintext
24 lines
530 B
Plaintext
|
*** command.c.old Mon Dec 5 01:07:33 1994
|
||
|
--- command.c Mon Dec 5 01:07:49 1994
|
||
|
***************
|
||
|
*** 373,381 ****
|
||
|
{
|
||
|
int pgrp = getpid();
|
||
|
ioctl(0, TIOCSPGRP, (char *)&pgrp);
|
||
|
! setpgrp();
|
||
|
close(open(ttynam, O_WRONLY, 0));
|
||
|
! setpgrp ();
|
||
|
}
|
||
|
|
||
|
/* init of termios structure */
|
||
|
--- 373,381 ----
|
||
|
{
|
||
|
int pgrp = getpid();
|
||
|
ioctl(0, TIOCSPGRP, (char *)&pgrp);
|
||
|
! setpgrp(0,pgrp);
|
||
|
close(open(ttynam, O_WRONLY, 0));
|
||
|
! setpgrp (0,pgrp);
|
||
|
}
|
||
|
|
||
|
/* init of termios structure */
|