From 1efac74958c03d6edcab7e1880fc841db7a8eb30 Mon Sep 17 00:00:00 2001
From: Brian White
Date: Fri, 18 Feb 2011 19:02:16 -0500
Subject: [PATCH 1/6] Fix os.cpus() on cygwin
---
src/platform_cygwin.cc | 12 ++++++++----
src/platform_linux.cc | 9 +++++++--
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/src/platform_cygwin.cc b/src/platform_cygwin.cc
index 416cb1735f..9338d4f4b8 100644
--- a/src/platform_cygwin.cc
+++ b/src/platform_cygwin.cc
@@ -99,8 +99,7 @@ static inline char* _getProcessTitle() {
if (GetLastError()) {
_winapi_perror("GetConsoleTitleW");
return NULL;
- }
- else {
+ } else {
// The title is empty, so return empty string
process_title = strdup("\0");
return process_title;
@@ -252,6 +251,7 @@ int Platform::GetExecutablePath(char* buffer, size_t* size) {
}
int Platform::GetCPUInfo(Local *cpus) {
+ HandleScope scope;
Local
- 2011.02.10
- node-v0.4.0.tar.gz
- (Documentation)
+ 2011.02.19
+ node-v0.4.1.tar.gz
+ (Documentation)
Historical: versions, docs
diff --git a/src/node_version.h b/src/node_version.h
index f94feb2626..6b10128378 100644
--- a/src/node_version.h
+++ b/src/node_version.h
@@ -7,7 +7,7 @@
#define NODE_MAJOR_VERSION 0
#define NODE_MINOR_VERSION 4
#define NODE_PATCH_VERSION 1
-#define NODE_VERSION_IS_RELEASE 0
+#define NODE_VERSION_IS_RELEASE 1
#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)
diff --git a/wscript b/wscript
index 83beea5e97..de5ee45bce 100644
--- a/wscript
+++ b/wscript
@@ -824,7 +824,7 @@ def build(bld):
, 'CPPFLAGS' : " ".join(program.env["CPPFLAGS"]).replace('"', '\\"')
, 'LIBFLAGS' : " ".join(program.env["LIBFLAGS"]).replace('"', '\\"')
, 'PREFIX' : safe_path(program.env["PREFIX"])
- , 'VERSION' : '0.4.0' # FIXME should not be hard-coded, see NODE_VERSION_STRING in src/node_version.
+ , 'VERSION' : '0.4.1' # FIXME should not be hard-coded, see NODE_VERSION_STRING in src/node_version.
}
return x
From e5a472229bbca00d5fa458e5572b11f07b1279e9 Mon Sep 17 00:00:00 2001
From: Ryan Dahl
Date: Sat, 19 Feb 2011 19:06:10 -0800
Subject: [PATCH 6/6] Now working on v0.4.2
---
src/node_version.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/node_version.h b/src/node_version.h
index 6b10128378..ccce608425 100644
--- a/src/node_version.h
+++ b/src/node_version.h
@@ -6,8 +6,8 @@
#define NODE_MAJOR_VERSION 0
#define NODE_MINOR_VERSION 4
-#define NODE_PATCH_VERSION 1
-#define NODE_VERSION_IS_RELEASE 1
+#define NODE_PATCH_VERSION 2
+#define NODE_VERSION_IS_RELEASE 0
#ifndef NODE_STRINGIFY
#define NODE_STRINGIFY(n) NODE_STRINGIFY_HELPER(n)