Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fn uncompress: cleanup #29

Merged
merged 28 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8058718
`fn uncompressStream`: fix missing state transition
folkertdev Nov 11, 2024
80f3dcb
`fn basic_invalid_file`: make this test work on all platforms
folkertdev Nov 11, 2024
51d0a74
`bzip2.rs`: test for using the `-c` and `-t` flags together
folkertdev Nov 8, 2024
8d827a0
`bzip2.rs`: cleanup casts
folkertdev Nov 8, 2024
e7b4dad
`bzip2.rs`: make `cantGuess` a `bool`
folkertdev Nov 8, 2024
9df2ea7
`bzip2.rs`: add test for F2F (file to file) mode
folkertdev Nov 8, 2024
3d7c828
`fn uncompress`: clean up state machine logic with labeled block
folkertdev Nov 8, 2024
ed04ba1
`fn uncompress`: accept a string
folkertdev Nov 8, 2024
f917b51
`fn uncompress`: test some file extension logic
folkertdev Nov 8, 2024
3f65d1a
`fn uncompress`: simplify extension logic
folkertdev Nov 8, 2024
d22c67b
`fn uncompress`: don't rely on cstring for in_name
folkertdev Nov 8, 2024
e88b5be
`fn uncompress`: use `in_name` and `out_name` in more error messages
folkertdev Nov 8, 2024
6e71575
`fn uncompress`: cleanup casts
folkertdev Nov 8, 2024
7d0e72b
`fn uncompress`: logic for counting hardlinks on linux
folkertdev Nov 8, 2024
eaa2aba
`fn uncompress`: cleanup `fprintf`
folkertdev Nov 8, 2024
d10e4d8
`fn uncompress`: cleanup more `fprintf`
folkertdev Nov 8, 2024
76b5a9d
`fn uncompress`: cleanup casts
folkertdev Nov 8, 2024
06a041e
`fn uncompress`: test for missing extension
folkertdev Nov 8, 2024
f00d841
`fn uncompress`: test stdin to stdout
folkertdev Nov 9, 2024
d820f31
`fn uncompress`: test for more error cases
folkertdev Nov 9, 2024
4eb2b05
`fn uncompress`: test for more error (hard links, symlinks, output fi…
folkertdev Nov 9, 2024
3656dbb
`fn uncompress`: test input file cannot be read
folkertdev Nov 9, 2024
6ad4597
`fn uncompress`: test input file is not bz2 format (does not have the…
folkertdev Nov 9, 2024
74d5aea
`fn uncompress`: test output cannot be written
folkertdev Nov 9, 2024
325e713
clippy
folkertdev Nov 11, 2024
99a342c
clippy in tests
folkertdev Nov 11, 2024
3286bef
`fn contains_dubious_chars`: fix for windows
folkertdev Nov 11, 2024
f5b2e02
`bzip2.rs`: clean up signal handling
folkertdev Nov 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading