]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
FS-7004 mod_sndfile: use correct permissions to create new files
authorFlavio Grossi <flaviogrossi@gmail.com>
Tue, 13 Jan 2015 14:30:39 +0000 (15:30 +0100)
committerFlavio Grossi <flaviogrossi@gmail.com>
Wed, 14 Jan 2015 13:22:02 +0000 (14:22 +0100)
commit378d35058fec4aaa471dced8112a69f0e779b45a
treef0485cb8823ce9e5f63e1041520f06ddf000f173
parent59a9669485695f38ef24fbbb175c3636802711ab
FS-7004 mod_sndfile: use correct permissions to create new files

libsndfile's sf_open() function doesn't allow to pass file permissions. To fix
this, new files are created with the correct mode before passing them to
libsndfile.
src/mod/formats/mod_sndfile/mod_sndfile.c