rsms/node-fsdocs — pull request #1 by jmanero (2012-06-23 03:18:52+00:00)
Title: Update constructor to support non-Linux systems

`error.errno != 17` fails on BSD systems, which throw code `47` for `EEXIST` instead. Using `error.code` should work cross-platform.