[LLVMbugs] [Bug 17688] std::getline does not read data after calling ifstream::clear() (Mavericks)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 24 16:29:30 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17688

bernhard at icsi.berkeley.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from bernhard at icsi.berkeley.edu ---
According to the answer in
http://stackoverflow.com/questions/19558376/clang-3-3-xcode-libc-stdgetline-does-not-read-data-after-calling-ifstream
you have to call file->sync() in this use-case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131024/304bc85c/attachment.html>


More information about the llvm-bugs mailing list