Skip to content

Enable compilation on Solaris #188

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

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

Enable compilation on Solaris #188

wants to merge 2 commits into from

Conversation

bjia56
Copy link
Contributor

@bjia56 bjia56 commented Apr 25, 2025

These changes allow Blink to be built with the default configuration on Solaris, tested on a Solaris 11.4 VM. The main addition is to introduce emulation of flock with fcntl, since the former is not available on new Solaris versions.

Additionally, fd_set handling is modified to use heap memory instead of stack memory, since this can exceed the frame size.

bjia56 added 2 commits April 25, 2025 10:31
These changes allow Blink to be built with the default configuration on
Solaris, tested on a Solaris 11.4 VM. The main addition is to introduce
emulation of flock with fcntl, since the former is not available on new
Solaris versions.

Additionally, fd_set handling is modified to use heap memory instead of
stack memory, since this can exceed the frame size.
the lock exits, all its locks are released. This makes it difficult for
us to implement a flock command line replacement simply with fcntl, but
we can instead use O_CREAT and O_EXCL to simulate locking with a file.
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