mirror of
https://github.com/c-cube/linol.git
synced 2025-12-08 20:25:35 -05:00
small fix
This commit is contained in:
parent
1f4337cda2
commit
10bea1e417
1 changed files with 4 additions and 1 deletions
|
|
@ -35,7 +35,10 @@ let rec read ic buf i len =
|
|||
read ic buf (i + n) (len - n)
|
||||
)
|
||||
|
||||
let read_line = input_line
|
||||
let read_line ic =
|
||||
let l = input_line ic in
|
||||
ignore (Atomic.fetch_and_add n_bytes_read (String.length l) : int);
|
||||
l
|
||||
|
||||
let write oc b i len =
|
||||
output oc b i len;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue