[PATCH] D97785: [SystemZ][z/OS] Distinguish between text and binary files on z/OS
Adrian McCarthy via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 25 10:46:05 PDT 2021
amccarth added a comment.
When changing an IO stream's mode from binary to text breaks only Windows, it's likely due to the fact that Windows uses CR+LF as the newline indicator. Not only are the CRs sometimes unexpected, they can also throw off code that tries to seek to a computed file position.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97785/new/
https://reviews.llvm.org/D97785
More information about the cfe-commits
mailing list