VirtualBox

Changeset 61235 in vbox


Ignore:
Timestamp:
May 27, 2016 10:14:07 AM (9 years ago)
Author:
vboxsync
Message:

warning / fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/io/nsLocalFileUnix.cpp

    r39926 r61235  
    646646    if (NS_FAILED(rv = newParent->Exists(&dirCheck)))
    647647        return rv;
     648    // get the dirs old permissions
     649    if (NS_FAILED(rv = GetPermissions(&oldPerms)))
     650        return rv;
    648651    if (!dirCheck) {
    649         // get the dirs old permissions
    650         if (NS_FAILED(rv = GetPermissions(&oldPerms)))
    651             return rv;
    652652        if (NS_FAILED(rv = newParent->Create(DIRECTORY_TYPE, oldPerms)))
    653653            return rv;
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