OSDN Git Service

michael_d writes in 1879:
authorMike Frysinger <vapier@gentoo.org>
Sat, 5 Jan 2008 06:07:49 +0000 (06:07 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 5 Jan 2008 06:07:49 +0000 (06:07 -0000)
commit5ec141e00272315e7690c00f1a3731631d587fa3
treea905b89eb048d9709333229b02c849548284077f
parent3147039a65275662aaf713079cd11209374fd9cd
michael_d writes in 1879:
When no TIOCGPTN definition is present in the kernel headers, the library's ptsname() function will not work.

The libc/stdlib/ptsname_r.c file is the problem. This file includes a complicated nest of #if directives. One of these #if's has the opposite sense from what is required.
libc/stdlib/ptsname.c