joyent/node — pull request #2492 by bnoordhuis (2012-01-08 23:00:39+00:00)
Title: Rename errno, DRY errnoException()

1. Rename `errno` to `__errno` to avoid clashing with user code. Maybe we should move it into the process object.

2. Move `errnoException()` into util.

Passes all tests. Patches are against v0.6.

Review / thoughts, please.