mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: add os.open_stdin/0 and os.File.get_line/0
This commit is contained in:
@ -928,7 +928,7 @@ pub fn executable() string {
|
||||
eprintln('os.executable() failed at reading /proc/curproc/exe to get exe path')
|
||||
return executable_fallback()
|
||||
}
|
||||
return result.vstring_with_len(count)
|
||||
return unsafe { result.vstring_with_len(count) }
|
||||
}
|
||||
$if dragonfly {
|
||||
mut result := vcalloc(max_path_len)
|
||||
|
Reference in New Issue
Block a user