VirtualBox

Changeset 3867 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 26, 2007 11:55:50 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23227
Message:

actually assert on the right return code; adapted path to VBoxGuestAdditions.iso

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r3820 r3867  
    7070#include <VBox/err.h>
    7171#endif
     72
     73#include <iprt/param.h>
     74#include <iprt/path.h>
    7275
    7376/** class VBoxUSBLedTip
     
    22982301    QString src2 = qApp->applicationDirPath() + "/../../release/bin/additions/VBoxGuestAdditions.iso";
    22992302#else
    2300     QString src1 = qApp->applicationDirPath() + "/VBoxGuestAdditions.iso";
     2303    char szAppPrivPath[RTPATH_MAX];
     2304    int rc;
     2305
     2306    rc = RTPathAppPrivateNoArch(szAppPrivPath, sizeof(szAppPrivPath));
     2307    Assert(RT_SUCCESS(rc));
     2308
     2309    QString src1 = QString(szAppPrivPath) + "/VBoxGuestAdditions.iso";
    23012310    QString src2 = qApp->applicationDirPath() + "/additions/VBoxGuestAdditions.iso";
    23022311#endif
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp

    r3865 r3867  
    20052005    int rc;
    20062006
    2007     RTPathAppPrivateNoArch(szNlsPath, sizeof(szNlsPath));
     2007    rc = RTPathAppPrivateNoArch(szNlsPath, sizeof(szNlsPath));
    20082008    Assert(RT_SUCCESS(rc));
    20092009
  • TabularUnified trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp

    r3861 r3867  
    17661766    int rc;
    17671767
    1768     RTPathAppDocs(szDocsPath, sizeof(szDocsPath));
     1768    rc = RTPathAppDocs(szDocsPath, sizeof(szDocsPath));
    17691769    Assert(RT_SUCCESS(rc));
    17701770
Note: See TracChangeset for help on using the changeset viewer.

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