-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Abort on TrueOS (FreeBSD 12) in stream_engine #2761
Comments
Hi,
Could you please test if that works, and if so, send a pull request? Thanks! |
I have made the change on my system, and will run for a couple of days; then make pull request. |
Great, thanks |
I have over 48hr of run time on my program with this patch, so I sent it as a pull request |
Merged, thank you very much! |
Issue description
I am seeing an error on close:
Environment
Problem code
Appears to be the use of a FreeBSD specific code to ignore that specific error that does not actually get included
Locating the code
The symbol:
__FreeBSD_kernel__
is only defined if sys/param.h is included.Since sys/param.h is not generally included by other source files,
I suggest changing both occurences of
__FreeBSD_kernel__
to__FreeBSD__
would be the simplest option.
Here is a diff: zmq4.diff.txt to change the two files.
The text was updated successfully, but these errors were encountered: