mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
use pa_fopen_cloexec() where applicable
This commit is contained in:
parent
88b72958be
commit
168be3830a
14 changed files with 27 additions and 27 deletions
|
|
@ -110,7 +110,7 @@ int pa_client_conf_load(pa_client_conf *c, const char *filename) {
|
|||
|
||||
if (filename) {
|
||||
|
||||
if (!(f = fopen(filename, "r"))) {
|
||||
if (!(f = pa_fopen_cloexec(filename, "r"))) {
|
||||
pa_log(_("Failed to open configuration file '%s': %s"), fn, pa_cstrerror(errno));
|
||||
goto finish;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue