Changeset 98322 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jan 26, 2023 3:59:04 PM (23 months ago)
- Location:
- trunk/src/VBox/Main/src-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r98307 r98322 35 35 #include <iprt/zip.h> 36 36 37 #include <iprt/formats/tar.h> 38 37 39 #include <VBox/version.h> 38 40 … … 416 418 417 419 strTargetImageName = Utf8StrFmt("%s-disk%.3d.vmdk", strBasename.c_str(), ++pAppliance->m->cDisks); 418 if (strTargetImageName.length() > RT TAR_NAME_MAX)420 if (strTargetImageName.length() > RTZIPTAR_NAME_MAX) 419 421 throw setError(VBOX_E_NOT_SUPPORTED, 420 422 tr("Cannot attach disk '%s' -- file name too long"), strTargetImageName.c_str()); … … 507 509 508 510 strTargetImageName = Utf8StrFmt("%s-disk%.3d.iso", strBasename.c_str(), ++pAppliance->m->cDisks); 509 if (strTargetImageName.length() > RT TAR_NAME_MAX)511 if (strTargetImageName.length() > RTZIPTAR_NAME_MAX) 510 512 throw setError(VBOX_E_NOT_SUPPORTED, 511 513 tr("Cannot attach image '%s' -- file name too long"), strTargetImageName.c_str()); -
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r98307 r98322 34 34 #include <iprt/sha.h> 35 35 #include <iprt/manifest.h> 36 #include <iprt/tar.h>37 36 #include <iprt/zip.h> 38 37 #include <iprt/stream.h> … … 42 41 #include <iprt/crypto/x509.h> 43 42 #include <iprt/rand.h> 43 44 #include <iprt/formats/tar.h> 44 45 45 46 #include <VBox/vd.h>
Note:
See TracChangeset
for help on using the changeset viewer.