diff options
author | David Robillard <d@drobilla.net> | 2022-07-06 15:07:51 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-17 17:14:39 -0400 |
commit | 572e6fb63fb9570b429d39c5f52a4b7025fd15ee (patch) | |
tree | 34b01580a05c730530b7925b8730ea9902a43d18 /test/test_prototype.c | |
parent | 62cad71a1a36aabc550362d8fa4a61752076f7c9 (diff) | |
download | lilv-572e6fb63fb9570b429d39c5f52a4b7025fd15ee.tar.gz lilv-572e6fb63fb9570b429d39c5f52a4b7025fd15ee.tar.bz2 lilv-572e6fb63fb9570b429d39c5f52a4b7025fd15ee.zip |
Avoid incorrect use of mkstemp in tests
This was an overly hasty switch from race-prone alternatives to mkstemp, but it
did not actually account for the fact that mkstemp creates the file. This
resulted in leaking the file handle, and trying to open it twice, which made
the tests fail on Windows/MinGW.
Diffstat (limited to 'test/test_prototype.c')
0 files changed, 0 insertions, 0 deletions