VirtualBox

Changeset 84865 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Jun 17, 2020 7:49:37 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138684
Message:

Guest Control/Main: Try to fix crashes. bugref:9320

Location:
trunk/src/VBox/Main/src-client
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDirectoryImpl.cpp

    r84648 r84865  
    237237    Utf8Str strErr;
    238238
    239 #define CASE_MSG(a_iRc, a_strFormatString, ...) \
    240     case a_iRc: strErr = Utf8StrFmt(a_strFormatString, ##__VA_ARGS__); break;
     239#define CASE_MSG(a_iRc, ...) \
     240    case a_iRc: strErr = Utf8StrFmt(__VA_ARGS__); break;
    241241
    242242    /** @todo pData->u32Flags: int vs. uint32 -- IPRT errors are *negative* !!! */
  • trunk/src/VBox/Main/src-client/GuestFileImpl.cpp

    r84745 r84865  
    417417    Utf8Str strErr;
    418418
    419 #define CASE_MSG(a_iRc, a_strFormatString, ...) \
    420     case a_iRc: strErr = Utf8StrFmt(a_strFormatString, ##__VA_ARGS__); break;
     419#define CASE_MSG(a_iRc, ...) \
     420    case a_iRc: strErr = Utf8StrFmt(__VA_ARGS__); break;
    421421
    422422    /** @todo pData->u32Flags: int vs. uint32 -- IPRT errors are *negative* !!! */
  • trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp

    r84744 r84865  
    501501    Utf8Str strErr;
    502502
    503 #define CASE_MSG(a_iRc, a_strFormatString, ...) \
    504     case a_iRc: strErr = Utf8StrFmt(a_strFormatString, ##__VA_ARGS__); break;
     503#define CASE_MSG(a_iRc, ...) \
     504    case a_iRc: strErr = Utf8StrFmt( __VA_ARGS__); break;
    505505
    506506    /** @todo pData->u32Flags: int vs. uint32 -- IPRT errors are *negative* !!! */
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