[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: temporary files in wine

From: Ben Pfaff
Subject: Re: temporary files in wine
Date: Mon, 12 Feb 2007 06:25:31 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

"John McCabe-Dansted" <address@hidden> writes:

> On 2/12/07, Ben Pfaff <address@hidden> 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 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]