Closed holmanb closed 3 years ago
Yeah, I think thats a bug in how I'm handling feof/ferror there. Try this: https://github.com/nhorman/dropwatch/tree/issue36 if you would please, and I'll commit it if the problem is rectified for you.
Thanks!
Thanks for the quick reply! I just tested your changes @nhorman. That works for me and is cleaner than my errno
approach. I'll close my pull request.
copy that, thank you for the quick turn around, I'll merge my change asap
Perhaps this is a non-issue (if so, sorry for the noise), but I wanted to point out that if attempting to look up kernel symbols as a non-privileged user, error messages (which are arguably useless) are interleaved with the output. It looks like we could just add a check to see if
errno
is non-zero before doing that which would lead to cleaner output. I'll submit a pull request in case that approach is acceptable.