Skip to content

Conversation

sitkevij
Copy link
Owner

@sitkevij sitkevij commented Oct 26, 2020

poliorcetics and others added 5 commits October 25, 2020 15:09
With this commit `hx` is now able to properly
report an error when it is given a directory or an
invalid filename.
Fixes #24.

I also simplified some parts of `ìs_stdin`.
Fixes #23.

With this `hx` is now able to handle broken pipes as in the command
`dd if=/dev/random bs=512 count=10 | RUST_BACKTRACE=1 ./target/debug/hx | head -n 10`
and will exit with the correct error: `error = "Broken pipe (os error 32)"`
without crashing with a backtrace.
Make `hx` properly handle being passed invalid paths
Ensures '--len' does not crash or hang
@sitkevij sitkevij changed the title develop develop 0.3.1 Oct 29, 2020
@sitkevij sitkevij merged commit de4c13e into master Oct 29, 2020
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.

3 participants