Changeset 40acfef in tol


Ignore:
Timestamp:
Aug 16, 2010, 11:07:20 PM (16 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
005739c
Parents:
94aae25
Message:

Updating index_ in Flush method

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2473 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/OIS/oisstream_zip.cpp

    r94aae25 r40acfef  
    224224{
    225225  assert(isOk_ && (sh_.OpenMode()==BStreamHandler::BSHOM_WRITE));
     226//Std(BText("\nBZipStream::Flush() 1 ")+name_);
    226227  try
    227228  {
    228229    if(index_<0)
    229230    {
     231    //Std(BText("\nBZipStream::Flush() 2 "));
    230232      sh_.zip_.AddNewFile(mf_, name_.String(), cmprsLvl_);
     233      index_ = sh_.zip_.FindFile(name_);
     234    //Std(BText("\nBZipStream::Flush() 3 "));
    231235                        //VBR: No s porqu en linux no se cumple esta condicin pero
    232236                        //luego todo parece funcionar bien.
    … …  
    238242  catch(CZipException ex)
    239243  {
    240     ShowCatchedException(ex, sh_.Connection()+"/"+name_, sh_.zip_);
    241     isOk_ = false;
    242   }
     244  //Std(BText("\nBZipStream::Flush() 4 ")+name_);
     245    ShowCatchedException(ex, sh_.Connection()+"/"+name_, sh_.zip_);
     246    isOk_ = false;
     247  }
     248//Std(BText("\nBZipStream::Flush() 5 ")+name_);
    243249}
    244250
Note: See TracChangeset for help on using the changeset viewer.