]> git.ipfire.org Git - thirdparty/glibc.git/commit
tst-fopen-threaded.c: Delete temporary file
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 19 Jul 2025 14:43:27 +0000 (07:43 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 4 Aug 2025 21:41:29 +0000 (14:41 -0700)
commite7db5150603bb2224a2bfd9628cae04ddcbe49e3
treed0cf9a2fc0298d4e3fe9574de318e1ae03251a26
parentd27b1a71cd424710813bd3d81afb32a36470d643
tst-fopen-threaded.c: Delete temporary file

Update tst-fopen-threaded.c to call support_create_temp_directory to
create a temporary directory and open "file" in the temporary directory,
instead of using /tmp/openclosetest and leaving it behind.

This partially fixes BZ #33182.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
sysdeps/pthread/tst-fopen-threaded.c