[libcxx-commits] [libcxx] [libc++] Support file offsets larger than 2GB in basic_filebuf on 32-bit AIX and 32-bit glibc Linux (PR #215892)
Hubert Tong via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Aug 13 17:51:18 PDT 2026
================
@@ -787,7 +809,7 @@ basic_filebuf<_CharT, _Traits>* basic_filebuf<_CharT, _Traits>::open(const char*
if (!__mdstr)
return nullptr;
- return __adopt_file(std::fopen(__s, __mdstr), __mode);
+ return __adopt_file(__fopen(__s, __mdstr), __mode);
----------------
hubert-reinterpretcast wrote:
```suggestion
return __adopt_file(std::__fopen(__s, __mdstr), __mode);
```
https://github.com/llvm/llvm-project/pull/215892
More information about the libcxx-commits
mailing list