Your message dated Sat, 04 Mar 2006 13:45:51 +0100 with message-id <874q2e9y4g.fsf@debian.org> and subject line Bug#346004: iostream can't do files > 2GB has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: iostream can't do files > 2GB
- From: Tobias Oetiker <oetiker+r@ee.ethz.ch>
- Date: Wed, 4 Jan 2006 20:59:57 +0100 (MET)
- Message-id: <Pine.GSO.4.63.0601042052470.2533@abin.rr.rgum.pu>
Package: libstdc++5-3.3 Version: 3.3.5-13 When I run this program: big.cc: ----------------- #include <iostream> #include <fstream> using namespace std; int main() { ofstream test("/scratch/bigfile.txt"); for (long i = 0; i < 1500000000; i++) { test << i; } test.close(); return 0; } -------------------- $ ./big Filesize limit exceeded $ ls -l total 2099204 -rw-r--r-- 1 oetiker oep 2147483647 Jan 4 20:58 bigfile.txt it ends after writing two GB ... The bug is fixed in the gcc-3.4 distro ... details here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8610 This is on debian sarge. cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich / // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach /_/ \.__/_.__/_/ http://people.ee.ethz.ch/oetiker +41(0)44-632-5286
--- End Message ---
--- Begin Message ---
- To: 346004-done@bugs.debian.org
- Subject: Bug#346004: iostream can't do files > 2GB
- From: Falk Hueffner <falk@debian.org>
- Date: Sat, 04 Mar 2006 13:45:51 +0100
- Message-id: <874q2e9y4g.fsf@debian.org>
Package: libstdc++6-dev Version: 3.4.5-2 This is fixed in 3.4. -- Falk
--- End Message ---