/[enigma]/enigma/lib-src/zipios++/src/zipoutputstreambuf.cpp
ViewVC logotype

Diff of /enigma/lib-src/zipios++/src/zipoutputstreambuf.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dheck, Tue Jun 10 22:09:57 2003 UTC revision 1.2 by dheck, Sun Jun 15 10:18:58 2003 UTC
# Line 13  namespace zipios { Line 13  namespace zipios {
13  using std::ios ;  using std::ios ;
14  using std::cerr ;  using std::cerr ;
15  using std::endl ;  using std::endl ;
16  using std::min ;  //using std::min ;
17    
18  ZipOutputStreambuf::ZipOutputStreambuf( streambuf *outbuf, bool del_outbuf )  ZipOutputStreambuf::ZipOutputStreambuf( streambuf *outbuf, bool del_outbuf )
19    : DeflateOutputStreambuf( outbuf, false, del_outbuf ),    : DeflateOutputStreambuf( outbuf, false, del_outbuf ),
# Line 154  void ZipOutputStreambuf::writeCentralDir Line 154  void ZipOutputStreambuf::writeCentralDir
154                                                  EndOfCentralDirectory eocd,                                                  EndOfCentralDirectory eocd,
155                                                  ostream &os ) {                                                  ostream &os ) {
156    int cdir_start = os.tellp() ;    int cdir_start = os.tellp() ;
157    vector< ZipCDirEntry >::const_iterator it ;    std::vector< ZipCDirEntry >::const_iterator it ;
158    int cdir_size = 0 ;    int cdir_size = 0 ;
159    
160    for ( it = entries.begin() ; it != entries.end() ; ++it ) {    for ( it = entries.begin() ; it != entries.end() ; ++it ) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26