[darwinbuild-changes] [866] trunk/darwinxref/plugins/diff.c

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 18 14:14:48 PDT 2010


Revision: 866
          http://trac.macosforge.org/projects/darwinbuild/changeset/866
Author:   wsiegrist at apple.com
Date:     2010-08-18 14:14:48 -0700 (Wed, 18 Aug 2010)
Log Message:
-----------
Fix typo that was crashing diff plugin when the 2nd build had a project the first build did not have.

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

Modified: trunk/darwinxref/plugins/diff.c
===================================================================
--- trunk/darwinxref/plugins/diff.c	2010-08-11 00:37:59 UTC (rev 865)
+++ trunk/darwinxref/plugins/diff.c	2010-08-18 21:14:48 UTC (rev 866)
@@ -111,7 +111,7 @@
 
     } else if (res == kCFCompareGreaterThan) {
       // 1 got ahead of 2, which means 1 is missing a project
-      CFStringRef version2 = DBCopyPropString(build2, projectName1, CFSTR("version"));
+      CFStringRef version2 = DBCopyPropString(build2, projectName2, CFSTR("version"));
       cfprintf(stdout, "%@-%@ only in %@\n", projectName2, version2, build2);
       CFRelease(version2);
       ++j;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20100818/35ebc896/attachment.html>


More information about the darwinbuild-changes mailing list