[PHP-CVS] svn: /php/php-src/branches/PHP_5_2/win32/build/ confutils.js
derick Sat, 25 Jul 2009 15:51:02 + Revision: http://svn.php.net/viewvc?view=revision&revision=286311 Log: - MF53: Added - to the list of "unsafe" characters so that the pecl dir can have the - character in the name. Changed paths: U php/php-src/branches/PHP_5_2/win32/build/confutils.js Modified: php/php-src/branches/PHP_5_2/win32/build/confutils.js === --- php/php-src/branches/PHP_5_2/win32/build/confutils.js 2009-07-25 15:18:19 UTC (rev 286310) +++ php/php-src/branches/PHP_5_2/win32/build/confutils.js 2009-07-25 15:51:02 UTC (rev 286311) @@ -1150,12 +1150,12 @@ * as either a child or a sibling */ if (obj_dir == null) { var build_dir = dir.replace(new RegExp("^.."), ""); - var mangle_dir = build_dir.replace(new RegExp("[/.]", "g"), "_"); + var mangle_dir = build_dir.replace(new RegExp("[/.-]", "g"), "_"); var bd_flags_name = "CFLAGS_BD_" + mangle_dir.toUpperCase(); } else { var build_dir = obj_dir.replace(new RegExp("^.."), ""); - var mangle_dir = build_dir.replace(new RegExp("[/.]", "g"), "_"); + var mangle_dir = build_dir.replace(new RegExp("[/.-]", "g"), "_"); var bd_flags_name = "CFLAGS_BD_" + mangle_dir.toUpperCase(); } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] svn: /php/php-src/branches/PHP_5_2/win32/build/ confutils.js
hi, Thanks for this fix :) Please try to commit in all branches at once (don't forget to merge to 5.3). Cheers, On Sat, Jul 25, 2009 at 5:51 PM, Derick Rethans wrote: > derick Sat, 25 Jul 2009 15:51:02 + > > Revision: http://svn.php.net/viewvc?view=revision&revision=286311 > > Log: > - MF53: Added - to the list of "unsafe" characters so that the pecl dir can > have the - character in the name. > > Changed paths: > U php/php-src/branches/PHP_5_2/win32/build/confutils.js > > Modified: php/php-src/branches/PHP_5_2/win32/build/confutils.js > === > --- php/php-src/branches/PHP_5_2/win32/build/confutils.js 2009-07-25 > 15:18:19 UTC (rev 286310) > +++ php/php-src/branches/PHP_5_2/win32/build/confutils.js 2009-07-25 > 15:51:02 UTC (rev 286311) > @@ -1150,12 +1150,12 @@ > * as either a child or a sibling */ > if (obj_dir == null) { > var build_dir = dir.replace(new RegExp("^.."), ""); > - var mangle_dir = build_dir.replace(new RegExp("[/.]", > "g"), "_"); > + var mangle_dir = build_dir.replace(new RegExp("[/.-]", > "g"), "_"); > var bd_flags_name = "CFLAGS_BD_" + mangle_dir.toUpperCase(); > } > else { > var build_dir = obj_dir.replace(new RegExp("^.."), ""); > - var mangle_dir = build_dir.replace(new RegExp("[/.]", > "g"), "_"); > + var mangle_dir = build_dir.replace(new RegExp("[/.-]", > "g"), "_"); > var bd_flags_name = "CFLAGS_BD_" + mangle_dir.toUpperCase(); > } > > > > -- > PHP CVS Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-CVS] svn: /php/php-src/branches/PHP_5_2/win32/build/ confutils.js
On Sat, 25 Jul 2009, Pierre Joye wrote: > Thanks for this fix :) > > Please try to commit in all branches at once (don't forget to merge to 5.3). I added it to 5.3 some days ago already. regards, Derick -- http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org twitter: @derickr -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php