Skip to content

touch segfaults on 32 bits architectures since 0.6 -> 0.7 update #11804

@seb128

Description

@seb128

The issue is showing as a tar build failure in Ubuntu resolute on armhf and i386

# touch -d "0000-01-01T00:00:00" bug                    

thread 'main' (104766) panicked at src/uu/touch/src/touch.rs:627:30:
called `Result::unwrap()` on an `Err` value: TryFromIntError(())
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted                    (core dumped) touch -d "0000-01-01T00:00:00" bug

the same command works with gnutouch or when downgrading from rust-coreutils 0.7.0-0ubuntu1 to 0.6.0-0ubuntu1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions