Skip to content

Instantly share code, notes, and snippets.

View piscisaureus's full-sized avatar
🦕

Bert Belder piscisaureus

🦕
View GitHub Profile
@echo off
Setlocal
set P=%~dp0
set S=%~f1
set PATH=%P%bin\;%PATH%
IF NOT "%S%"=="" GOTO :Script
"%P%node\bin\node.exe"
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 ++++++++++----------
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
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
/*
Test with the table from test.sql
*/
require.paths.push(__dirname+'/lib');
var Client = require('mysql').Client,
client = new Client();
client.user = 'root';
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
// 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
@piscisaureus
piscisaureus / 0001-Implement-os.isWindows.patch
Created January 5, 2011 02:31
0001-Implement-os.isWindows
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(-)
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
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