diff options
author | Peter Ammon <corydoras@ridiculousfish.com> | 2012-03-02 00:27:40 -0800 |
---|---|---|
committer | Peter Ammon <corydoras@ridiculousfish.com> | 2012-03-02 00:27:40 -0800 |
commit | 8b26d0104c1d85c271e5ce6e08bfe64a779beba7 (patch) | |
tree | 995568526f190084fd12d74bc6dcd0e828b1018a /xdgmimemagic.cpp | |
parent | 36622c35781c3212c2102c45781a496f3e1b3659 (diff) |
Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly.
Diffstat (limited to 'xdgmimemagic.cpp')
-rw-r--r-- | xdgmimemagic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xdgmimemagic.cpp b/xdgmimemagic.cpp index d6ee9424..5b624fe2 100644 --- a/xdgmimemagic.cpp +++ b/xdgmimemagic.cpp @@ -766,6 +766,7 @@ _xdg_mime_magic_read_from_file (XdgMimeMagic *mime_magic, FILE *magic_file; char header[12]; + /* OK to not use CLO_EXEC here because mimedb is single threaded */ magic_file = fopen (file_name, "r"); if (magic_file == NULL) |