1 # credit Andreas Jochens, see:
2 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=268350
3 # diff -urN ../tmp-orig/prcs-1.3.3/src/rebuild.cc ./src/rebuild.cc
4 --- ../tmp-orig/prcs-1.3.3/src/rebuild.cc 2004-05-10 03:21:20.000000000 +0200
5 +++ src/prcs-1.3.3/src/rebuild.cc
7 buf->pubseekoff(0, ios::end, ios::out);
9 buf = new __gnu_cxx::stdio_filebuf<char> (seg->fd(), ios::out,
10 - false /* close */, default_segment_size);
12 buf->pubseekoff(0, ios::end, ios::out);
14 os = new ostream(buf);