[MPlayer-dev-eng] Re: mplayer and xscreensaver problems

Andriy Gapon agapon at excite.com
Tue Aug 20 22:17:06 CEST 2002


looks like system(3) behavior I described is compliant to the
standards, i.e. system(3) handles open descriptors as superposition of
fork(2) and exec*(2).
So, I think it is a recommended practice to set close-on-exec flag for
all descriptors after their opening, unless they are explicetely intended
to be passed to a subprocess.
You'd probably want to set close-on-exec flag for at least a sound
device's descriptor (I don't have a clue about other descriptors mplayer
opens).

Thank you.

-- 
Andriy Gapon
*
Hang on tightly, let go lightly.




More information about the MPlayer-dev-eng mailing list