This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: /home/tyrael/checkouts/php-wiki/dokuwiki/lib/plugins/doodle/syntax.php | |
=================================================================== | |
--- /home/tyrael/checkouts/php-wiki/dokuwiki/lib/plugins/doodle/syntax.php (revision 313127) | |
+++ /home/tyrael/checkouts/php-wiki/dokuwiki/lib/plugins/doodle/syntax.php (working copy) | |
@@ -199,9 +199,14 @@ | |
} | |
//FIXME: count($choices) may be different from number of choices in $doodle data! | |
+ $can_vote = false; | |
+ if (count(array_intersect(array('admin', 'phpcvs', 'voting'), $INFO['userinfo']['grps'])) > 0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: public_html/release-upload.php | |
=================================================================== | |
--- public_html/release-upload.php (revision 313395) | |
+++ public_html/release-upload.php (working copy) | |
@@ -122,8 +122,8 @@ | |
$errors[] = $pacid->getMessage(); | |
break; | |
} | |
- if (!user::isAdmin($_COOKIE['PEAR_USER']) && | |
- !user::maintains($_COOKIE['PEAR_USER'], $pacid, 'lead')) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DIR=`pwd`'/reproduce_pyrus_make' | |
mkdir $DIR; | |
cd $DIR; | |
git clone 'git://github.com/pyrus/Pyrus.git'; | |
git clone 'git://github.com/pyrus/Pyrus_Developer.git'; | |
git clone 'git://github.com/pear2/PEAR2_Autoload.git'; | |
git clone 'git://github.com/Tyrael/suhosin.git'; | |
ln -s "$DIR/Pyrus_Developer/customcommand/commands.xml" "$DIR/Pyrus/data/local-developer-commands.xml" | |
cd 'Pyrus'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @author Brett Bieber | |
* @desc autoload.php | |
*/ | |
// load PEAR2\Autoload first | |
require_once __DIR__ . '/../PEAR2_Autoload/src/PEAR2/Autoload.php'; | |
// Setup the local source dir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: run-tests.php | |
=================================================================== | |
--- run-tests.php (revision 317341) | |
+++ run-tests.php (working copy) | |
@@ -2415,24 +2415,34 @@ | |
function show_redirect_start($tests, $tested, $tested_file) | |
{ | |
- global $html_output, $html_file; | |
+ global $html_output, $html_file, $line_length, $SHOW_ONLY_GROUPS; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tyrael@phpize:~/checkouts/php-src/trunk$ SHOW_ONLY_GROUPS='FAIL' make test; | |
Build complete. | |
Don't forget to run 'make test'. | |
===================================================================== | |
PHP : /home/tyrael/checkouts/php-src/trunk/sapi/cli/php | |
PHP_SAPI : cli | |
PHP_VERSION : 5.5.0-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tyrael@phpize32:~/checkouts/php-src/trunk$ SHOW_ONLY_GROUPS='FAIL' make test; | |
Build complete. | |
Don't forget to run 'make test'. | |
===================================================================== | |
PHP : /home/tyrael/checkouts/php-src/trunk/sapi/cli/php | |
PHP_SAPI : cli | |
PHP_VERSION : 5.5.0-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function is_really_int(&$val) { | |
$num = (int)$val; | |
if ($val==$num) { | |
$val=$num; | |
return true; | |
} | |
return false; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
/* | |
+----------------------------------------------------------------------+ | |
| PHP Version 5, 6 | | |
+----------------------------------------------------------------------+ | |
| Copyright (c) 1997-2010 The PHP Group | | |
+----------------------------------------------------------------------+ | |
| This source file is subject to version 3.01 of the PHP license, | | |
| that is bundled with this package in the file LICENSE, and is | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svn st|grep ^M|awk '{cmd = "svn diff -x --ignore-eol-style "$2;if ((cmd | getline result) <= 0) system("svn revert "$2);}' |