When turning UTF-8 paths into UCS-2 paths for Windows, always use the \\?\-prefixed paths. Because this bypasses the system's path canonicalization, handle the canonicalization functions ourselves. We must: 1. always use a backslash as a directory separator 2. only use a single backslash between directories 3. not rely on the system to translate "." and ".." in paths 4. remove trailing backslashes, except at the drive root (C:\)
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bitvec.c | Loading commit data... | |
| buffer.c | Loading commit data... | |
| copy.c | Loading commit data... | |
| dirent.c | Loading commit data... | |
| env.c | Loading commit data... | |
| errors.c | Loading commit data... | |
| features.c | Loading commit data... | |
| filebuf.c | Loading commit data... | |
| hex.c | Loading commit data... | |
| iconv.c | Loading commit data... | |
| link.c | Loading commit data... | |
| mkdir.c | Loading commit data... | |
| oid.c | Loading commit data... | |
| oidmap.c | Loading commit data... | |
| opts.c | Loading commit data... | |
| path.c | Loading commit data... | |
| pool.c | Loading commit data... | |
| posix.c | Loading commit data... | |
| pqueue.c | Loading commit data... | |
| rmdir.c | Loading commit data... | |
| sortedcache.c | Loading commit data... | |
| stat.c | Loading commit data... | |
| string.c | Loading commit data... | |
| strmap.c | Loading commit data... | |
| strtol.c | Loading commit data... | |
| vector.c | Loading commit data... | |
| zstream.c | Loading commit data... |