mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
Make all fopen() calls use O_CLOEXEC
by adding "e" to the mode strings.
This commit is contained in:
parent
400860f63c
commit
bb4f274ae0
10 changed files with 23 additions and 23 deletions
|
|
@ -35,7 +35,7 @@ PWTEST(config_load_abspath)
|
|||
char *basename;
|
||||
|
||||
pwtest_mkstemp(path);
|
||||
fp = fopen(path, "w");
|
||||
fp = fopen(path, "we");
|
||||
fputs("data = x", fp);
|
||||
fclose(fp);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue