mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
Ahem; other half of r7232...
[originally from svn r7233] [r7232 == 6ee6a4d37926062f5b610de4cef2a6ce4fe63345]
This commit is contained in:
parent
6ee6a4d379
commit
9c35141162
@ -778,7 +778,7 @@ static const char *pty_init(void *frontend, void **backend_handle, Config *cfg,
|
||||
ioctl(0, TIOCSCTTY, 1);
|
||||
#endif
|
||||
pgrp = getpid();
|
||||
tcsetpgrp(slavefd, pgrp);
|
||||
tcsetpgrp(0, pgrp);
|
||||
setpgid(pgrp, pgrp);
|
||||
close(open(pty->name, O_WRONLY, 0));
|
||||
setpgid(pgrp, pgrp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user