[Lldb-commits] [PATCH] D99426: [Windows] Add new OF_TextWithCRLF flag and use this flag instead of OF_Text
Fangrui Song via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 1 11:49:39 PDT 2021
MaskRay added a comment.
/// The file should be opened in text mode on platforms like z/OS that make
/// this distinction.
OF_Text = 1,
F_Text = 1, // For compatibility
/// The file should use a carriage linefeed '\r\n'.
/// Only makes a difference on windows.
OF_CRLF = 2,
/// The file should be opened in text mode and use a carriage linefeed '\r\n'
/// on platforms that make this distinction.
OF_TextWithCRLF = OF_Text | OF_CRLF,
`OF_TextWithCRLF` needs to say what platforms make a difference.
Can you mention in the description for Windows and z/OS, how these flags make a difference.
It's still a bit unclear to me.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the lldb-commits