VirtualBox

Ignore:
Timestamp:
Jul 4, 2013 11:38:28 AM (11 years ago)
Author:
vboxsync
Message:

Deprecated the old manifest API. r=bird: IPRT does NOT use ugly C++ references, it pointers directly - no cloak and dagger pointers thank you. Please don't reformat if expressions into unreadability. RTDIGESTTYPE_UNKNOWN should be RTDIGESTTYPE_INVALID and there is actually no need to set output variables on failure, just check the status code.

File:
1 edited

Legend:

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

    r46971 r46980  
    55
    66/*
    7  * Copyright (C) 2009-2012 Oracle Corporation
     7 * Copyright (C) 2009-2013 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    336336    /* Fill the header record */
    337337//    RT_ZERO(pRecord); - done by the caller.
     338    /** @todo use RTStrCopy */
    338339    size_t cb = RTStrPrintf(pRecord->h.name,  sizeof(pRecord->h.name),  "%s", pszSrcName);
    339340    if (cb < strlen(pszSrcName))
     
    16691670            pInt->pFileCache = NULL;
    16701671        }
    1671         else/* Are we still direct behind that header? */
     1672        else/* Are we still directly behind that header? */
    16721673        {
    16731674            /* Yes, so the streaming can start. Just return the cached file
     
    16781679            if (pInt->pFileCache->linkflag == LF_DIR)
    16791680                return VINF_TAR_DIR_PATH;
    1680             else
    1681                 return VINF_SUCCESS;
     1681            return VINF_SUCCESS;
    16821682        }
    16831683
     
    17221722
    17231723            if (pFileInt->linkflag == LF_DIR)
    1724             {
    17251724                rc = VINF_TAR_DIR_PATH;
    1726             }
    17271725        }
    17281726    } while (0);
Note: See TracChangeset for help on using the changeset viewer.

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