https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0610bcb3f9894f552c6f742f71d1e76a84b57dcb

commit 0610bcb3f9894f552c6f742f71d1e76a84b57dcb
Author:     Jérôme Gardou <zefk...@users.noreply.github.com>
AuthorDate: Sun Feb 18 23:56:09 2024 +0100
Commit:     Jérôme Gardou <zefk...@users.noreply.github.com>
CommitDate: Tue Feb 20 08:56:53 2024 +0100

    [DBGHELP] Avoid call of wine_get_dos_file_name
    
    CORE-19444
---
 dll/win32/dbghelp/path.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dll/win32/dbghelp/path.c b/dll/win32/dbghelp/path.c
index 6639375d444..92db186be41 100644
--- a/dll/win32/dbghelp/path.c
+++ b/dll/win32/dbghelp/path.c
@@ -673,6 +673,7 @@ WCHAR *get_dos_file_name(const WCHAR *filename)
     WCHAR *dos_path;
     size_t len;
 
+#ifndef __REACTOS__
     if (*filename == '/')
     {
         char *unix_path;
@@ -683,6 +684,7 @@ WCHAR *get_dos_file_name(const WCHAR *filename)
         heap_free(unix_path);
     }
     else
+#endif
     {
         len = lstrlenW(filename);
         dos_path = heap_alloc((len + 1) * sizeof(WCHAR));

Reply via email to