Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore compatibility with node 0.10* #93

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jlevon
Copy link

@jlevon jlevon commented May 19, 2020

Use Nan::To() in the necessary places.

Signed-off-by: John Levon [email protected]

@jlevon
Copy link
Author

jlevon commented May 19, 2020

I tested this with "npm test" under node 0.10 as well as more recent node.

I'm aware that this is a VERY old version of node; we're slowly trying to dig out of this hole, and this is one step towards doing so, and as you can see the changes are minimal.

John Levon added 2 commits June 4, 2020 12:28
The code currently assumes there are no additional fields to a 'struct flock',
but this is not necessarily true, for example on Solaris-derived systems.

Signed-off-by: John Levon <[email protected]>
Use Nan::To() in the necessary places.

Signed-off-by: John Levon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant