summaryrefslogtreecommitdiff
path: root/src/libw32dll
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/libw32dll
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/libw32dll')
-rw-r--r--src/libw32dll/wine/registry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libw32dll/wine/registry.c b/src/libw32dll/wine/registry.c
index 6b9a30fa3..7c4c0f5d8 100644
--- a/src/libw32dll/wine/registry.c
+++ b/src/libw32dll/wine/registry.c
@@ -89,7 +89,7 @@ static void open_registry(void)
printf("Multiple open_registry(>\n");
return;
}
- fd = open_cloexec(localregpathname, O_RDONLY);
+ fd = xine_open_cloexec(localregpathname, O_RDONLY);
if (fd == -1)
{
printf("Creating new registry\n");
@@ -132,7 +132,7 @@ static void save_registry(void)
int fd, i;
if (!regs)
init_registry();
- fd = create_cloexec(localregpathname, O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
+ fd = xine_create_cloexec(localregpathname, O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
if (fd == -1)
{
printf("Failed to open registry file '%s' for writing.\n",