projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08f5db1
)
core: Append filename properly in dlopen on windows
author
isaacs
<i@izs.me>
Thu, 7 Mar 2013 23:14:22 +0000
(15:14 -0800)
committer
isaacs
<i@izs.me>
Sat, 9 Mar 2013 02:56:31 +0000
(18:56 -0800)
Fixes simple/test-module-loading on win32
src/node.cc
patch
|
blob
|
history
diff --git
a/src/node.cc
b/src/node.cc
index 6388a11c911b5d8b91eb564f49f28605509dcf8d..e17baec825e5eed0e93e76bc8599d9fdd3ee2100 100644
(file)
--- a/
src/node.cc
+++ b/
src/node.cc
@@
-1893,7
+1893,7
@@
Handle<Value> DLOpen(const v8::Arguments& args) {
Local<String> errmsg = String::New(uv_dlerror(&lib));
#ifdef _WIN32
// Windows needs to add the filename into the error message
- errmsg = String::Concat(errmsg, args[
0
]->ToString());
+ errmsg = String::Concat(errmsg, args[
1
]->ToString());
#endif
return ThrowException(Exception::Error(errmsg));
}