Commit af0441e8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Build fix

parent 6dc14523
...@@ -123,7 +123,7 @@ int utf8_open (const char *filename, int flags, ...) ...@@ -123,7 +123,7 @@ int utf8_open (const char *filename, int flags, ...)
return -1; return -1;
} }
int fd = open (local_name, flags | O_CLOEXEC, mode); int fd = open (local_name, flags, mode);
#ifdef HAVE_FCNTL #ifdef HAVE_FCNTL
if (fd != -1) if (fd != -1)
fcntl (fd, F_SETFD, FD_CLOEXEC); fcntl (fd, F_SETFD, FD_CLOEXEC);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment