On 11 Mar 2015 12:55, Michael Eager wrote: > On 03/11/15 09:15, Eli Zaretskii wrote: > > I agree with Mike that it's better to use library functions for > > creating temporary files, since that hides platform dependencies. > > The code uses mkstemp() to create a temporary file. Is there a > GDB or BFD wrapper for this function? if you're worried about portability, gdb uses gnulib now, so it should be easy to import a gnulib module that provides that func as a fallback -mike