[vlc-devel] commit: DVB: use utf8_open() so we get O_CLOEXEC right ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Oct 17 22:20:27 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 17 23:20:09 2009 +0300| [912977b1e2655c33802cde53e7ceb5527732de97] | committer: Rémi Denis-Courmont 

DVB: use utf8_open() so we get O_CLOEXEC right

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=912977b1e2655c33802cde53e7ceb5527732de97
---

 modules/access/dvb/linux_dvb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/dvb/linux_dvb.c b/modules/access/dvb/linux_dvb.c
index 4ef087a..20167cd 100644
--- a/modules/access/dvb/linux_dvb.c
+++ b/modules/access/dvb/linux_dvb.c
@@ -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 );




More information about the vlc-devel mailing list