commit: be9e5a134fc0aba4f561723769a75807756a177a Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Sun Jul 27 16:26:10 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Oct 3 19:11:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9e5a13
python-utils-r1.eclass: use 6 'X's for mktemp As required by POSIX.1-2024 for mkstemp(3) (and future-POSIX for mktemp(1)) Although you'd need de-facto standard mkstemps(3) due to the .xml suffix, but same contrains of 6 'X's applies, at least with musl. Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> Part-of: https://github.com/gentoo/gentoo/pull/43186 Closes: https://github.com/gentoo/gentoo/pull/43186 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> eclass/python-utils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index f454a066a352..e213273a3a78 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1420,7 +1420,7 @@ epytest() { [[ ${NO_COLOR} ]] && color=no mkdir -p "${T}/pytest-xml" || die - local junit_xml=$(mktemp "${T}/pytest-xml/${EPYTHON}-XXX.xml" || die) + local junit_xml=$(mktemp "${T}/pytest-xml/${EPYTHON}-XXXXXX.xml" || die) local args=( # verbose progress reporting and tracebacks
