File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -2747,19 +2747,15 @@ fn display_item_long(
27472747 #[ cfg( any( not( unix) , target_os = "android" , target_os = "macos" ) ) ]
27482748 // TODO: See how Mac should work here
27492749 let has_acl = false ;
2750- #[ cfg( any( not( unix) , target_os = "android" , target_os = "macos" ) ) ]
2751- let has_cap = false ;
27522750 #[ cfg( all( unix, not( any( target_os = "android" , target_os = "macos" ) ) ) ) ]
27532751 let has_acl = { item. has_acl ( & mut state. out ) } ;
2754- #[ cfg( all( unix, not( any( target_os = "android" , target_os = "macos" ) ) ) ) ]
2755- let has_cap = { item. has_capability ( ) } ;
27562752
27572753 output_display. extend ( display_permissions ( md, true ) . as_bytes ( ) ) ;
27582754 if item. security_context . len ( ) > 1 {
27592755 // GNU `ls` uses a "." character to indicate a file with a security context,
27602756 // but not other alternate access method.
27612757 output_display. extend ( b"." ) ;
2762- } else if has_acl || has_cap {
2758+ } else if has_acl {
27632759 output_display. extend ( b"+" ) ;
27642760 }
27652761 output_display. extend ( b" " ) ;
You can’t perform that action at this time.
0 commit comments