[ https://issues.apache.org/jira/browse/STDCXX-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-66: ------------------------------- Severity: Usability Affects Version/s: 4.1.3 4.1.4 4.2.0 Fix Version/s: 5.0 Since this affects the size of std::fpos it affects the binary compatibility of the library. Scheduled for 5.0. > implement large file support in iostreams > ----------------------------------------- > > Key: STDCXX-66 > URL: https://issues.apache.org/jira/browse/STDCXX-66 > Project: C++ Standard Library > Issue Type: New Feature > Components: 27. Input/Output > Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0 > Environment: AIX 5.2 > VisualAge C++ Professional / C for AIX Compiler, Version 6 > Reporter: Jeremy Dean > Priority: Minor > Fix For: 5.0 > > > #include <string> > #include <fstream> > int main(int argc, char**argv) > { > std::ifstream i; > try > { > i.open("/tmp/largeFile.txt",std::ios::in); > if ( i.good() ) > { > char s[1024]; > i >> s ; // .getline(s, 100); > std::cout << s << std::endl; > } > else > { > std::cout << "Open error\n"; > } > } > catch(...) > { > std::cout << "error\n"; > } > return 0; > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.