Alas, I found *what* is going on differently depending on the library used. With libc_r, dup2() gets called and fails, preventing execution of konsole_grantpty, with libthr things work, konsole_grantpty gets called and... ttyname fails. :-) Now, dup2() implementation seems to differ between libc_r and libthr (though I'm open to be shown that is not so -- I don't quite understand how things work here). I have verified that by preventing execution of /usr/local/bin/konsole_grantpty (by the simple artifice of renaming it), the problem DOES NOT HAPPEN. Now... to find out what's different between both dup2() implementations... -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo_at_tco.net.br Daniel.Sobral_at_tcoip.com.br dcs_at_tcoip.com.br Outros: dcs_at_newsguy.com dcs_at_freebsd.org capo_at_notorious.bsdconspiracy.net "I think sex is better than logic, but I can't prove it."Received on Tue Jun 03 2003 - 03:47:54 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC