pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/pear/files
Module Name: pkgsrc
Committed By: taca
Date: Sun Mar 7 13:14:08 UTC 2021
Modified Files:
pkgsrc/lang/pear/files: go-pear.php
Log Message:
lang/pear/files/go-pear.php: use modern PHP syntax
Use modern PHP syntax which cause problem with PHP 8.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/pear/files/go-pear.php
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/pear/files/go-pear.php
diff -u pkgsrc/lang/pear/files/go-pear.php:1.4 pkgsrc/lang/pear/files/go-pear.php:1.5
--- pkgsrc/lang/pear/files/go-pear.php:1.4 Sat Aug 20 14:02:29 2011
+++ pkgsrc/lang/pear/files/go-pear.php Sun Mar 7 13:14:08 2021
@@ -35,7 +35,7 @@
* @author Tias Guns <tias%ulyssis.org@localhost>
*/
-/* $NetBSD: go-pear.php,v 1.4 2011/08/20 14:02:29 taca Exp $ */
+/* $NetBSD: go-pear.php,v 1.5 2021/03/07 13:14:08 taca Exp $ */
$sapi_name = php_sapi_name();
@@ -822,7 +822,7 @@ function which($program, $dont_search_in
if (!strlen($dir)) {
continue;
}
- if ($dir{strlen($dir) - 1} != '\\') {
+ if ($dir[strlen($dir) - 1] != '\\') {
$dir .= '\\';
}
$tmp = $dir . $program;
Home |
Main Index |
Thread Index |
Old Index