[libcxx-commits] [libcxx] [libc++][AIX] Support file offsets larger than 2GB in basic_filebuf on 32-bit (PR #215892)

Hubert Tong via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 13 06:53:42 PDT 2026


================
@@ -1078,6 +1090,8 @@ typename basic_filebuf<_CharT, _Traits>::pos_type basic_filebuf<_CharT, _Traits>
   return _ftelli64(__file);
 #    elif _LIBCPP_LIBC_NEWLIB
   return ftell(__file);
+#    elif defined(_AIX) && !defined(__64BIT__)
+  return ftello64(__file);
----------------
hubert-reinterpretcast wrote:

Same comment.

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


More information about the libcxx-commits mailing list