This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] - fix handling of temporary directories on Windows
- From: DJ Delorie <dj at redhat dot com>
- To: obry at adacore dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 12 Jul 2010 13:28:49 -0400
- Subject: Re: [PATCH] - fix handling of temporary directories on Windows
- References: <4C3B3D11.7030501@adacore.com>
> * libibery/make-temp-file.c (choose_tmpdir): When TMPDIR, TMP and TEMP
> are not set, P_tmpdir is used on Windows. This is defined as "\" in
> current MingW header. Append a dot to ensure that when concatenating
> with \dir we do not end-up with an UNC path. Fix a crash on the
> compiler.
Ok.