[geeklog-cvs] geeklog: Ignore errors from filesize() in case of backups >2 GB ...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Feb 26 15:14:11 EST 2011


changeset 8136:314792d0ee43
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/314792d0ee43
user: Dirk Haun <dirk at haun-online.de>
date: Sat Feb 26 21:06:26 2011 +0100
description:
Ignore errors from filesize() in case of backups >2 GB on some 32 bit systems (cf. bug #0001257)

diffstat:

 public_html/admin/install/migrate.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 17c1e0318b57 -r 314792d0ee43 public_html/admin/install/migrate.php
--- a/public_html/admin/install/migrate.php	Tue May 18 12:30:11 2010 +0100
+++ b/public_html/admin/install/migrate.php	Sat Feb 26 21:06:26 2011 +0100
@@ -360,7 +360,7 @@
                 $backup_file = str_replace($backup_dir, '', $file_path);
 
                 $display .= '<option value="' . $filename .'">' . $backup_file
-                    . ' (' . INST_formatSize(filesize($file_path))
+                    . ' (' . INST_formatSize(@filesize($file_path))
                     . ')</option>' . LB;
 
             }



More information about the geeklog-cvs mailing list