-
Notifications
You must be signed in to change notification settings - Fork 343
Commit 64b7791
committed
When read returns EOF, ensure future reads still check the file for EOF
Go back to the idle mode when returning EOF, so that the next read will
make another attempt to read from the file in case the file grew.1 parent 955fa65 commit 64b7791
1 file changed
+9
-4
lines changedLines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
670 | 670 |
| |
671 | 671 |
| |
672 | 672 |
| |
673 | + | ||
674 | + | ||
675 | + | ||
676 | + | ||
677 | + | ||
678 | + | ||
679 | + | ||
680 | + | ||
673 | 681 |
| |
674 | 682 |
| |
675 | 683 |
| |
676 | 684 |
| |
677 | - | ||
678 | - | ||
679 | - | ||
680 | - | ||
685 | + | ||
681 | 686 |
| |
682 | 687 |
| |
683 | 688 |
| |
|
0 commit comments