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

mtp: redundant close-on-exec code

(vlc_open() takes care of that)
parent 2190e615
...@@ -294,8 +294,6 @@ static int open_file( access_t *p_access, const char *path ) ...@@ -294,8 +294,6 @@ static int open_file( access_t *p_access, const char *path )
} }
#if defined( HAVE_FCNTL ) #if defined( HAVE_FCNTL )
fcntl( fd, F_SETFD, fcntl( fd, F_GETFD ) | FD_CLOEXEC );
/* We'd rather use any available memory for reading ahead /* We'd rather use any available memory for reading ahead
* than for caching what we've already seen/heard */ * than for caching what we've already seen/heard */
# if defined( F_RDAHEAD ) # if defined( F_RDAHEAD )
......
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