diff options
author | Chris Rankin <rankincj@yahoo.com> | 2011-10-03 12:38:45 +0100 |
---|---|---|
committer | Chris Rankin <rankincj@yahoo.com> | 2011-10-03 12:38:45 +0100 |
commit | a39a950269d165f18448cc7d6da691bf14b9e03b (patch) | |
tree | 2ff0626b06e3e87cb9f3d7678af4859b5d65b594 /src/audio_out/audio_file_out.c | |
parent | cba782a23ee5c9c668e02f9c6d95acba70464d18 (diff) | |
download | xine-lib-a39a950269d165f18448cc7d6da691bf14b9e03b.tar.gz xine-lib-a39a950269d165f18448cc7d6da691bf14b9e03b.tar.bz2 |
Prefix open_cloexec() and create_cloexec() with xine_, and add new xine_socket_cloexec() function.
Diffstat (limited to 'src/audio_out/audio_file_out.c')
-rw-r--r-- | src/audio_out/audio_file_out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_out/audio_file_out.c b/src/audio_out/audio_file_out.c index 352e3421e..c8fe51f72 100644 --- a/src/audio_out/audio_file_out.c +++ b/src/audio_out/audio_file_out.c @@ -115,7 +115,7 @@ static int ao_file_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int if (!this->fname) this->fname = "xine-out.wav"; - this->fd = create_cloexec(this->fname, O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); + this->fd = xine_create_cloexec(this->fname, O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); if (this->fd == -1) { xprintf (this->xine, XINE_VERBOSITY_LOG, "audio_file_out: Failed to open file '%s': %s\n", |