VirtualBox

Ignore:
Timestamp:
Aug 2, 2007 11:50:11 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23427
Message:

In Linux we sometimes get VERR_PATH_NOT_FOUND when only the file is not present (sigh)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp

    r3999 r4001  
    916916            }
    917917        }
    918         else if (rc == VERR_FILE_NOT_FOUND)
     918        else
     919        /* Note: In Linux we sometimes get VERR_PATH_NOT_FOUND when only the file is not present (sigh) */
     920        if (rc == VERR_FILE_NOT_FOUND || rc == VERR_PATH_NOT_FOUND)
    919921        {
    920922            rc = VINF_SUCCESS;
     
    969971                }
    970972            }
    971         }
    972         else if (rc == VERR_PATH_NOT_FOUND)
    973         {
    974             rc = VINF_SUCCESS;
    975 
    976             pParms->Result = SHFL_PATH_NOT_FOUND;
    977973        }
    978974
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