[Corrected] NTDLL/loader.c: Remove spaces at end of name in import_dll

Robert Shearman rob at codeweavers.com
Mon Feb 20 06:58:01 CST 2006


Uwe Bonnes wrote:

>@@ -470,6 +480,7 @@
>         WCHAR *ptr = RtlAllocateHeap( GetProcessHeap(), 0, len * sizeof(WCHAR) );
>         if (!ptr) return NULL;
>         ascii_to_unicode( ptr, name, len );
>+        skip_spaces(buffer, len);
>         status = load_dll( load_path, ptr, 0, &wmImp );
>         RtlFreeHeap( GetProcessHeap(), 0, ptr );
>

This patch still needs work. I don't think you mean to pass in buffer to 
skip_spaces.

-- 
Rob Shearman




More information about the wine-devel mailing list