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

DVB: use utf8_open() so we get O_CLOEXEC right

parent 69fe5632
......@@ -118,7 +118,7 @@ int FrontendOpen( access_t *p_access )
return VLC_ENOMEM;
msg_Dbg( p_access, "Opening device %s", frontend );
if( (p_sys->i_frontend_handle = open(frontend, O_RDWR | O_NONBLOCK)) < 0 )
if( (p_sys->i_frontend_handle = utf8_open(frontend, O_RDWR | O_NONBLOCK)) < 0 )
{
msg_Err( p_access, "FrontEndOpen: opening device failed (%m)" );
free( p_frontend );
......
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