Skip to content

Instantly share code, notes, and snippets.

@isaacs isaacs/gist:1194133
Created Sep 5, 2011

What would you like to do?
diff --git a/src/ b/src/
index 0b8e69d..1fcf373 100644
--- a/src/
+++ b/src/
@@ -441,7 +441,7 @@ static Handle<Value> ReadLink(const Arguments& args) {
ASYNC_CALL(readlink, args[1], *path)
} else {
SYNC_CALL(readlink, *path, *path)
- return scope.Close(String::New((char*)SYNC_REQ.ptr, SYNC_REQ.result));
+ return scope.Close(String::New((char*)SYNC_REQ.ptr));
#endif // __POSIX__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.