This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Use GetTempPath on Windows for choose_tmpdir
- From: Danny Smith <dansmister at gmail dot com>
- To: mark at codesourcery dot com
- Cc: gcc-patches at gcc dot gnu dot org, dj at redhat dot com, ian at airs dot com
- Date: Sun, 22 Feb 2009 21:08:33 +1300
- Subject: Re: PATCH: Use GetTempPath on Windows for choose_tmpdir
- References: <20090221225945.8A3954C1C089@zelda.codesourcery.com>
On Sun, Feb 22, 2009 at 11:59 AM, Mark Mitchell
<mitchell@codesourcery.com> wrote:
>
>
> This patch changes choose_tmpdir to use GetTempPath. Lightly tested
> with an i686-mingw32 -> arm-none-eabi cross compiler.
>
> OK to apply?
>
> --
> Mark Mitchell
> CodeSourcery
> mark@codesourcery.com
> (650) 331-3385 x713
>
> 2009-02-21 Mark Mitchell <mark@codesourcery.com>
>
> * make-temp-file.c (<windows.h>): Include on Windows.
> (choose_tmpdir): On Windows, use GetTempPath
Tested successfully on mingw32 host with $TMP and $TEMP environment
variables empty.
Yes, this is OK to apply.
Thank you.
Danny