<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -65,7 +65,7 @@ class fileCacheHdl extends cacheHdl{
         $realKey = $this-&gt;_getRealKey($key);
         $keyPath = $this-&gt;_path.'/'.$realKey;
         try {
-            $fcontent = @fread(fopen($keyPath, 'r'), filesize($keyPath));
+            $fcontent = @fread(@fopen($keyPath, 'r'), filesize($keyPath));
         } catch (Exception $e) {
             return false;
         }
@@ -84,9 +84,7 @@ class fileCacheHdl extends cacheHdl{
         $content-&gt;ttl = $ttl;
         $content-&gt;value = $value;
         $f = fopen($this-&gt;_path.'/'.$realKey, 'w+');
-        $result = @fwrite($f, serialize($content));
-        fclose($f);
-        return $result;
+        return @fwrite(@fopen($this-&gt;_path.'/'.$realKey, 'w+'), serialize($content));
     }
     function delete($key, $timeout=null) {
         if (!$timeout) {</diff>
      <filename>mihasya_cache.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9db2f36767423e756847622e8ea9e96e1380deee</id>
    </parent>
  </parents>
  <author>
    <name>mihasya</name>
    <email>m@mihasya.com</email>
  </author>
  <url>http://github.com/mihasya/mihasya_libs/commit/0be3ee6aa7a9be30d60091819913a2775d6d6dc2</url>
  <id>0be3ee6aa7a9be30d60091819913a2775d6d6dc2</id>
  <committed-date>2008-12-20T15:48:21-08:00</committed-date>
  <authored-date>2008-12-20T15:48:21-08:00</authored-date>
  <message>more error suppression</message>
  <tree>5bb50815e7c4ec090ad9cf79374de8d5c9376377</tree>
  <committer>
    <name>mihasya</name>
    <email>m@mihasya.com</email>
  </committer>
</commit>
