Skip to content

Conversation

@AntoxaBarin
Copy link

Fixes #10550

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

GNU testsuite comparison:

Congrats! The gnu test tests/pr/bounded-memory is no longer failing!

@oech3

This comment was marked as resolved.

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

GNU testsuite comparison:

Congrats! The gnu test tests/pr/bounded-memory is no longer failing!

@sylvestre
Copy link
Contributor

some jobs are failing

@github-actions
Copy link

github-actions bot commented Feb 9, 2026

GNU testsuite comparison:

Congrats! The gnu test tests/tail/tail-n0f is now passing!

@AntoxaBarin
Copy link
Author

AntoxaBarin commented Feb 9, 2026

@sylvestre, @oech3, now CI is passing. Should I add test with /dev/full?

use std::borrow::Cow;
use std::ffi::CStr;
use std::fmt::Write;
use std::io::{self, Write as _};
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove the "as _"

Copy link
Author

Choose a reason for hiding this comment

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

Then it would conflict with use std::fmt::Write;:

error[E0252]: the name `Write` is defined multiple times
  --> src/uu/who/src/platform/unix.rs:21:21
   |
20 | use std::fmt::Write;
   |     --------------- previous import of the trait `Write` here
21 | use std::io::{self, Write};
   |                     ^^^^^ `Write` reimported here
   |

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, just remove the declaration then ?!

Copy link
Contributor

Choose a reason for hiding this comment

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

No. needed for std{out,err}.

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.

who > /dev/full panics

3 participants