From: Chris Lattner Date: Mon, 31 May 2010 17:10:45 +0000 (+0000) Subject: revert r105223 which broke all my testing. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=caa3dcfc76aba84d8f5ff64aab467527c29d38fd;p=oota-llvm.git revert r105223 which broke all my testing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105225 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/count/count.c b/utils/count/count.c index 13250198b9e..a37e1e0b254 100644 --- a/utils/count/count.c +++ b/utils/count/count.c @@ -26,7 +26,7 @@ int main(int argc, char **argv) { } NumLines = 0; - while ((NumRead = fread(Buffer, 1, sizeof(Buffer), stdin)) == sizeof(Buffer)){ + while ((NumRead = fread(Buffer, 1, sizeof(Buffer), stdin))) { unsigned i; for (i = 0; i != NumRead; ++i)