]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_utilities/lib/coderepository.h
Security-58286.260.20.tar.gz
[apple/security.git] / OSX / libsecurity_utilities / lib / coderepository.h
index 400dcf73472798c93620b868f931b7faa3b5a3e8..fb4053243ebb547ca2956637d2ce7589a1016994 100644 (file)
@@ -89,18 +89,18 @@ void CodeRepository<Code>::update()
                if (CFRef<CFArrayRef> bundles = CFBundleCreateBundlesFromDirectory(NULL,
                                CFTempURL(*it, true), mSuffix.empty() ? NULL : CFStringRef(CFTempString(mSuffix)))) {
                        CFIndex count = CFArrayGetCount(bundles);
                if (CFRef<CFArrayRef> bundles = CFBundleCreateBundlesFromDirectory(NULL,
                                CFTempURL(*it, true), mSuffix.empty() ? NULL : CFStringRef(CFTempString(mSuffix)))) {
                        CFIndex count = CFArrayGetCount(bundles);
-                       secdebug("coderep", "%p directory %s has %ld entries", this, it->c_str(), count);
+                       secinfo("coderep", "%p directory %s has %ld entries", this, it->c_str(), count);
                        for (CFIndex n = 0; n < count; n++)
                                try {
                                        result.push_back(new Code((CFBundleRef)CFArrayGetValueAtIndex(bundles, n)));
                                } catch (...) {
                        for (CFIndex n = 0; n < count; n++)
                                try {
                                        result.push_back(new Code((CFBundleRef)CFArrayGetValueAtIndex(bundles, n)));
                                } catch (...) {
-                                       secdebug("coderep", "%p exception creating %s (skipped)",
+                                       secinfo("coderep", "%p exception creating %s (skipped)",
                                                this, cfString(CFBundleRef(CFArrayGetValueAtIndex(bundles, n))).c_str());
                                }
                } else
                                                this, cfString(CFBundleRef(CFArrayGetValueAtIndex(bundles, n))).c_str());
                                }
                } else
-                       secdebug("coderep", "directory %s bundle read failed", it->c_str());
+                       secinfo("coderep", "directory %s bundle read failed", it->c_str());
        }
        }
-       secdebug("coderep", "%p total of %ld items in list", this, result.size());
+       secinfo("coderep", "%p total of %ld items in list", this, result.size());
        this->swap(result);
 }
 
        this->swap(result);
 }