Skip to content

diffutils > /dev/full panics #165

@oech3

Description

@oech3
$ diffutils > /dev/full
Expected utility name as second argument, got nothing.

thread 'main' (20009) panicked at library/std/src/io/stdio.rs:1165:9:
failed printing to stdout: No space left on device (os error 28)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

$ diffutils diff /dev/null /etc/hosts > /dev/full

thread 'main' (20028) panicked at src/diff.rs:94:41:
called `Result::unwrap()` on an `Err` value: Os { code: 28, kind: StorageFull, message: "No space left on device" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

$ diffutils cmp /etc/mtab /etc/hosts > /dev/full

thread 'main' (20087) panicked at library/std/src/io/stdio.rs:1165:9:
failed printing to stdout: No space left on device (os error 28)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions