Changeset 2933
- Timestamp:
- Dec 30, 2006, 6:30:05 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/src/libc/misc/abspath.c
r1519 r2933 20 20 char drive, dir[MAXPATHLEN+1], src_drive, *s, *p; 21 21 int i, j, rel, server, trail, mbcl; 22 char chSlash = !__libc_gfNoUnix ? '/' : '\\';22 char chSlash = '/'; 23 23 24 24 s = alloca (strlen (src) + 1); … … 42 42 } 43 43 else if (__libc_Back_fsDirCurrentGet (dir, sizeof(dir), src_drive, __LIBC_BACK_FSCWD_NO_DRIVE | __LIBC_BACK_FSCWD_NO_ROOT_SLASH) == 0) 44 { 45 if (!__libc_gfNoUnix) 46 _fnslashify (dir); 47 } 44 _fnslashify (dir); 48 45 else 49 46 {
Note:
See TracChangeset
for help on using the changeset viewer.