src: tie process.versions.uv to uv_version_string()

pull/24507/merge
Ben Noordhuis 2013-03-28 20:12:02 +01:00
parent 1b5ec033ee
commit 902d6cb6d7
1 changed files with 1 additions and 3 deletions

View File

@ -2356,9 +2356,7 @@ Handle<Object> SetupProcessObject(int argc, char *argv[]) {
versions->Set(String::NewSymbol("node"), String::New(NODE_VERSION+1));
versions->Set(String::NewSymbol("v8"), String::New(V8::GetVersion()));
versions->Set(String::NewSymbol("ares"), String::New(ARES_VERSION_STR));
versions->Set(String::NewSymbol("uv"), String::New(
NODE_STRINGIFY(UV_VERSION_MAJOR) "."
NODE_STRINGIFY(UV_VERSION_MINOR)));
versions->Set(String::NewSymbol("uv"), String::New(uv_version_string()));
versions->Set(String::NewSymbol("zlib"), String::New(ZLIB_VERSION));
#if HAVE_OPENSSL
// Stupid code to slice out the version string.