summaryrefslogtreecommitdiff
path: root/src/input/input_vcd.c
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2011-10-03 12:11:56 +0100
committerChris Rankin <rankincj@yahoo.com>2011-10-03 12:11:56 +0100
commit5db268a002e7a102855e84a3ff5e1c27ca7cb927 (patch)
treeb97f50441023384ff052e4daa64a2086fc44b47d /src/input/input_vcd.c
parent5ec743f4ddf302d10b3547cfc18ae0ca8aed1edd (diff)
downloadxine-lib-5db268a002e7a102855e84a3ff5e1c27ca7cb927.tar.gz
xine-lib-5db268a002e7a102855e84a3ff5e1c27ca7cb927.tar.bz2
Prefix open_cloexec() and create_cloexec() with xine_, and add new xine_socket_cloexec() function.
Diffstat (limited to 'src/input/input_vcd.c')
-rw-r--r--src/input/input_vcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c
index 1da5b2839..20bf8c845 100644
--- a/src/input/input_vcd.c
+++ b/src/input/input_vcd.c
@@ -829,7 +829,7 @@ static int vcd_plugin_open (input_plugin_t *this_gen) {
char *filename;
int fd;
- fd = open_cloexec(cls->device, O_RDONLY|O_EXCL);
+ fd = xine_open_cloexec(cls->device, O_RDONLY|O_EXCL);
if (fd == -1) {
return 0;
}
@@ -972,7 +972,7 @@ static xine_mrl_t **vcd_class_get_dir (input_class_t *this_gen, const char *file
return NULL;
- fd = open_cloexec(this->device, O_RDONLY|O_EXCL);
+ fd = xine_open_cloexec(this->device, O_RDONLY|O_EXCL);
if (fd == -1) {
xprintf (this->xine, XINE_VERBOSITY_LOG,
@@ -1034,7 +1034,7 @@ static char ** vcd_class_get_autoplay_list (input_class_t *this_gen, int *num_fi
int i, fd;
- fd = open_cloexec(this->device, O_RDONLY|O_EXCL);
+ fd = xine_open_cloexec(this->device, O_RDONLY|O_EXCL);
if (fd == -1) {
xprintf (this->xine, XINE_VERBOSITY_LOG,