For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > September 2005 > cvs: phpdoc /scripts missing-entities.php.in









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /scripts missing-entities.php.in
Nuno Lopes

2005-09-24, 6:56 pm

nlopess Sat Sep 24 19:26:49 2005 EDT

Modified files:
/phpdoc/scripts missing-entities.php.in
Log:
fix cygwin testing

http://cvs.php.net/diff.php/phpdoc/...22&r2=1.23&ty=u
Index: phpdoc/scripts/missing-entities.php.in
diff -u phpdoc/scripts/missing-entities.php.in:1.22 phpdoc/scripts/missing-entities.php.in:1.23
--- phpdoc/scripts/missing-entities.php.in:1.22 Thu Sep 22 10:48:36 2005
+++ phpdoc/scripts/missing-entities.php.in Sat Sep 24 19:26:48 2005
@@ -17,7 +17,7 @@
| Gabor Hojtsy <goba@php.net> |
+----------------------------------------------------------------------+

- $Id: missing-entities.php.in,v 1.22 2005/09/22 14:48:36 techtonik Exp $
+ $Id: missing-entities.php.in,v 1.23 2005/09/24 23:26:48 nlopess Exp $
*/

set_time_limit(0);
@@ -45,9 +45,10 @@
&& (strpos(php_uname(), 'CYGWIN') === false)
&& (strncmp($NSGMLS, "/usr/bin/", 9) === 0))
{
- $cygbin = exec("cygpath -d /usr/bin/");
- $NSGMLS = preg_replace("!^/usr/bin/!", $cygbin, $NSGMLS);
+ $cygbin = trim(`cygpath -d /usr/bin/`);
+ $NSGMLS = preg_replace('!^/usr/bin/!', $cygbin, $NSGMLS) . '.exe';
}
+
// '..' components are not allowed in exec path to executable
$NSGMLS = realpath($NSGMLS);

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com