Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Errno usage is wrong, replace it with textual error codes #2

wants to merge 2 commits into


None yet
1 participant

p commented Dec 17, 2012

On FreeBSD errno for EEXIST is returned as 47.

Fixes the other errno uses also, which changes behavior on affected platforms (when document does not exist, an exception would be thrown instead of null being returned).

See also: joyent/node#2211

This is a more comprehensive edition of #1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment