win: remove obsolete comment (#4816)
Refs: https://github.com/libuv/libuv/security/advisories/GHSA-qf6p-jg38-9f4x#advisory-comment-131127
This commit is contained in:
parent
49b6e4db0c
commit
8e51d38ab6
@ -1946,7 +1946,6 @@ INLINE static void fs__stat_assign_statbuf(uv_stat_t* statbuf,
|
||||
INLINE static void fs__stat_prepare_path(WCHAR* pathw) {
|
||||
size_t len = wcslen(pathw);
|
||||
|
||||
/* TODO: ignore namespaced paths. */
|
||||
if (len > 1 && pathw[len - 2] != L':' &&
|
||||
(pathw[len - 1] == L'\\' || pathw[len - 1] == L'/')) {
|
||||
pathw[len - 1] = '\0';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user