VirtualBox

Changeset 2678 in kBuild


Ignore:
Timestamp:
Feb 4, 2013 12:53:47 PM (12 years ago)
Author:
bird
Message:

kmk_install: Fixed directory installation on windows (probably broken by compiler upgrade).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/install.c

    r2546 r2678  
    10221022
    10231023        for (p = path;; ++p)
    1024                 if (!*p || (p != path && IS_SLASH(*p))) {
     1024                if (   !*p
     1025                    || (   p != path
     1026                        && IS_SLASH(*p)
     1027#if defined(_MSC_VER) /* stat("C:") fails (VC++ v10). Just skip it since it's unnecessary. */
     1028                        && (p - path != 2 || p[-1] != ':')
     1029#endif
     1030                    )) {
    10251031                        ch = *p;
    10261032                        *p = '\0';
Note: See TracChangeset for help on using the changeset viewer.

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