Skip to content

Instantly share code, notes, and snippets.

Avatar

Bert Belder piscisaureus

  • Amsterdam
View GitHub Profile
View gist:465171
@echo off
Setlocal
set P=%~dp0
set S=%~f1
set PATH=%P%bin\;%PATH%
IF NOT "%S%"=="" GOTO :Script
"%P%node\bin\node.exe"
View 0001-Fix-http-and-net-tests-failing-due-to-race-condition.patch
From f9f06c17236b783f2b8c9d6531180f68c9acf8cd Mon Sep 17 00:00:00 2001
From: Bert Belder <bertbelder@gmail.com>
Date: Thu, 12 Aug 2010 01:38:42 +0200
Subject: [PATCH] Fix http and net tests failing due to race condition
Plus some minor cosmetic corrections
---
test/simple/test-http-1.0.js | 28 +++---
test/simple/test-http-chunked.js | 18 ++--
test/simple/test-http-client-race-2.js | 94 ++++++++++----------
View 0001-Implement-process.title-for-cygwin.patch
From 33f60624e24d66d7bc601c0e51ae361beb88a4e6 Mon Sep 17 00:00:00 2001
From: Bert Belder <bertbelder@gmail.com>
Date: Fri, 13 Aug 2010 03:45:51 +0200
Subject: [PATCH] Implement process.title for cygwin
---
src/platform_cygwin.cc | 136 ++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 133 insertions(+), 3 deletions(-)
diff --git a/src/platform_cygwin.cc b/src/platform_cygwin.cc
View 0001-One-more-test-with-a-race-condition-fixed.patch
From 2f38fce7e4346c88ea7f3d72eb27608a029018a8 Mon Sep 17 00:00:00 2001
From: Bert Belder <bertbelder@gmail.com>
Date: Fri, 13 Aug 2010 05:23:41 +0200
Subject: [PATCH] One more test with a race condition fixed
---
test/simple/test-http-eof-on-connect.js | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/test/simple/test-http-eof-on-connect.js b/test/simple/test-http-eof-on-connect.js
View test.js
/*
Test with the table from test.sql
*/
require.paths.push(__dirname+'/lib');
var Client = require('mysql').Client,
client = new Client();
client.user = 'root';
View Fix-parser-state-bug-causing-field-value-misalignment.patch
Subject: [PATCH] Fix parser state bug causing field-value misalignment
---
lib/mysql/parser.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/mysql/parser.js b/lib/mysql/parser.js
index 077a0e8..f397752 100644
--- a/lib/mysql/parser.js
+++ b/lib/mysql/parser.js
View platform-cygwin.cc
// Copyright 2006-2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided
View 0001-Implement-os.isWindows.patch
From 7f1bc3cff28d08ce4cae609bddec795b67ff6e0e Mon Sep 17 00:00:00 2001
From: Bert Belder <bertbelder@gmail.com>
Date: Wed, 5 Jan 2011 03:30:27 +0100
Subject: [PATCH] Implement os.isWindows
---
doc/api/os.markdown | 4 ++++
lib/os.js | 3 ++-
src/node_os.cc | 6 ++++++
3 files changed, 12 insertions(+), 1 deletions(-)
View 0001-Improve-path.resolve-documentation.patch
From bf31046523791e4e9e0c26707db62a32b39e2c79 Mon Sep 17 00:00:00 2001
From: Bert Belder <bertbelder@gmail.com>
Date: Fri, 7 Jan 2011 02:55:25 +0100
Subject: [PATCH] Improve path.resolve documentation
---
doc/api/path.markdown | 31 +++++++++++++++++++++----------
1 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/doc/api/path.markdown b/doc/api/path.markdown
View 0001-Readline-use-tty-methods-instead-of-control-sequence.patch
From 5d68b71e52cd7a596ac5ead2a3ae7711e55f212c Mon Sep 17 00:00:00 2001
From: Bert Belder <bertbelder@gmail.com>
Date: Wed, 12 Jan 2011 04:13:41 +0100
Subject: [PATCH 1/1] Readline: use tty methods instead of control sequences
---
lib/readline.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/readline.js b/lib/readline.js
You can’t perform that action at this time.