Messages in this thread | | | Date | Mon, 8 Nov 1999 23:31:57 +0100 | From | Jamie Lokier <> | Subject | Re: devfs v136, ZIP disks and glibc-2.1.2 |
| |
Zack Weinberg wrote: > This can't possibly work with BSD ptys, so there is an extension. If > you replace the first open with > > mfd = getpt(); > > then it is documented to work no matter what sort of ptys you have. > But notice that we don't look for the slave till later. At that point > it is too late to back up and switch to BSD ptys - the user already > has the master fd squirreled away.
Maybe dup2 is the solution?
-- Jamie
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |