[vlc-commits] eyetv: use vlc_socket() for close-on-exec and against SIGPIPE

Rémi Denis-Courmont git at videolan.org
Tue May 26 21:50:19 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May 26 22:49:58 2015 +0300| [07b2c4396fd12166ca426b7b19e85ead093e9644] | committer: Rémi Denis-Courmont

eyetv: use vlc_socket() for close-on-exec and against SIGPIPE

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

 modules/access/eyetv.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/eyetv.m b/modules/access/eyetv.m
index 8de53f0..21b6f71 100644
--- a/modules/access/eyetv.m
+++ b/modules/access/eyetv.m
@@ -170,7 +170,7 @@ static int Open(vlc_object_t *p_this)
         return VLC_EGENERIC;
     }
 
-    publicSock = socket(PF_UNIX, SOCK_STREAM, 0);
+    publicSock = vlc_socket(PF_UNIX, SOCK_STREAM, 0);
     if (publicSock == -1) {
         msg_Err(p_access, "create local socket failed (errno=%d)", errno);
         free(p_sys);



More information about the vlc-commits mailing list