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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to