Mercurial > hg > CbC > CbC_llvm
diff flang/runtime/file.cpp @ 231:5f20bc1ed4ff
orignal merge with github
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 21 Jul 2021 10:21:57 +0900 |
parents | 2e18cbf3894f |
children | c4bab56944e8 |
line wrap: on
line diff
--- a/flang/runtime/file.cpp Mon Jul 19 19:48:01 2021 +0900 +++ b/flang/runtime/file.cpp Wed Jul 21 10:21:57 2021 +0900 @@ -199,7 +199,6 @@ while (got < minBytes) { auto chunk{::read(fd_, buffer + got, maxBytes - got)}; if (chunk == 0) { - handler.SignalEnd(); break; } else if (chunk < 0) { auto err{errno};