> http://gitorious.org/kdevelop/kdevelop/blobs/master/languages/cpp/includepathresolver.cpp

I agree that the code at line 90:
     explicit FileModificationTimeWrapper( const QStringList& files = 
QStringList(),
          const QString& workingDirectory = QString() ) : m_newTime( time(0) )
does seem to initialize m_newTime, and therefore the code from line 119:
          times[0].tv_sec = m_newTime;
          times[0].tv_usec = 0;
          times[1].tv_sec = m_newTime;
          times[1].tv_usec = 0;
would initialize all of the array times[2], and thus the complaint by memcheck
about times() on line 124 would indicate some problem with memcheck's 
understanding
of utimes(), or a compiler problem with the initialization of m_newTime.

What is the shortest source-code test case that reproduces this problem?

-- 

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to