or run tested the code, so if someone with an eglibc build-tree around could test the attached patch (against the glibc-ports tree) that would be pretty helpfulWith slight modification in progress.
There are failures in testsuite, at least ptsname.c have to be updated too.
Other related functions are: grantpt(), ptsname(), unlockpt() Petr