diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2023-02-12 12:05:56 +0000 |
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2023-05-03 10:24:56 +0100 |
| commit | 6e377849c09a310b6eef50ebd91c1f014d41ab73 (patch) | |
| tree | 1b17781bad1484f5b797202fd344f265a4175ac3 /tests/codegen/array-codegen.rs | |
| parent | cad92b4c979760b088ffd18e6c89801668c944f2 (diff) | |
| download | rust-6e377849c09a310b6eef50ebd91c1f014d41ab73.tar.gz rust-6e377849c09a310b6eef50ebd91c1f014d41ab73.zip | |
Correctly convert an NT path to a Win32 path
This can be done by simply changing the `\??\` prefix to `\\?\` and then attempting to convert to a user path. Currently it simply strips off the prefix which could lead to the wrong path being returned (e.g. if it's not a drive path or if the path contains trailing spaces, etc).
Diffstat (limited to 'tests/codegen/array-codegen.rs')
0 files changed, 0 insertions, 0 deletions
