]> git.ipfire.org Git - thirdparty/coreutils.git/commit
md5sum: fix --text with the MSYS2 runtime
authorPádraig Brady <P@draigBrady.com>
Fri, 7 Nov 2025 13:55:39 +0000 (13:55 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 12 Nov 2025 14:11:27 +0000 (14:11 +0000)
commit6f265b515e5b93cef9bef0c4994622574c55a1ba
tree5357c50e72939570b3c2c4e2c87124703297dcb6
parent88d05f1516c00e5dfd24b1acef8f29e6c90fb96b
md5sum: fix --text with the MSYS2 runtime

Note the use of "rt" is non-standard, but we're restricting
its use here to systems that define O_BINARY, which should
invariably support "rt" mode.

* src/digest.c (): Where significant, explicitly use "rt" mode
with --text, as MSYS2 defaults to binary mode for fopen'd files
(though not for standard streams).
* NEWS: Mention the bug fix.
Fixes https://github.com/coreutils/coreutils/issues/123
NEWS
src/digest.c