• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Windows System Libraries


Commit MetaInfo

修订版e5e5f0625a26ec0902f0f23cea7e1be098f8ee39 (tree)
时间2021-05-25 23:28:11
作者Keith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

Correct an entry-point look-up logic defect.

更改概述

差异

--- a/w32api/ChangeLog
+++ b/w32api/ChangeLog
@@ -1,3 +1,10 @@
1+2021-05-25 Keith Marshall <keith@users.osdn.me>
2+
3+ Correct an entry-point look-up logic defect.
4+
5+ * lib/availapi.c (__bound_dll_entry_point) [dll == NULL]: Should be...
6+ [dll != NULL]: ...this; correct it.
7+
18 2021-05-23 Keith Marshall <keith@users.osdn.me>
29
310 Implement a generic legacy platform support infrastructure.
--- a/w32api/lib/availapi.c
+++ b/w32api/lib/availapi.c
@@ -118,7 +118,7 @@ void *__bound_dll_entry_point
118118 * the entry-point, or mark it as permanently unsupported.
119119 */
120120 HMODULE dll = GetModuleHandleA( dllname );
121- hook = (dll == NULL) ? GetProcAddress( dll, procname ) : API_UNSUPPORTED;
121+ hook = (dll != NULL) ? GetProcAddress( dll, procname ) : API_UNSUPPORTED;
122122 }
123123 /* In any case, we return the (possibly updated) hook, which should
124124 * then be recorded by the caller.