This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| orlando@2wycked:~/projects/node-sqlite$ NODE_PATH=`pwd` node_g tests/test-affected-rows.js | |
| Running "Caching of affectedRows" | |
| . | |
| 1 test; 0 failures; 11 assertions | |
| orlando@2wycked:~/projects/node-sqlite$ NODE_PATH=. node_g tests/test-affected-rows.js | |
| node.js:374 | |
| process.dlopen(filename, this.exports); | |
| ^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sys = require('sys'); | |
| puts = sys.puts; | |
| inspect = sys.inspect; | |
| Shazbot = function (args) { | |
| this.objectHash = {}; | |
| } | |
| Shazbot.prototype.myFunction = function(id) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Explanation: | |
| I was seeing some bizarre behaviour in a program I was developing. After | |
| fruitlessly debugging my code, I distilled the crazyness down to this. | |
| This script is full of WTF. Have a what the code is doing vs what the script | |
| is printing. | |
| Try out on node master@HEAD. Script seems to work up to v0.1.97 of node. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FFI = require("./ffi"); | |
| sys = require("sys"); | |
| var funcs = { | |
| "libzfs_init": ["pointer", []], | |
| "libzfs_fini": ["void", [ 'pointer' ]], | |
| "zfs_dataset_exists": ["byte", [ 'pointer', 'string', 'uint32' ]] | |
| }; | |
| libzfs = new FFI.Library("libzfs", funcs); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function run(cmd, args, callback) { | |
| var child = spawn(command, args); | |
| var stdout = stderr = ""; | |
| child.stdout.setEncoding('utf8'); | |
| child.stdout.addListener("data", function (chunk) { stdout += chunk; }); | |
| child.stderr.setEncoding('utf8'); | |
| child.stderr.addListener("data", function (chunk) { stderr += chunk; }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/wscript b/wscript | |
| index 5ba9853..aad7bfd 100644 | |
| --- a/wscript | |
| +++ b/wscript | |
| @@ -13,8 +13,9 @@ def set_options(opt): | |
| def configure(conf): | |
| conf.check_tool("compiler_cxx") | |
| conf.check_tool("node_addon") | |
| - if not conf.check_cfg(package='sqlite3', args='--cflags --libs', uselib_store='SQLITE3'): | |
| - conf.fatal('Missing sqlite3'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| line 730: unknown command: .str.split. | |
| line 731: unknown command: .map.join. | |
| line 732: unknown command: /usr/local/lib/node/libraries/sys.js:139" | |
| Statistical profiling result from v8.log, (9844 ticks, 633 unaccounted, 0 excluded). | |
| [Unknown]: | |
| ticks total nonlib name | |
| 633 6.4% | |
| [Shared libraries]: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #0 0x0000000105801649 in ?? () | |
| #1 0x0000000105801352 in ?? () | |
| #2 0x000000010586c4f8 in ?? () | |
| #3 0x0000000105801352 in ?? () | |
| #4 0x00000001058830ba in ?? () | |
| #5 0x0000000105801352 in ?? () | |
| #6 0x000000010586ed4f in ?? () | |
| #7 0x000000010586f77f in ?? () | |
| #8 0x0000000105801352 in ?? () | |
| #9 0x0000000105881772 in ?? () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ==1170== Memcheck, a memory error detector. | |
| ==1170== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al. | |
| ==1170== Using LibVEX rev 1884, a library for dynamic binary translation. | |
| ==1170== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. | |
| ==1170== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework. | |
| ==1170== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. | |
| ==1170== For more details, rerun with: -v | |
| ==1170== | |
| --1170-- WARNING: unhandled syscall: 329 | |
| --1170-- You may be able to write your own handler. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $2 = { | |
| next = 0x0, | |
| result = 0, | |
| offs = 0, | |
| size = 0, | |
| ptr1 = 0x0, | |
| ptr2 = 0x0, | |
| nv1 = 0, | |
| nv2 = 0, | |
| type = 0, |