[Bug libc/19866] mkstempat and mkdtempat
mark at klomp dot org via Glibc-bugs <[email protected]> Tue, 16 Jun 2026 19:44:53 +0000
| Newsgroups | gmane.comp.lib.glibc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=19866
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
What would be the way forward?
I recently needed a mkstempat to make sure I had something to use with dirfd
based unlinkat and renameat and handcoded it:
https://inbox.sourceware.org/elfutils-devel/[email protected]/T
It works, but I needed to guess at things that glibc really should do better,
selecting a random source, picking allowed filename characters, etc.
Should this go through gnulib first? Does it need a different interface?
Should it be standardized? (through which standard?)
--
You are receiving this mail because:
You are on the CC list for the bug.