Bugs item #2969069, was opened at 2010-03-12 01:44
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=2969069&group_id=3382

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: lcov: Fix for "WARNING: cannot find an entry for" problem

Initial Comment:
match_filename fails when the filenames in @list contain /../ components.  This 
causes warnings like "geninfo: WARNING: cannot find an entry for ... in .gcno 
file, skipping file!" and "geninfo: WARNING: no data found for ...".

Patched match_filename to use solve_relative_path to remove the /../ and /./ 
components of the path before comparing.  It still returns the original 
"entry", otherwise you still get the "no data found for" failures.

May not be the most elegant fix but it works for me.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=2969069&group_id=3382

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to