missing FD_CLOEXEC?
Brought to you by:
captnmark
Using icewm-1.2.28 compiled (simple ./configure, make,
and make install specifying no options; using gcc
4.1.1) on i686 runnig Fedora Core 5. When logging out
of icewm to a command prompt, will get this warning
message:
IceWM: Warning: File still open: fd=6,
target='/home/myuser/.rh-fontconfig/.fonts.cache-2'
(missing FD_CLOEXEC?). If icewm is run, no programs
are run, and I logout of icewm, the message is not
displayed. But even opening a terminal (xterm) window,
or a webbrowser, will display the error upon logging
out of icewm. Contact info: paroikos_at_myrealbox_dot_com.
Logged In: YES
user_id=1814
Originator: NO
This is not strictly a bug, but a library leaves the file descriptor open (without setting
FD_CLOEXEC), making icewm close it itself before executing any subprocess.
It would be nice if such problems were fixed in the libraries.