From bf17d0f62c2aa536aa831c9de23b8e07c56efa08 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 31 May 2010 17:10:45 +0000 Subject: [PATCH] revert r105223 which broke all my testing. llvm-svn: 105225 --- llvm/utils/count/count.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/count/count.c b/llvm/utils/count/count.c index 13250198b9e4..a37e1e0b2548 100644 --- a/llvm/utils/count/count.c +++ b/llvm/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)