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 | bf17d0f62c2aa536aa831c9de23b8e07c56efa08 (patch) | |
tree | 338253028331671f8dbfe1acdd18763b5fa60d8e /llvm/utils/count/count.c | |
parent | 7de66381732ab6af51637e5fd3478167b60836b5 (diff) | |
download | bcm5719-llvm-bf17d0f62c2aa536aa831c9de23b8e07c56efa08.tar.gz bcm5719-llvm-bf17d0f62c2aa536aa831c9de23b8e07c56efa08.zip |
revert r105223 which broke all my testing.
llvm-svn: 105225
Diffstat (limited to 'llvm/utils/count/count.c')
-rw-r--r-- | llvm/utils/count/count.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/count/count.c b/llvm/utils/count/count.c index 13250198b9e..a37e1e0b254 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) |