joyent/node — pull request #2226 by TooTallNate (2011-11-30 02:25:14+00:00)
Title: Ensure that the util.inspect function isn't the one being executed.

Fixes #2225.

Also fixes the case with the `sys` module:

``` js
require('util').inspect(require('sys'));
// before:
// '2'
// now:
// The "sys" module is now called "util". It should have a similar interface.
// '{ print: [Function],\n puts: [Function],\n debug: [Function],\n error: [Function],\n inspect: [Function: inspect],\n p: [Function],\n log: [Function],\n exec: [Function],\n pump: [Function],\n inherits: [Function] }'
```