On 09/02/2014 15:45, Warren Young wrote:
Results:
/bin/cppcheck.exe
This intrigued me. cppcheck is a static analyser, so what's it doing
with getpwent()? I had a nosy in the source code, and it appears that
cppcheck has a rule checking for POSIX calls that are not re-entrant. If
a call to getpwent() is found in your source code, cppcheck will
recommend that you replace this with getpwent_r().
As far as I can tell, cppcheck doesn't actually call getpwent() at all;
this is a false positive turned up by strings(1).
Dave.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple