Summary: LSB: ttyname_r() returns an incorrect error value on a
Product: openSUSE 10.2
Version: Alpha 5 plus
Priority: P5 - None
Found by the LSB runtime test: When a ttyname_r() function is called on a
filedescriptor that is already closed (and previously referred to a valid
terminal device), the ENOTTY error is reported. This is incorrect, the EBADF
error should be reported in this case.
Please find the attached program that demonstrates this.
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.