Revision
307
Author
kevin
Date
2006-10-04 02:02:31 -0700 (Wed, 04 Oct 2006)

Log Message

- delete crufty symbols before crufty objects

Modified Paths

Diff

Modified: trunk/darwinxref/plugins/register.c (306 => 307)


--- trunk/darwinxref/plugins/register.c	2005-11-30 01:48:17 UTC (rev 306)
+++ trunk/darwinxref/plugins/register.c	2006-10-04 09:02:31 UTC (rev 307)
@@ -607,6 +607,7 @@
 static int register_libraries(int fd, const char* build, const char* project, const char* filename, int* isMachO) {
 	int res;
 	
+	SQL("DELETE FROM mach_o_symbols WHERE mach_o_object IN (SELECT serial FROM mach_o_objects WHERE build=%Q AND project=%Q AND path=%Q)", build, project, filename);
 	SQL("DELETE FROM mach_o_objects WHERE build=%Q AND project=%Q AND path=%Q;", build, project, filename);
 	
 	uint32_t magic;