mirror of https://github.com/lukechilds/node.git
Browse Source
And process.getgid() too.
Commit ed80638
changed fs.chown() and fs.fchown() to only accept
unsigned integers. Make process.getuid() and process.getgid() follow
suit.
This commit should unbreak npm on OS X - it's hitting the new 'uid must
be an unsigned int' check when installing as e.g. user 'nobody' (which
has an UID of -2 in /etc/passwd or 4294967294 when cast to an uid_t.)
Fixes #5904.
v0.10.15-release
Ben Noordhuis
12 years ago
1 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue