Skip to content

Instantly share code, notes, and snippets.

View Murf's full-sized avatar

Brett Murphy Murf

  • Brett Murphy
  • Brisbane, Australia
View GitHub Profile
@Murf
Murf / gist:4192359
Created December 3, 2012 03:06
segfault on libaprustil
/*
============================================================================
Name : x86.c
Author :
Version :
Copyright : Your copyright notice
Description : Hello World in C, Ansi-style
============================================================================
*/
cd %GOPATH%\src\github.com\mattn\go-sqlite3
D:\Working\go\src\github.com\mattn\go-sqlite3>
D:\Working\go\src\github.com\mattn\go-sqlite3>go build -x sqlite3.go
WORK=C:\Users\brettm\AppData\Local\Temp\go-build956533970
mkdir -p $WORK\command-line-arguments\_obj\
mkdir -p $WORK\
cd D:\Working\go\src\github.com\mattn\go-sqlite3
CGO_LDFLAGS="-g" "-O2" "C:\\Go\\pkg\\tool\\windows_amd64\\cgo.exe" -objdir "C:\\Users\\brettm\\AppData\\Local\\Temp\\go-build956533970\\command-line-arguments\\_obj\\" -importpath command-line-arguments -- -I "C:\\Users\\brettm\\AppData\\Local\\Temp\\go-build956533970\\command-line-arguments\\_obj\\" -std=gnu99 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4_UNICODE61 -DSQLITE_TRACE_SIZE_LIMIT=15 sqlite3.go
cd $WORK
gcc -fdebug-prefix-map=a=b -c trivial.c
function g(a, b) {
if (!(this instanceof g)) return new g(a, b);
this._events = {};
var x = this;
this._options = w.extend({
chunkSize: 40960
}, b);
this.streams = {};
"string" === typeof a ? (this._nextId = 0, this._socket = new WebSocket(a)) : (this._nextId = 1,
this._socket = a);