1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: fix os.read_file and os.read_bytes for 0 sized /proc/ files on Linux (fix #15852) (#15853)

This commit is contained in:
Dominik Pytlewski
2022-09-25 21:54:46 +02:00
committed by GitHub
parent 50820105a1
commit 721328ef58
4 changed files with 126 additions and 35 deletions

View File

@@ -122,7 +122,7 @@ fn C.chdir(path &char) int
fn C.rewind(stream &C.FILE) int
fn C.ftell(&C.FILE) int
fn C.ftell(&C.FILE) isize
fn C.stat(&char, voidptr) int