[darwinbuild-changes] [306] trunk/darwinxref/plugins/register.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 02:02:31 PDT 2006


Revision: 306
          http://trac.macosforge.org/projects/darwinbuild/changeset/306
Author:   kevin
Date:     2006-10-04 02:02:30 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
- store the type as a letter, not a number

Modified Paths:
--------------
    trunk/darwinxref/plugins/register.c

Modified: trunk/darwinxref/plugins/register.c
===================================================================
--- trunk/darwinxref/plugins/register.c	2005-11-30 01:22:18 UTC (rev 305)
+++ trunk/darwinxref/plugins/register.c	2006-10-04 09:02:30 UTC (rev 306)
@@ -593,7 +593,7 @@
 			if (symbol.n_un.n_strx != 0) {
 				name = (uint8_t*)(strings + symbol.n_un.n_strx);
 			}
-			res = SQL("INSERT INTO mach_o_symbols VALUES (%lld, %u, %lld, %Q)",
+			res = SQL("INSERT INTO mach_o_symbols VALUES (%lld, \'%c\', %lld, %Q)",
 				serial,
 				type,
 				symbol.n_value,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/4ad31d56/attachment-0001.html


More information about the darwinbuild-changes mailing list