Skip to content

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

Open
wants to merge 2 commits into from

1 participant

@p
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: nodejs/node-v0.x-archive#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
Something went wrong with that request. Please try again.