mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
|
|
@ -484,7 +484,7 @@ PWTEST(properties_serialize_dict_stack_overflow)
|
|||
dict = SPA_DICT_INIT(items, 2);
|
||||
|
||||
pwtest_mkstemp(tmpfile);
|
||||
fp = fopen(tmpfile, "w");
|
||||
fp = fopen(tmpfile, "we");
|
||||
pwtest_ptr_notnull(fp);
|
||||
r = pw_properties_serialize_dict(fp, &dict, 0);
|
||||
pwtest_int_eq(r, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue