[patch gfortran]: Second part of fix for PR/43844.
Kai Tietz
ktietz70@googlemail.com
Fri Apr 30 09:22:00 GMT 2010
Hello T
Use GetTempPath for win32 targets and prevent double slash/backslash
at end of path. Additional it cleans up with a warning for
mingw-targets in raw_truncate.
ChangeLog
* io/unix.c (raw_truncate): Explicit cast from integer-scalar
to pointer.
(tempfile): Use for mingw GetTempPath and avoid double slash
for path.
Patch tested for x64_64-w64-mingw32, and i686-pc-mingw32. Ok for apply?
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr43844.diff
Type: application/octet-stream
Size: 2140 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100430/fa9d6a55/attachment.obj>
More information about the Gcc-patches
mailing list