Menu

#22 missing FD_CLOEXEC?

open
nobody
None
5
2007-05-13
2006-10-20
Anonymous
No

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.

Discussion

  • Marko Macek

    Marko Macek - 2006-11-12
    • labels: --> 319566
    • assigned_to: nobody --> captnmark
     
  • Marko Macek

    Marko Macek - 2007-05-13

    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.

     
  • Marko Macek

    Marko Macek - 2007-05-13
    • labels: 319566 -->
    • assigned_to: captnmark --> nobody
     

Log in to post a comment.