Index: boost.api.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.api.inc,v
retrieving revision 1.3.2.1.2.5
diff -u -F^f -r1.3.2.1.2.5 boost.api.inc
--- boost.api.inc	21 Sep 2007 12:50:08 -0000	1.3.2.1.2.5
+++ boost.api.inc	18 Dec 2007 21:33:38 -0000
@@ -140,14 +140,11 @@ function boost_cache_set($path, $data = 
     }
 
     // If a URL alias is defined, create that as a symlink to the actual file
-    if ($alias != $path && ($symlink = boost_file_path($alias))) {
-      _boost_mkdir_p(dirname($symlink));
-      if (!is_link($symlink) || realpath(readlink($symlink)) != realpath($filename)) {
-        if (file_exists($symlink)) {
-          @unlink($symlink);
-        }
-        if (!_boost_symlink($filename, $symlink)) {
-          watchdog('boost', t('Unable to create symlink: %link to %target', array('%link' => $symlink, '%target' => $filename)), WATCHDOG_WARNING);
+    if ($alias != $path && ($filename = boost_file_path($alias))) {
+      _boost_mkdir_p(dirname($filename));
+      if (!file_exists($filename) || boost_file_is_expired($filename)) {
+        if (file_put_contents($filename, $data) === FALSE) {
+          watchdog('boost', t('Unable to write copy of %path: %file', array('%file' => $filename, '%path' => $path)), WATCHDOG_WARNING);
         }
       }
     }
