aboutsummaryrefslogtreecommitdiffhomepage
path: root/xdgmimealias.cpp
diff options
context:
space:
mode:
authorGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-03-02 00:27:40 -0800
committerGravatar Peter Ammon <corydoras@ridiculousfish.com>2012-03-02 00:27:40 -0800
commit8b26d0104c1d85c271e5ce6e08bfe64a779beba7 (patch)
tree995568526f190084fd12d74bc6dcd0e828b1018a /xdgmimealias.cpp
parent36622c35781c3212c2102c45781a496f3e1b3659 (diff)
Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly.
Diffstat (limited to 'xdgmimealias.cpp')
-rw-r--r--xdgmimealias.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xdgmimealias.cpp b/xdgmimealias.cpp
index 2b47f671..e1701dbc 100644
--- a/xdgmimealias.cpp
+++ b/xdgmimealias.cpp
@@ -124,6 +124,7 @@ _xdg_mime_alias_read_from_file (XdgAliasList *list,
char line[255];
int alloc;
+ /* OK to not use CLO_EXEC here because mimedb is single threaded */
file = fopen (file_name, "r");
if (file == NULL)