提交 5d7b216f 编写于 作者: M Manish Goregaokar

Rollup merge of #22568 - semarie:openbsd-rfc592, r=huonw

 The commit 1860ee52 has break the openbsd build.
Repair it.
......@@ -220,7 +220,7 @@ pub fn current_exe() -> IoResult<Path> {
if v.is_null() {
Err(IoError::last_error())
} else {
Ok(Path::new(CStr::from_ptr(&v).to_bytes().to_vec()))
Ok(Path::new(CStr::from_ptr(v).to_bytes().to_vec()))
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册