"John McCabe-Dansted" <[EMAIL PROTECTED]> writes: > On 2/12/07, Ben Pfaff <[EMAIL PROTECTED]> wrote: >> One solution would be to use a function other than tmpfile, such >> as mkstemp, to create the temporary file. Perhaps that's what we >> should do. > > mingw doesn't have mkstemp either. I've been using mkstemps from libiberty.
I added gnulib's "mkstemp" module to the build, which provides an implementation. (This is in CVS now.) >> Maybe mingw should provide a better version of tmpfile. Unix >> programmers expect it to do something sensible, not this >> nonsense. I suppose we could report a mingw bug. >> >> Thoughts? > > Mingw is basically meant to be bug for bug compatible with windows. I > should probably try linking against mingwex library before you spend > to much more time on this... the mingwex library is meant to add some > C99 like functionality to mingw. It's a good thought but it doesn't look like mingwex has an implementation of tmpfile. At least I don't see one. -- Ben Pfaff [EMAIL PROTECTED] http://benpfaff.org _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
