VirtualBox

Ignore:
Timestamp:
Dec 27, 2010 5:04:17 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69211
Message:

scm cleanups.

Location:
trunk/src/VBox/Runtime/common/zip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/zip/tar.cpp

    r35122 r35351  
    229229{
    230230    int64_t cbSize = 0;
    231         if (pRecord->h.size[0] & 0x80)
     231    if (pRecord->h.size[0] & 0x80)
    232232    {
    233233        size_t cchField = sizeof(pRecord->h.size);
    234234        unsigned char const *puchField = (unsigned char const *)pRecord->h.size;
     235
    235236        /*
    236237         * The first byte has the bit 7 set to indicate base-256, while bit 6
     
    241242        cchField--;
    242243        puchField++;
     244
    243245        /*
    244246         * The remaining bytes are used in full.
     
    254256            cbSize = (cbSize << 8) | *puchField++;
    255257        }
    256     }else
     258    }
     259    else
    257260        RTStrToInt64Full(pRecord->h.size, 8, &cbSize);
    258261
  • trunk/src/VBox/Runtime/common/zip/tarcmd.cpp

    r34179 r35351  
    668668}
    669669
    670 
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette