]> granicus.if.org Git - clang/commit
This patch remove the Win32 XFAIL from remap-complete.c
authorFrancois Pichet <pichet2000@gmail.com>
Tue, 12 Oct 2010 01:01:43 +0000 (01:01 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Tue, 12 Oct 2010 01:01:43 +0000 (01:01 +0000)
commitc44fe4bf2962bfcb323e93a63ba4a72d67839cde
treee382c9ed0f38ad6ad88cdf182f40f1cecb64dc5f
parent4cd912aa94656697a44c3ebb159f05060300524e
This patch remove the Win32 XFAIL from remap-complete.c

The problem was that text files were open in text mode and Microsoft implementation of fread and write will try to do nasty line-feed conversion which make the line position no longer valid. The fix is to read and write files in binary mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116286 91177308-0d34-0410-b5e6-96231b3b80d8
tools/c-index-test/c-index-test.c
tools/libclang/CIndexer.cpp