projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
2026ecc
)
pintos: Make sure to print buffered data at end of input.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 7 Jan 2010 17:26:11 +0000
(09:26 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 26 Jan 2010 17:13:02 +0000
(09:13 -0800)
Here, $buf might have some data in it that has not yet been printed, but
we were discarding it (and trying to read more) without printing it.
(In Perl, "do" ensures that the inner block runs at least once; without
"do" the condition is evaluated first.)
No differences found