File tree Expand file tree Collapse file tree
src/uucore/src/lib/features Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010//
1111// spell-checker:ignore CLOEXEC RDONLY TOCTOU closedir dirp fdopendir fstatat openat REMOVEDIR unlinkat smallfile
1212// spell-checker:ignore RAII dirfd fchownat fchown FchmodatFlags fchmodat fchmod mkdirat CREAT WRONLY ELOOP ENOTDIR
13- // spell-checker:ignore atimensec mtimensec ctimensec
13+ // spell-checker:ignore atimensec mtimensec ctimensec opath chmods
1414
1515#[ cfg( test) ]
1616use std:: os:: unix:: ffi:: OsStringExt ;
@@ -407,7 +407,7 @@ impl DirFd {
407407 let proc_cstr = std:: ffi:: CStr :: from_bytes_with_nul ( proc_path. as_bytes ( ) )
408408 . map_err ( |_| io:: Error :: new ( io:: ErrorKind :: InvalidInput , "invalid proc path" ) ) ?;
409409
410- chmod ( proc_cstr, Mode :: from_bits_truncate ( mode as u32 ) )
410+ chmod ( proc_cstr, Mode :: from_bits_truncate ( mode) )
411411 . map_err ( |e| io:: Error :: from_raw_os_error ( e. raw_os_error ( ) ) )
412412 }
413413
You can’t perform that action at this time.
0 commit comments