MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

risky comments removed from patch

+1 -4
+1 -4
vendor/packagefiles/patches/wasm-micro-runtime-windows.patch
··· 18 18 index ef6ca15..b893f9e 100644 19 19 --- a/core/shared/platform/windows/win_file.c 20 20 +++ b/core/shared/platform/windows/win_file.c 21 - @@ -1295,20 +1295,20 @@ os_realpath(const char *path, char *resolved_path) 21 + @@ -1295,20 +1295,17 @@ os_realpath(const char *path, char *resolved_path) 22 22 23 23 if (wbufsize >= 4 && wbuf[0] == L'\\' && wbuf[1] == L'?' 24 24 && wbuf[2] == L'?' && wbuf[3] == L'\\') { 25 25 - // Starts with \??\ 26 - + // Starts with \??\ 27 26 if (wbufsize >= 6 28 27 && ((wbuf[4] >= L'A' && wbuf[4] <= L'Z') 29 28 || (wbuf[4] >= L'a' && wbuf[4] <= L'z')) 30 29 && wbuf[5] == L':' && (wbufsize == 6 || wbuf[6] == L'\\')) 31 30 { 32 31 - // \??\<drive>:\ 33 - + // \??\<drive>:\ 34 32 wbuf += 4; 35 33 wbufsize -= 4; 36 34 } ··· 40 38 && wbuf[7] == L'\\') 41 39 { 42 40 - // \??\UNC\<server>\<share>\ - make sure the final path looks like \\<server>\<share>\ 43 - + // \??\UNC\<server>\<share>\ - make sure the final path looks like \\<server>\<share>\ 44 41 wbuf += 6; 45 42 wbuf[0] = L'\\'; 46 43 wbufsize -= 6;