Merge branch 'convert-openoptions-cint' of github.com:FedericoPonzi/rust into convert-openoptions-cint
This commit is contained in:
commit
2c9e27b759
1 changed files with 0 additions and 1 deletions
|
|
@ -966,7 +966,6 @@ pub fn rename(old: &Path, new: &Path) -> io::Result<()> {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
pub fn set_perm(p: &Path, perm: FilePermissions) -> io::Result<()> {
|
||||
let p = cstr(p)?;
|
||||
cvt_r(|| unsafe { libc::chmod(p.as_ptr(), perm.mode) })?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue