OSDN Git Service

chmod() and touch() may warn
authorhenoheno <henoheno>
Sun, 26 Sep 2004 12:29:36 +0000 (21:29 +0900)
committerhenoheno <henoheno>
Sun, 26 Sep 2004 12:29:36 +0000 (21:29 +0900)
plugin/dump.inc.php

index 6948604..7439b31 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /////////////////////////////////////////////////
-// $Id: dump.inc.php,v 1.16 2004/09/26 12:24:20 henoheno Exp $
+// $Id: dump.inc.php,v 1.17 2004/09/26 12:29:36 henoheno Exp $
 // Originated as tarfile.inc.php by teanan / Interfair Laboratory 2004.
 
 // [¹¹¿·ÍúÎò]
@@ -659,8 +659,8 @@ class tarlib
                                if ($fpw !== FALSE) {
                                        fwrite($fpw, $buff, $size);
                                        fclose($fpw);
-                                       chmod($name, 0666); // Ç°¤Î¤¿¤á¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÀßÄꤷ¤Æ¤ª¤¯
-                                       touch($name, $mtime); // ºÇ½ª¹¹¿·»þ¹ï¤Î½¤Àµ
+                                       @chmod($name, 0666); // Ç°¤Î¤¿¤á¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÀßÄꤷ¤Æ¤ª¤¯
+                                       @touch($name, $mtime); // ºÇ½ª¹¹¿·»þ¹ï¤Î½¤Àµ
                                        $files[] = $name;
                                }
                        }