Skip to content

Conversation

@sylvestre
Copy link
Contributor

follow up #9431

@github-actions
Copy link

github-actions bot commented Jan 9, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/shuf/shuf-reservoir (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/sort/sort-stale-thread-mem (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@github-actions
Copy link

github-actions bot commented Jan 9, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/shuf/shuf-reservoir (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/sort/sort-stale-thread-mem (passes in this run but fails in the 'main' branch)

Comment on lines 22 to 34
#[cfg(unix)]
mod unix_mode_bits {
// Unix file mode bits
pub const MODE_SETUID: u32 = 0o4000;
pub const MODE_SETGID: u32 = 0o2000;
pub const MODE_EXECUTABLE: u32 = 0o0111;
pub const MODE_STICKY_OTHER_WRITABLE: u32 = 0o1002;
pub const MODE_OTHER_WRITABLE: u32 = 0o0002;
pub const MODE_STICKY: u32 = 0o1000;
}

#[cfg(unix)]
use unix_mode_bits::*;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here it might be an option to rename unix_mode_bits to just mode. It would allow you to get rid of the MODE prefix of the constants.

return Some(Indicator::RegularFile);
fn indicator_for_symlink(
&self,
_path: &PathData,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove _path, it's never used.

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit e96b536 into uutils:main Jan 10, 2026
132 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants