This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Use GetTempPath on Windows for choose_tmpdir


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]