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]

[PATCH] - fix handling of temporary directories on Windows


ChangeLog:

2010-07-09  Pascal Obry  <obry@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.


Patch as attachment.

-- 
  Pascal Obry
  --
  gpg --keyserver keys.gnupg.net --recv-key F949BD3B

Attachment: fix-temp-dir.patch
Description: Text document


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