Changeset 46980 in vbox for trunk/src/VBox/Runtime/common/zip/tar.cpp
- Timestamp:
- Jul 4, 2013 11:38:28 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/zip/tar.cpp
r46971 r46980 5 5 6 6 /* 7 * Copyright (C) 2009-201 2Oracle Corporation7 * Copyright (C) 2009-2013 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 336 336 /* Fill the header record */ 337 337 // RT_ZERO(pRecord); - done by the caller. 338 /** @todo use RTStrCopy */ 338 339 size_t cb = RTStrPrintf(pRecord->h.name, sizeof(pRecord->h.name), "%s", pszSrcName); 339 340 if (cb < strlen(pszSrcName)) … … 1669 1670 pInt->pFileCache = NULL; 1670 1671 } 1671 else/* Are we still direct behind that header? */1672 else/* Are we still directly behind that header? */ 1672 1673 { 1673 1674 /* Yes, so the streaming can start. Just return the cached file … … 1678 1679 if (pInt->pFileCache->linkflag == LF_DIR) 1679 1680 return VINF_TAR_DIR_PATH; 1680 else 1681 return VINF_SUCCESS; 1681 return VINF_SUCCESS; 1682 1682 } 1683 1683 … … 1722 1722 1723 1723 if (pFileInt->linkflag == LF_DIR) 1724 {1725 1724 rc = VINF_TAR_DIR_PATH; 1726 }1727 1725 } 1728 1726 } while (0);
Note:
See TracChangeset
for help on using the changeset viewer.