summaryrefslogtreecommitdiff
path: root/x11/rxvt/files/patch-ab
blob: fb2c7d1e507f73be8f5194f09cfb0503ae30c55c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*** 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		*/