]> git.ipfire.org Git - thirdparty/glibc.git/commit
tst-freopen4: Remove temporary directory from warning message
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 5 Aug 2025 23:17:42 +0000 (16:17 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 6 Aug 2025 00:58:55 +0000 (17:58 -0700)
commit9d054eca1a6bb2585beec9d338b3aa978ad6e152
treece76a0d2b86aad2e91f9c861abab0453b4c4ca11
parentadec0bf05bc23ec35573c7a5b96440089b69265e
tst-freopen4: Remove temporary directory from warning message

tst-freopen4-main.c issues a warning message:

warning: could not remove temporary file: /tmp/tst-freopen4potgti: No such file or directory

since chroot makes generated temporary directories inaccessible.  Add
special rules for tst-freopen4.out and tst-freopen64-4.out to remove
the temporary directory in warning message from tst-freopen4 and
tst-freopen64-4.

This partially fixes BZ #33182.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
stdio-common/Makefile