VirtualBox

Changeset 33494 in vbox


Ignore:
Timestamp:
Oct 27, 2010 11:39:37 AM (14 years ago)
Author:
vboxsync
Message:

Build fixes.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/isofs.h

    r33492 r33494  
    4444#define RTISOFS_MAX_PREPARER_ID    128
    4545#define RTISOFS_MAX_APPLICATION_ID 128
    46 #define RTISOFS_MAX_STRING_LEN     256
     46#define RTISOFS_MAX_STRING_LEN     255
    4747
    4848/** Standard ID of volume descriptors. */
  • trunk/src/VBox/Main/GuestImpl.cpp

    r33492 r33494  
    4040#include <VBox/pgm.h>
    4141
     42#include <memory>
     43
    4244// defines
    4345/////////////////////////////////////////////////////////////////////////////
     
    245247                     * system rights, no username/password specified).
    246248                     */
    247                     rc = pGuest->executeProcessInternal(Bstr("vbox_cat").raw(),
     249                    rc = pGuest->executeProcessInternal(Bstr("vbox_cat"),
    248250                                                        ExecuteProcessFlag_WaitForProcessStartOnly,
    249251                                                        ComSafeArrayAsInParam(args),
     
    332334                ComPtr<IProgress> progressInstaller;
    333335                ULONG uPID;
    334                 rc = pGuest->executeProcessInternal(Bstr(strInstallerPath).raw(), 0 /* Flags */,
     336                rc = pGuest->executeProcessInternal(Bstr(strInstallerPath),
     337                                                    0 /* Flags */,
    335338                                                    ComSafeArrayAsInParam(installerArgs),
    336339                                                    ComSafeArrayAsInParam(installerEnv),
  • trunk/src/VBox/Runtime/r3/isofs.cpp

    r33492 r33494  
    333333                    break;
    334334
    335                 Assert(   pCurRecord->name_len  > 0
    336                        && pCurRecord->name_len <= RTISOFS_MAX_STRING_LEN);
     335                Assert(pCurRecord->name_len <= RTISOFS_MAX_STRING_LEN);
    337336                char *pszName = RTStrAlloc(pCurRecord->name_len + 1);
    338337                AssertPtr(pszName);
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