From 8b26d0104c1d85c271e5ce6e08bfe64a779beba7 Mon Sep 17 00:00:00 2001 From: Peter Ammon Date: Fri, 2 Mar 2012 00:27:40 -0800 Subject: Some initial changes to use CLO_EXEC, with an eye towards some day using it correctly. --- xdgmimeparent.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'xdgmimeparent.cpp') diff --git a/xdgmimeparent.cpp b/xdgmimeparent.cpp index aef11348..1585628a 100644 --- a/xdgmimeparent.cpp +++ b/xdgmimeparent.cpp @@ -130,6 +130,7 @@ _xdg_mime_parent_read_from_file (XdgParentList *list, int i, alloc; XdgMimeParents *entry; + /* OK to not use CLO_EXEC here because mimedb is single threaded */ file = fopen (file_name, "r"); if (file == NULL) -- cgit v1.2.3