Skip to content

Commit

Permalink
revert r105223 which broke all my testing.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105225 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed May 31, 2010
1 parent b6bd72e commit caa3dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/count/count.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit caa3dcf

Please sign in to comment.