We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11b1224 commit 96eddb8Copy full SHA for 96eddb8
src/safeposix/syscalls/fs_calls.rs
@@ -2233,7 +2233,7 @@ impl Cage {
2233
//Obtain the write lock on the current working directory of the cage
2234
//and change it to the new directory
2235
let mut cwd_container = self.cwd.write();
2236
- *cwd_container = interface::RustRfc::new(normpath(convpath(path_string.as_str()), self));
+ **cwd_container = interface::RustRfc::new(convpath(path_string.as_str()));
2237
2238
0 // fchdir success
2239
}
0 commit comments