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

Solaris 11/OpenIndiana building patch #35

Closed
wants to merge 1 commit into from

Conversation

troydm
Copy link

@troydm troydm commented Feb 17, 2014

This patch makes core compile on Solaris 11/OpenIndiana, it's not the best way as it detects the platform by using __sun macro definition which is obviously present only on Solaris-based operating systems. However this can further be improved. I hope you'll find it useful and will take steps to implement support for this less popular platform

#define LOCK_NB 4 /* don't block when locking */
#define LOCK_UN 8 /* unlock */

/* flock wrapper for solaris 11/openindiana by Jonathan Perkin */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this original code or from some other source that needs a license?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's taken from this blog post http://www.perkin.org.uk/posts/solaris-portability-flock.html I think we need to contact the author, but i don't think he wouldn't mind including it as he wishes for this code to be included in illumos

@hhugo
Copy link

hhugo commented Feb 11, 2018

I'm closing this one because too many things changed since this PR was created. Feel free to create updated new ones if still necessary.

@hhugo hhugo closed this Feb 11, 2018
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.

3 participants