[libc-commits] [libc] [libc] Accept 't' in the fopen mode and reject unknown characters (PR #236968)

Mike Lothian via libc-commits libc-commits at lists.llvm.org
Wed Nov 11 19:02:54 PST 2026


FireBurn wrote:

Done. `FileMode` now records the flag as `Extension::TEXT` and exposes it as `is_text_format()`. It still changes nothing on Linux. The tests check it for `t` in each position, and that `"r"` and `"rt"` no longer compare equal.

https://github.com/llvm/llvm-project/pull/236968


More information about the libc-commits mailing list