VirtualBox

忽略:
時間撮記:
2011-12-15 上午11:33:47 (13 年 以前)
作者:
vboxsync
訊息:

more symlink stuff

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r3/dir.cpp

    r39612 r39626  
    517517 * @param   pszFilter   Pointer to where the filter start in the path. NULL if no filter.
    518518 * @param   enmFilter   The type of filter to apply.
    519  */
    520 static int rtDirOpenCommon(PRTDIR *ppDir, const char *pszPath, const char *pszFilter, RTDIRFILTER enmFilter)
     519 * @param   fOpen       Open flags, RTDIROPENFILTERED_FLAGS_*.
     520 */
     521static int rtDirOpenCommon(PRTDIR *ppDir, const char *pszPath, const char *pszFilter, RTDIRFILTER enmFilter, uint32_t fOpen)
    521522{
    522523    /*
     
    646647     * Hand it over to the native part.
    647648     */
    648     rc = rtDirNativeOpen(pDir, szRealPath);
     649    rc = rtDirNativeOpen(pDir, szRealPath, fOpen);
    649650    if (RT_SUCCESS(rc))
    650651        *ppDir = pDir;
     
    668669     * Take common cause with RTDirOpenFiltered().
    669670     */
    670     int rc = rtDirOpenCommon(ppDir, pszPath, NULL,  RTDIRFILTER_NONE);
     671    int rc = rtDirOpenCommon(ppDir, pszPath, NULL,  RTDIRFILTER_NONE, 0);
    671672    LogFlow(("RTDirOpen(%p:{%p}, %p:{%s}): return %Rrc\n", ppDir, *ppDir, pszPath, pszPath, rc));
    672673    return rc;
     
    711712     * and initialize the handle, and finally call the backend.
    712713     */
    713     int rc = rtDirOpenCommon(ppDir, pszPath, pszFilter, enmFilter);
     714    int rc = rtDirOpenCommon(ppDir, pszPath, pszFilter, enmFilter, fOpen);
    714715
    715716    LogFlow(("RTDirOpenFiltered(%p:{%p}, %p:{%s}, %d): return %Rrc\n",
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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