[前][次][番号順一覧][スレッド一覧]

ruby-changes:37980

From: nobu <ko1@a...>
Date: Mon, 23 Mar 2015 15:45:00 +0900 (JST)
Subject: [ruby-changes:37980] nobu:r50061 (trunk): win32.c: fix DLL name

nobu	2015-03-23 15:44:44 +0900 (Mon, 23 Mar 2015)

  New Revision: 50061

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50061

  Log:
    win32.c: fix DLL name
    
    * win32/win32.c (winnt_stat): fix DLL name to "kernel32".

  Modified files:
    trunk/win32/win32.c
Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 50060)
+++ win32/win32.c	(revision 50061)
@@ -5094,7 +5094,7 @@ winnt_stat(const WCHAR *path, struct sta https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L5094
 
     if (get_final_path == (get_final_path_func)-1) {
 	get_final_path = (get_final_path_func)
-	    get_proc_address(NULL, "GetFinalPathNameByHandleW", NULL);
+	    get_proc_address("kernel32", "GetFinalPathNameByHandleW", NULL);
     }
 
     memset(st, 0, sizeof(*st));

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]