> An explanation by example:

Thanks Matthew, I was wondering whether it had to do with descriptor
inheritance. One could call it a bug in the process though, to call
programs with insane descriptors. Nevertheless, what would be the
correct way for testing in "program" whether the standard descriptors
are sane?

(Minor: stderr is fd 2:
lrwxrwxrwx  1 root root 4 2004-11-24 18:33 /dev/stderr -> fd/2
lrwxrwxrwx  1 root root 4 2004-11-24 18:33 /dev/stdin -> fd/0
lrwxrwxrwx  1 root root 4 2004-11-24 18:33 /dev/stdout -> fd/1|
)

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to