Skip to content

Instantly share code, notes, and snippets.

@koichik
koichik / 0001-Document-allowHalfOpen-for-net.createServer.patch
Created March 3, 2011 16:11
Document allowHalfOpen for net.createServer()
From 19e8812e34cdc9733cb82d4261ed34aab83659e9 Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Fri, 4 Mar 2011 01:05:03 +0900
Subject: [PATCH 1/2] Document allowHalfOpen for net.createServer()
---
doc/api/net.markdown | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/api/net.markdown b/doc/api/net.markdown
@koichik
koichik / 0001-Correct-net.createServer-API-docs.patch
Created March 2, 2011 18:34
Correct net.createServer() API docs
From d6f66f508052f2108633190c4a149c1131dc87fc Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Thu, 3 Mar 2011 03:32:13 +0900
Subject: [PATCH] Correct net.createServer() API docs
---
doc/api/net.markdown | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/doc/api/net.markdown b/doc/api/net.markdown
@koichik
koichik / 0001-Fix-fs.WriteStream.end-data-encoding-throws-TypeErro.patch
Created March 1, 2011 15:39
Fix fs.WriteStream.end(data, [encoding]) throws TypeError
From edaad49acce5ae54ab859ec4fbf8002f76d80585 Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Wed, 2 Mar 2011 00:35:32 +0900
Subject: [PATCH] Fix fs.WriteStream.end(data, [encoding]) throws TypeError
---
lib/fs.js | 10 +++++++++-
test/simple/test-fs-write-stream-end.js | 25 +++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletions(-)
create mode 100644 test/simple/test-fs-write-stream-end.js
@koichik
koichik / 0001-Fix-process.stdout.end-throws-ENOTSOCK-error.patch
Created February 22, 2011 16:30
Fix process.stdout.end() throws ENOTSOCK error.
From 1a8c385beb360b887c636c7500aa91602a37720c Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Wed, 23 Feb 2011 01:28:09 +0900
Subject: [PATCH] Fix process.stdout.end() throws ENOTSOCK error.
---
src/node.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/node.js b/src/node.js
@koichik
koichik / 0001-Reproduce-process.stdout.end-throws-ENOTSOCK-error.patch
Created February 22, 2011 16:22
Fix process.stdout.end() throws ENOTSOCK error.
From 2949f5b7c104b0dae213b2de2c00a8dbf557418c Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Wed, 23 Feb 2011 12:03:49 +0900
Subject: [PATCH 1/2] Reproduce process.stdout.end() throws ENOTSOCK error.
---
test/disabled/test-tty-stdout-end.js | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
create mode 100644 test/disabled/test-tty-stdout-end.js
@koichik
koichik / 0001-corrected-small-typos-dgram.patch
Created February 5, 2011 11:22
correct small typos for dgram.markdown
From cb32022a99347507234bf9bd455b2f34b066ad92 Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Sat, 5 Feb 2011 20:07:28 +0900
Subject: [PATCH] corrected small typos
---
doc/api/dgram.markdown | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/api/dgram.markdown b/doc/api/dgram.markdown
@koichik
koichik / 0001-corrected-small-typos-http.patch
Created February 5, 2011 11:21
correct small typos for http.markdown
From cb32022a99347507234bf9bd455b2f34b066ad92 Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Sat, 5 Feb 2011 20:07:28 +0900
Subject: [PATCH] corrected small typos
---
doc/api/http.markdown | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/api/http.markdown b/doc/api/http.markdown
@koichik
koichik / 0001-fix-emitter.on-addListener-s-check-for-listener-leak.patch
Created January 17, 2011 12:18
fix emitter.on()/addListener()'s check for listener leak
From 9b36eb9474fb56391f63d5d29b3c4fbebb665541 Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Mon, 17 Jan 2011 19:30:43 +0900
Subject: [PATCH] fix emitter.on()/addListener()'s check for listener leak
Because the check is performed before a listener is added to an array,
the warning occurred with the 12th listener not the 11th listener.
example:
@koichik
koichik / 0001-fix-emitter.on-addListener-s-check-for-listener-leak.patch
Created January 17, 2011 10:33
[PATCH] fix emitter.on()/addListener()'s check for listener leak
From 843eb784adcb379ae6fc53af558cd94ce2f25f1c Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Mon, 17 Jan 2011 19:30:43 +0900
Subject: [PATCH] fix emitter.on()/addListener()'s check for listener leak
Because the check is performed before a listener is added to an array,
the warning occurred with the 12th listener not the 11th listener.
example:
@koichik
koichik / gist:756290
Created December 27, 2010 16:58
[PATCH] correct the option's default values in fs docs
From 9fc5855b106046fb6cf6d5ffc44310715b4f92d5 Mon Sep 17 00:00:00 2001
From: koichik <[email protected]>
Date: Tue, 28 Dec 2010 01:57:24 +0900
Subject: [PATCH] correct the option's default values in fs docs
---
doc/api/fs.markdown | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown