diff options
author | Chris Lattner <sabre@nondot.org> | 2010-05-31 17:10:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-05-31 17:10:45 +0000 |
commit | caa3dcfc76aba84d8f5ff64aab467527c29d38fd (patch) | |
tree | bf403403ca595e1a09999f203b0b80f94e2b5d44 | |
parent | b6bd72ee7c426f066ffb6e80734cfe1bc43c2cce (diff) |
revert r105223 which broke all my testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105225 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/count/count.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/count/count.c b/utils/count/count.c index 13250198b9..a37e1e0b25 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) |