[lsb-discuss] ttyname_r LSB3.1 file creation problem

alanyoung alanyoung at linpus.com
Thu Apr 19 23:39:25 PDT 2007


Hi all:

I ran a test against Linpus Linux and received this error:
/tset/PTHR.os/procenv/ttyname_r/T.ttyname_r 2 
fail
Messages from the test  If the implementation detects that fildes is not a valid file descriptor: a call to ttyname_r(fildes, name, namesize) shall fail and return EBADF. Posix Ref: Component TTYNAME_R Assertion 9945-1:1996 4.7.2.4-2(C) The system does not support the PTHREAD_SCOPE_PROCESS scope, using PTHREAD_SCOPE_SYSTEM The system does not support the PTHREAD_SCOPE_PROCESS scope, using PTHREAD_SCOPE_SYSTEM The system does not support the PTHREAD_SCOPE_PROCESS scope, using PTHREAD_SCOPE_SYSTEM The system does not support the PTHREAD_SCOPE_PROCESS scope, using PTHREAD_SCOPE_SYSTEM The system does not support the PTHREAD_SCOPE_PROCESS scope, using PTHREAD_SCOPE_SYSTEM The system does not support the PTHREAD_SCOPE_PROCESS scope, using PTHREAD_SCOPE_SYSTEM The system does not support the PTHREAD_SCOPE_PROCESS scope, using PTHREAD_SCOPE_SYSTEM The system does not support the PTHREAD_SCOPE_PROCESS scope, using PTHREAD_SCOPE_SYSTEM ttyname_r, expected 9, got 25 ttyname_r, expected 9, got 25 ttyname_r, expected 9, got 25 ttyname_r, expected 9, got 25 ttyname_r, expected 9, got 25 ttyname_r, expected 9, got 25 ttyname_r, expected 9, got 25 ttyname_r, expected 9, got 25


This test is trying to get the tty path from a supplied file. However, this test has problem creating the tmp file and hence, wont be able to find the path. Do any of u guys witness the same problem?



Regards,
AY




More information about the lsb-discuss mailing list