VirtualBox

Changeset 2714 in kBuild


Ignore:
Timestamp:
Dec 6, 2013 5:40:31 PM (11 years ago)
Author:
bird
Message:

dir.c: Always read the whole directory to prevent trouble on Windows and OS/2 with rebuild and other cleanup operations that tries to remove stuff. (STATUS_DELETE_PENDING, ++)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/dir.c

    r2702 r2714  
    702702# endif
    703703  int rehash = 0;
     704#endif
     705#ifdef KMK
     706  int ret = 0;
    704707#endif
    705708
     
    894897      if (filename != 0 && dirfile_key.name == filename)
    895898#endif
     899#ifdef KMK
     900        ret = 1; /* Cache the whole dir. Prevents trouble on windows and os2 during 'rebuild'. */
     901#else
    896902        return 1;
     903#endif
    897904    }
    898905
     
    905912      dir->dirstream = 0;
    906913    }
     914#ifdef KMK
     915  return ret;
     916#else
    907917  return 0;
     918#endif
    908919}
    909920
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