0.7.3 weird silent execution #343
Labels
No labels
announcement
bug
build
CI
dependencies
documentation
duplicate
enhancement
experience feedback
feature request
github_actions
help wanted
install
invalid
Long-term
optimization
portability
question
target-specific
test issue
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-Cyan4973/xxHash#343
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why does xxhsum 0.7.3 sse2 (crc32 xxhsum.exe 80f61578) execute silently on Windows 7 x64?
Previous version 0.7.2 at least throws as follows
Hmm, what terminal and shell are you using?
On Linux, the binary produces the expected help message.
So I guess it's a Windows specific issue.
Of course it is a Windows issue…nothing changed for Linux. 😄
I am guessing it has something to do with
WriteConsoleW.@sergeevabc does printing a checksum work? Because that prints to stdout instead of stderr.
By the way, those intermediate 0.7.3 x64 binaries output help as expected.
Ok, so that means it has been fixed, since that was a newer version.
@Cyan4973, it seems you forgot to roll a release after tremendous @easyaspi314’s Unicode efforts.
Well don't roll a release yet, haven't yet fixed #341 😄
But yeah, the 0.7.3 solution was a little half-(moji?)baked, it was codepage-dependent and crashed on XP.
Of course, Unicode on Windows is also half-baked. Thankfully, 1903 is finally providing sane UTF-8, but it is only beta and hasn't been backported.
Also consider polishing help a bit. Created #345.
We did improve the help messages a bit in 0.7.3.
@easyaspi314, I saw it and did not like either. Consider the proposal above.
Well this is what GNU md5sum outputs:
BTW, this should be fixed: the default behavior of running md5sum without any args is to read from stdin.
new patch from @easyaspi314 merged into
devbranch.Could you be so kind to release some minor/fix release with this patch included?
Silent execution with no ability to get a help page for already 2 months drives me crazy.
I mean, I think it's fine if we do a v0.7.4 release before we decide the best way to handle #358, right @Cyan4973?
When there is no pressure due to some kind of security liability, I prefer to produce meaningful releases, with significant improvements helping to justify user's cost of swapping.
#358 is definitely part of this picture, and I would prefer to have it onboard for
v0.7.4.For the request in this thread, one could generate a Windows binary from
devbranch source code, and make it available to download. It could even be attached tov0.7.3release note, if that helps.