<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -125,12 +125,12 @@ static ClassTree *sharedClassTreeInstance = nil;
 		NSDirectoryEnumerator *dirEnum = [[NSFileManager defaultManager] enumeratorAtPath:path];
 		while (file = [dirEnum nextObject]) {
 			NSArray *components = [file pathComponents];
-			if ([components count] &gt; 2 &amp;&amp; 
-				[[components objectAtIndex:[components count]-2] hasSuffix:@&quot;.framework&quot;] &amp;&amp; 
-				[[components objectAtIndex:[components count]-2] hasPrefix:[components lastObject]] &amp;&amp;
-				[[[components lastObject] pathExtension] isEqualToString: @&quot;&quot;]) {
-				libraryPath = [path stringByAppendingPathComponent:file];
-				dlopen([libraryPath cStringUsingEncoding:NSNEXTSTEPStringEncoding],RTLD_NOW|RTLD_GLOBAL);
+			if ([components count] &gt; 1 &amp;&amp;
+				[[components lastObject] hasSuffix: @&quot;.framework&quot;]) {
+				libraryPath = [[path stringByAppendingPathComponent:file] stringByAppendingPathComponent:[[components lastObject] stringByDeletingPathExtension]];
+				if (!dlopen([libraryPath cStringUsingEncoding:NSNEXTSTEPStringEncoding],RTLD_NOW|RTLD_GLOBAL)) {
+					NSLog(@&quot;dlopen fail:%@&quot;,libraryPath);
+				}
 			}
 		}
 	}</diff>
      <filename>Classes/ClassTree.m</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>82cb0c94959a1c8e686079cdbc09ba5300093c7e</id>
    </parent>
  </parents>
  <author>
    <name>Norio Nomura</name>
    <email>norio.nomura@gmail.com</email>
  </author>
  <url>http://github.com/norio-nomura/iphone-classbrowser/commit/5f3551edb859601d86e4fcf5edd4f1ed6cecf04d</url>
  <id>5f3551edb859601d86e4fcf5edd4f1ed6cecf04d</id>
  <committed-date>2009-10-25T22:38:57-07:00</committed-date>
  <authored-date>2009-10-25T22:38:57-07:00</authored-date>
  <message>fixed OS 3.1 issue. close #2</message>
  <tree>64cea085f646c6600558e2bc0ccc925634746e91</tree>
  <committer>
    <name>Norio Nomura</name>
    <email>norio.nomura@gmail.com</email>
  </committer>
</commit>
