[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-commits
Subject:    [oprof-cvs] CVS: oprofile/libpp populate.cpp,1.3,1.4
From:       John Levon <movement () users ! sourceforge ! net>
Date:       2004-07-09 0:12:18
Message-ID: E1Biizy-0005hA-FF () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/oprofile/oprofile/libpp
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21767/libpp

Modified Files:
	populate.cpp 
Log Message:
quash timestamp warnings if displaying profiles from an archive


Index: populate.cpp
===================================================================
RCS file: /cvsroot/oprofile/oprofile/libpp/populate.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -d -r1.3 -r1.4
--- populate.cpp	6 Jul 2004 20:45:59 -0000	1.3
+++ populate.cpp	9 Jul 2004 00:12:15 -0000	1.4
@@ -86,7 +86,8 @@ populate_for_image(string const & archiv
 		}
 	}
 
-	if (found == true && ip.error == image_ok)
+	// we shouldn't check/warn if an archive is used
+	if (archive_path.empty() && found == true && ip.error == image_ok)
 		check_mtime(abfd.get_filename(), header);
 
 	return abfd.has_debug_info();



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Oprofile-commits mailing list
Oprofile-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic