Changeset 363 in kBuild
- Timestamp:
- Dec 13, 2005 7:16:26 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/kmkbuiltin/mkdir.c
r361 r363 216 216 oumask = 0; 217 217 retval = 0; 218 #if defined(_MSC_VER) || defined(__EMX__) 219 if ( ( (p[0] >= 'A' && p[0] <= 'Z') 220 || (p[0] >= 'a' && p[0] <= 'z')) 221 && p[1] == ':') 222 p += 2; 223 else if ( (p[0] == '/' || p[0] == '\\') 224 && (p[1] == '/' || p[1] == '\\') 225 && (p[2] != '/' && p[2] != '\\')) 226 { 227 char *p2; 228 p += 2; 229 p2 = strpbrk(p, "\\/"); 230 if (p2) 231 p = p2 + 1; 232 } 233 #endif 218 234 if (p[0] == '/') /* Skip leading '/'. */ 219 235 ++p;
Note:
See TracChangeset
for help on using the changeset viewer.