Closed grogcw closed 3 years ago
Hi @grogcw! 👋
Does reverting https://github.com/killdash9/MacClam/commit/5f565a4b8ebc92d7d6cf70ca6b3b80be57533b52 fix this for you? (i.e. replacing flush
with fflush
)?
Hi !
Yes, this solution appears to fix the problem !
Thanks !
That's great that it fixed it for you! 🎉
In the long term though, that means that there's a runtime bug in the code that won't be fixed since the project isn't maintained anymore. Only @killdash9 has write permissions.
Maybe we can reopen the fork https://github.com/killdash9/MacClam/pull/5, and maintain it for general bugfixes.
CC @jgreever. Anyway we can remove the deprecated syntax without having a runtime error?
Yeah, I have some free time this weekend, I can kick out some quick tests and put in a check to see if it's macOS 11 and newer to use flush, and macOS 10 and earlier to use fflush, that way we don't have to worry about removing any working code and cut off anything older than macOS Big Sur.
@harens Let's get you added as a maintainer
@harens Let's get you added as a maintainer
Thank you @killdash9! Greatly appreciated.
Hi !
When I run the script in order to view activity, I have the following message near the end of execution :
As far as I can tell, it may be an error in the awk call of the script, maybe around line 777.
Meanwhile I'm no good around awk to fix it, both script and clamd seems to run fine.
If you have any fix idea, I'm all ears !
Thanks for taking care,
Cheers !