Make this code more robust by not thinking we are making progress
authorDuncan Sands <baldrick@free.fr>
Tue, 3 Nov 2009 19:10:22 +0000 (19:10 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 3 Nov 2009 19:10:22 +0000 (19:10 +0000)
commit954cb43c8075a66390de9357595ca6069d86941c
tree86f2a5b736bd59987e9d596e69c5a6e8917264dd
parente8bc45a645f1df1c9f8b23c6f29247a61af14f19
Make this code more robust by not thinking we are making progress
if zero bytes were read.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85922 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/MemoryBuffer.cpp