Skip to content

Commit 2c9e27b

Browse files
author
Federico Ponzi
committed
Merge branch 'convert-openoptions-cint' of github.com:FedericoPonzi/rust into convert-openoptions-cint
2 parents 1bc0627 + eb3906b commit 2c9e27b

File tree

1 file changed

+0
-1
lines changed
  • library/std/src/sys/unix

1 file changed

+0
-1
lines changed

library/std/src/sys/unix/fs.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,6 @@ pub fn rename(old: &Path, new: &Path) -> io::Result<()> {
966966
Ok(())
967967
}
968968

969-
970969
pub fn set_perm(p: &Path, perm: FilePermissions) -> io::Result<()> {
971970
let p = cstr(p)?;
972971
cvt_r(|| unsafe { libc::chmod(p.as_ptr(), perm.mode) })?;

0 commit comments

Comments
 (0)