Skip to content

Commit 7136d9d

Browse files
Fix bug
1 parent 92918f8 commit 7136d9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pre-SP1-1-26.diff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ index 9d779869531788..5dc7d3162e71ba 100644
132132
if handle != 0 {
133133
err = 0
134134
}
135-
@@ -119,9 +119,10 @@ func loadlibrary(filename *uint16) (uintptr, Errno) {
135+
@@ -119,9 +119,8 @@ func loadlibrary(filename *uint16) (uintptr, Errno) {
136136
}
137137

138138
//go:linkname loadsystemlibrary
@@ -144,7 +144,7 @@ index 9d779869531788..5dc7d3162e71ba 100644
144144
if handle != 0 {
145145
err = 0
146146
}
147-
@@ -143,6 +144,9 @@ type DLL struct {
147+
@@ -143,6 +142,9 @@ type DLL struct {
148148
Handle Handle
149149
}
150150

@@ -154,7 +154,7 @@ index 9d779869531788..5dc7d3162e71ba 100644
154154
// LoadDLL loads the named DLL file into memory.
155155
//
156156
// If name is not an absolute path and is not a known system DLL used by
157-
@@ -159,7 +163,11 @@ func LoadDLL(name string) (*DLL, error) {
157+
@@ -159,7 +161,11 @@ func LoadDLL(name string) (*DLL, error) {
158158
var h uintptr
159159
var e Errno
160160
if sysdll.IsSystemDLL[name] {

0 commit comments

Comments
 (0)