-
Notifications
You must be signed in to change notification settings - Fork 140
Correctly test directory on Linux prior to 3.15 #121
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
Conversation
ba2f399
to
374c070
Compare
This fails on my machine (MacBook Pro 13" 2015, Ubuntu 16.10, Linux 4.8.0-22-generic),
|
Perhaps mbpfan needs to test for legacy kernels some other way? Can you share your output from the following command:
I will break out the double-free change into a separate commit. |
39b57b8
to
dac0874
Compare
If anyone running a newer kernel can provide this information it would help me complete this pull request. |
My MacBook is under repair (#staingate). I could try this on my work iMac on Monday. Have Ubuntu 16.04 on a stick, kernel 4.4.
Dr. Daniel Graziotin
https://ineed.coffee/
Sent from a mobile device. Sorry for brevity / typos.
… On 30. Sep 2017, at 20:35, Andrew Gaul ***@***.***> wrote:
If anyone running a newer kernel can provide this information it would help me complete this pull request.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@gaul here is the output (iMac16,2, 4.8.0-22-generic)
mbpfan-master works correctly here (and works on my MacBook Pro) |
@dgraziotin Would you mind testing the updated patch? |
Previously the fopen write mode caused the call to spuriously report newer sensors. Now we check the newer sensors path explicitly. Also plug file descriptor leak and more carefully check return values.
@dgraziotin I hope to upgrade my MacBook soon so I will no longer be able to test this pull request. Could you review it so that I can test any modifications? |
Previously the
fopen
write mode caused the call to spuriously reportnewer sensors. Now we check the newer sensors path explicitly. Also
plug file descriptor leak and more carefully check return values.