diff options
Diffstat (limited to 'www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff')
-rw-r--r-- | www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff b/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff deleted file mode 100644 index f3282fd26c3e..000000000000 --- a/www/phpsysinfo-dev/files/patch-pre5.2.1-segfault.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- includes/xml/filesystems.php.orig -+++ includes/xml/filesystems.php -@@ -85,7 +85,7 @@ - . " <td align=\"" . $textdir['right'] . "\" valign=\"top\"><font size=\"-1\"><b>" . $text['size'] . "</b></font></td>\n </tr>\n"; - for( $i = 1, $max = sizeof( $XPath->getDataParts( "/phpsysinfo/FileSystem" ) ); $i < $max; $i++ ) { - if( $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/MountPointID" ) ) { -- if( ! $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ) || ! stristr( $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ), "bind" ) ) { -+ if( ! $XPath->match( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Options" ) ) { - if( ! in_array( $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Device/Name" ), $arrCounteddevlist ) ) { - $arrSum['size'] += $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Size" ); - $arrSum['used'] += $XPath->getData( "/phpsysinfo/FileSystem/Mount[" . $i . "]/Used" ); |