Commit a15bc4e
authored
Fixing large string issue
`fread()` returns *up to* the `$length` specified, so this fixes an issue where `$length` bytes aren't present in the stream at the time of reading, leaving stray data for the next read to pick up.1 parent 868727c commit a15bc4e
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
0 commit comments