equal
deleted
inserted
replaced
353 /* |
353 /* |
354 * If in \\server\path format, it's already an absolute path. |
354 * If in \\server\path format, it's already an absolute path. |
355 * We'll need to check for "." and ".." dirs, though, just in case. |
355 * We'll need to check for "." and ".." dirs, though, just in case. |
356 */ |
356 */ |
357 if ((path[0] == '\\') && (path[1] == '\\')) |
357 if ((path[0] == '\\') && (path[1] == '\\')) |
358 { |
|
359 BAIL_IF_MACRO(retval == NULL, ERR_OUT_OF_MEMORY, NULL); |
|
360 strcpy(retval, path); |
358 strcpy(retval, path); |
361 } /* if */ |
|
362 |
359 |
363 else |
360 else |
364 { |
361 { |
365 char *currentDir = __PHYSFS_platformCurrentDir(); |
362 char *currentDir = __PHYSFS_platformCurrentDir(); |
366 if (currentDir == NULL) |
363 if (currentDir == NULL) |