Use UTF-8 for all paths

This commit is contained in:
Jeremy Soller
2021-02-14 13:45:03 -07:00
parent 11b5e2fe59
commit 6db78cce24
27 changed files with 207 additions and 183 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ impl DebugScheme {
}
impl Scheme for DebugScheme {
fn open(&self, path: &[u8], flags: usize, uid: u32, _gid: u32) -> Result<usize> {
fn open(&self, path: &str, flags: usize, uid: u32, _gid: u32) -> Result<usize> {
if uid != 0 {
return Err(Error::new(EPERM));
}