Changeset 34919 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Dec 9, 2010 6:14:41 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/zip/tar.cpp
r34002 r34919 260 260 /* Fill the header record */ 261 261 // RT_ZERO(pRecord); 262 RTStrPrintf(pRecord->h.name, sizeof(pRecord->h.name), "%s", pszSrcName);263 RTStrPrintf(pRecord->h.mode, sizeof(pRecord->h.mode), "%0.7o", fmode);264 RTStrPrintf(pRecord->h.uid, sizeof(pRecord->h.uid), "%0.7o", uid);265 RTStrPrintf(pRecord->h.gid, sizeof(pRecord->h.gid), "%0.7o", gid);266 RTStrPrintf(pRecord->h.size, sizeof(pRecord->h.size), "%0.11 o", cbSize);267 RTStrPrintf(pRecord->h.mtime, sizeof(pRecord->h.mtime), "%0.11o", mtime);262 RTStrPrintf(pRecord->h.name, sizeof(pRecord->h.name), "%s", pszSrcName); 263 RTStrPrintf(pRecord->h.mode, sizeof(pRecord->h.mode), "%0.7o", fmode); 264 RTStrPrintf(pRecord->h.uid, sizeof(pRecord->h.uid), "%0.7o", uid); 265 RTStrPrintf(pRecord->h.gid, sizeof(pRecord->h.gid), "%0.7o", gid); 266 RTStrPrintf(pRecord->h.size, sizeof(pRecord->h.size), "%0.11llo", cbSize); 267 RTStrPrintf(pRecord->h.mtime, sizeof(pRecord->h.mtime), "%0.11o", mtime); 268 268 RTStrPrintf(pRecord->h.magic, sizeof(pRecord->h.magic), "ustar "); 269 269 RTStrPrintf(pRecord->h.uname, sizeof(pRecord->h.uname), "someone");
Note:
See TracChangeset
for help on using the changeset viewer.