Fix&improve conversion scripts

This commit is contained in:
Zeev Suraski 1999-08-07 15:31:57 +00:00
parent 0487650536
commit 125300b563
3 changed files with 8 additions and 7 deletions

View File

@ -1464,7 +1464,8 @@ static int php_array_walk(pval **a)
return 0;
}
PHP_FUNCTION(array_walk) {
PHP_FUNCTION(array_walk)
{
pval *array, *old_walk_func_name;
HashTable *target_hash;

View File

@ -1,10 +1,10 @@
# $Id$
/php3_*/ {
/^[ \t]*php3_*/ {
phpcommand=substr($1,6)
phpvalue=tolower($2)
print "<IfModule mod_php3.c>"
print $1 $2
print $0
print "</IfModule>"
print "<IfModule mod_php4.c>"
if (phpvalue=="on") {
@ -17,7 +17,7 @@
print "</IfModule>"
}
! /php3_*/ {
! /^[ \t]*php3_*/ {
print $0
}

View File

@ -1,10 +1,10 @@
# $Id$
/php3_*/ {
/^[ \t]*php3_*/ {
phpcommand=substr($1,6)
phpvalue=tolower($2)
print "<IfModule mod_php3.c>"
print $1 $2
print $0
print "</IfModule>"
print "<IfModule mod_php4.c>"
if (phpvalue=="on") {
@ -17,7 +17,7 @@
print "</IfModule>"
}
! /php3_*/ {
! /^[ \t]*php3_*/ {
print $0
}