[darwinbuild-changes] [1025] branches/PR-11042608/darwinup/Depot.cpp

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 13 16:42:51 PDT 2012


Revision: 1025
          http://trac.macosforge.org/projects/darwinbuild/changeset/1025
Author:   mww at apple.com
Date:     2012-03-13 16:42:51 -0700 (Tue, 13 Mar 2012)
Log Message:
-----------
Fix string length mismatch.

Modified Paths:
--------------
    branches/PR-11042608/darwinup/Depot.cpp

Modified: branches/PR-11042608/darwinup/Depot.cpp
===================================================================
--- branches/PR-11042608/darwinup/Depot.cpp	2012-03-13 23:21:18 UTC (rev 1024)
+++ branches/PR-11042608/darwinup/Depot.cpp	2012-03-13 23:42:51 UTC (rev 1025)
@@ -556,7 +556,7 @@
 						this->m_modified_xpc_services = true;
 					}
 
-					if ((strncmp(file->path(), "/System/Library/Sandbox/Profiles", 33) == 0) ||
+					if ((strncmp(file->path(), "/System/Library/Sandbox/Profiles", 32) == 0) ||
 						(has_suffix(file->path(), "framework.sb"))) {
 						IF_DEBUG("[analyze]    profile modification detected\n");
 						this->m_modified_xpc_services = true;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20120313/035a3a2c/attachment.html>


More information about the darwinbuild-changes mailing list