Skip to content

Fix handling of DOS device paths in Win32Handler and unify Path handling - #2955

Open
HannesWell wants to merge 1 commit into
eclipse-platform:masterfrom
HannesWell:fix-DOS-device-path-handling
Open

HannesWell wants to merge 1 commit into
eclipse-platform:masterfrom
HannesWell:fix-DOS-device-path-handling

Conversation

@HannesWell

Copy link
Copy Markdown
Member

The method Win32Handler.toLongWindowsPath() handled file paths incorrectly if they are already DOS device paths to an ordinary file, i.e. started with \?, e.g. a path like \?\C:\User\Foo\bar.txt.

In real world scenarios this was probably of little relevance since the Eclipse platform usually does not pass such DOS device paths.

The method Win32Handler.toLongWindowsPath() handled file paths
incorrectly if they are already DOS device paths to an ordinary
file, i.e. started with \\?\, e.g. a path like \\?\C:\User\Foo\bar.txt.

In real world scenarios this was probably of little relevance since the
Eclipse platform usually does not pass such DOS device paths.
@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   56m 16s ⏱️ +36s
 4 810 tests ±0   4 788 ✅ +2   22 💤 ±0  0 ❌ ±0 
12 321 runs  ±0  12 168 ✅ +2  153 💤 ±0  0 ❌ ±0 

Results for commit 9ba8b83. ± Comparison against base commit 8ca1002.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant