Skip to content

Instantly share code, notes, and snippets.

View piscisaureus's full-sized avatar
🦕

Bert Belder piscisaureus

🦕
View GitHub Profile
bert@piscisaureus-mint ~ $ echo "bla bla bla" > file
bert@piscisaureus-mint ~ $ ln -s file symlink
bert@piscisaureus-mint ~ $ chmod 007 symlink
bert@piscisaureus-mint ~ $ node -p -e "require('fs').lstatSync('symlink')"
{ dev: 2049,
ino: 393529,
mode: 41471,
var net = require('net'),
http = require('http');
var brokenServer = net.createServer(function(socket) {
/* Write some broken headers. */
socket.write('SNAFU/0.1 1337 broken response\r\n');
socket.write('Content-Type: fubar\r\n');
socket.write('\r\n');
socket.write('Hello, moon\n');
socket.destroySoon();
=============================================================
[% 0|+ 33|- 0]: udp_dual_stack
`udp_dual_stack` failed: timeout
Output from process `udp_dual_stack`:
Assertion failed in test\test-udp-ipv6.c on line 142: recv_cb_called == 1
=============================================================
[% 0|+ 105|- 1]: fs_file_nametoolong
`fs_file_nametoolong` failed: timeout
Output from process `fs_file_nametoolong`:
Assertion failed in test\test-fs.c on line 495: uv_last_error(loop).code == UV_E
D:\libuv>vcbuild.bat test
['.\\uv.gyp', '-I', '.\\common.gypi', '--depth=.', '-Dtarget_arch=ia32', '-Dcomponent=static_library', '-Dlibrary=static
_library']
Project files generated.
ares__close_sockets.c
ares__get_hostent.c
ares__read_line.c
ares__timeval.c
ares_cancel.c
ares_data.c
var spawn = require('child_process').spawn;
if (process.argv[2] !== 'child') {
/* Master process. */
var cp = spawn(process.execPath,
[process.argv[1], 'child'],
{ customFds: [ -1, -1, 2 ] });
cp.stdout.pause();
} else {
From 0550f21f060615a72878eb3fe888191bb48d74d1 Mon Sep 17 00:00:00 2001
From: Bert Belder <[email protected]>
Date: Tue, 24 Apr 2012 00:38:24 +0200
Subject: [PATCH 1/1] Put require.paths back
---
doc/node.1 | 3 +-
lib/module.js | 26 +++++---------------
lib/repl.js | 5 +--
test/fixtures/require-path/p1/bar.js | 29 ++++++++++++++++++++++++
#include <assert.h>
#include <stdio.h>
#include <Windows.h>
void __stdcall apc(ULONG_PTR context) {
printf("APC jeuj\n");
}
int main() {
running 'python tools/test.py --mode=debug'
=== debug test-child-process-buffering ===
Path: simple/test-child-process-buffering
stdout: "D:\\node-openssl\r\n"
Assertion failed: !slab_v.IsEmpty(), file src\slab_allocator.cc, line 116
Command: D:\node-openssl\Debug\node.exe D:\node-openssl\test\simple\test-child-process-buffering.js
--- TIMEOUT ---
=== debug test-child-process-customfd-bounded ===
Path: simple/test-child-process-customfd-bounded
Assertion failed: slab_v->IsObject(), file src\slab_allocator.cc, line 117
@piscisaureus
piscisaureus / 0001-Disable-OpenSSL-UI.patch
Created April 11, 2012 16:21
0001-Disable-OpenSSL-UI.patch
From 522bca44a8928853a35f199f220ca0cb8bc1904a Mon Sep 17 00:00:00 2001
From: Bert Belder <[email protected]>
Date: Wed, 11 Apr 2012 18:20:54 +0200
Subject: [PATCH 1/1] Disable OpenSSL UI
---
deps/openssl/openssl.gyp | 2 +
deps/openssl/openssl/crypto/ui/ui_dummy.c | 95 +++++++++++++++++++++++++++
deps/openssl/openssl/crypto/ui/ui_openssl.c | 3 +
3 files changed, 100 insertions(+), 0 deletions(-)
From 1be00a74aa639f520c29d69d5f1cca09039b0a2e Mon Sep 17 00:00:00 2001
From: Bert Belder <[email protected]>
Date: Wed, 11 Apr 2012 02:47:24 +0200
Subject: [PATCH 1/1] openssl: Fix the Windows build
---
deps/openssl/openssl.gyp | 7 +++++--
deps/openssl/openssl/e_os.h | 2 +-
deps/openssl/openssl/ssl/dtls1.h | 2 +-
deps/openssl/openssl/ssl/ssltest.c | 2 +-