hholzgra Thu Oct 23 03:10:15 2003 EDT Modified files: /functable genfunclist Log: add #5 Index: functable/genfunclist diff -u functable/genfunclist:1.12 functable/genfunclist:1.13 --- functable/genfunclist:1.12 Fri Jul 19 19:50:36 2002 +++ functable/genfunclist Thu Oct 23 03:10:15 2003 @@ -5,7 +5,7 @@ # for the releases we do not replace informations # already available -for version in $versions php_3_cvs php_4_cvs +for version in $versions php_3_cvs php_4_cvs php_5_cvs do echo -n "parsing version $version ... " @@ -27,7 +27,7 @@ rm -f tmp.txt ; touch tmp.txt for file in `find $version -name "*.[c]" -print -o -name "*.ec" -print | xargs egrep -li function_entry| sed -e"s/\.\///g"` do - file2=`echo $file | sed -e"s|^php_3[^/]*|php3|g" | sed -e"s|^php_4[^/]*|php4|g"` + file2=`echo $file | sed -e"s|^php_3[^/]*|php3|g" | sed -e"s|^php_4[^/]*|php4|g" | sed -e"s|^php_5[^/]*|php5|g"` awk -f ../funcparse.awk < $file | sed -e"s/ *//g" | sed -e"s/ //g" | sed -e"s|$|,'$file2');|g" >> tmp.txt done @@ -52,8 +52,10 @@ mysql -uphpdoc -pphpdoc phpdoc <<EOF update funclist set versionid=399 where version='php_3_cvs'; update funclist set versionid=499 where version='php_4_cvs'; + update funclist set versionid=599 where version='php_5_cvs'; update funcimp set versionid=399 where version='php_3_cvs'; update funcimp set versionid=499 where version='php_4_cvs'; + update funcimp set versionid=599 where version='php_5_cvs'; delete from funclist where function like "\t%"; delete from funclist where function like ""; delete from funclist where alias_for='warn_not_available';
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php