OSDN Git Service

BugTrack2/10: dump plugin enables to dump 0-byte files
authorhenoheno <henoheno>
Sun, 27 Mar 2005 12:16:50 +0000 (21:16 +0900)
committerhenoheno <henoheno>
Sun, 27 Mar 2005 12:16:50 +0000 (21:16 +0900)
plugin/dump.inc.php

index c9fdf2c..4a9e719 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// $Id: dump.inc.php,v 1.35 2005/03/02 13:09:21 henoheno Exp $
+// $Id: dump.inc.php,v 1.36 2005/03/27 12:16:50 henoheno Exp $
 //
 // Remote dump / restore plugin
 // Originated as tarfile.inc.php by teanan / Interfair Laboratory 2004.
@@ -438,7 +438,7 @@ class tarlib
 
                        // ¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤ò¼èÆÀ
                        $size = filesize($name);
-                       if ($size == FALSE) {
+                       if ($size === FALSE) {
                                @unlink($this->filename);
                                die_message($name . ' is not found or not readable.');
                        }