Differences From Artifact [ea95096f6a]:
- File unix/uxpty.c — part of check-in [4b39592852] at 2007-02-05 14:04:33 on branch trunk — When calling TIOCSCTTY, it helps to pass it an fd that's still open, instead of one we closed two lines earlier. I apparently broke this in r7107. (user: simon size: 26356)
To Artifact [50d2f09734]:
- File unix/uxpty.c — part of check-in [6f2b9734d1] at 2007-02-05 14:14:17 on branch trunk — Ahem; other half of r7232... (user: simon size: 26350)
| ︙ | |||
774 775 776 777 778 779 780 | 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 | - + | dup2(slavefd, 2); close(slavefd); setsid(); #ifdef TIOCSCTTY ioctl(0, TIOCSCTTY, 1); #endif pgrp = getpid(); |
| ︙ |