Commit 6d6d424
committed
Modify write function.
Compares length written vs requested length to cover more cases such as writing over USB. Returns underread instead of fail.1 parent 5aef0e4 commit 6d6d424
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments