VirtualBox

Changeset 42714 in vbox for trunk


Ignore:
Timestamp:
Aug 9, 2012 2:57:24 PM (12 years ago)
Author:
vboxsync
Message:

Runtime: RT*CreateTemp testcase, burn fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstRTTemp.cpp

    r42713 r42714  
    6363        int rc;
    6464        char szName[RTPATH_MAX];
     65        RTFMODE fModeFinal;
     66
    6567        RTTESTI_CHECK_RC(rc = RTPathAppend(strcpy(szName, g_szTempPath), sizeof(szName), pszTemplate), VINF_SUCCESS);
    6668        if (RT_FAILURE(rc))
     
    8890        if (RT_SUCCESS(rc))
    8991        {
    90             RTFMODE fModeFinal &= (RTFS_UNIX_IRWXU | RTFS_UNIX_IRWXO);
     92            fModeFinal &= (RTFS_UNIX_IRWXU | RTFS_UNIX_IRWXO);
    9193            RTTESTI_CHECK_MSG((fModeFinal & ~fMode) == 0,
    9294                              ("%s: szName   %s\nfModeFinal ~= %#o, expected %#o\n",
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