Have you tested this on linux? It was there for some reason,
and while it has no meaning, it definitely worked (for me and
for some other quys too!)
Goba
- Original Message -
From: "André Luis Ferreira da Silva Bacci" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 17, 2003 1:11 AM
Subject: [PHP-DOC] cvs: phpdoc /scripts missing-entities.php.in
> ae Sun Mar 16 19:11:11 2003 EDT
>
> Modified files:
> /phpdoc/scripts missing-entities.php.in
> Log:
> solve, definitively, the problem on ./configure in Windows machines
(2>&1 has no meaning in exec() for PHP win32 binaries)
>
> Index: phpdoc/scripts/missing-entities.php.in
> diff -u phpdoc/scripts/missing-entities.php.in:1.9
phpdoc/scripts/missing-entities.php.in:1.10
> --- phpdoc/scripts/missing-entities.php.in:1.9 Mon Nov 25 07:29:59 2002
> +++ phpdoc/scripts/missing-entities.php.in Sun Mar 16 19:11:11 2003
> @@ -17,9 +17,11 @@
> # | Gabor Hojtsy <[EMAIL PROTECTED]>
|
> #
+--+
> #
> -# $Id: missing-entities.php.in,v 1.9 2002/11/25 12:29:59 hholzgra Exp $
> +# $Id: missing-entities.php.in,v 1.10 2003/03/17 00:11:11 ae Exp $
> */
>
> +set_time_limit(0);
> +
> // Print out info for the viewer and log files
> echo "\ntesting the manual for missing elements...\n";
>
> @@ -31,6 +33,7 @@
> }
>
> $NSGMLS = "@NSGMLS@";
> +$NSGMLS_OUTPUT = "missing-entities.out";
>
> // Support for Windows systems
> if (substr(PHP_OS, 0, 3) == 'WIN') {
> @@ -39,10 +42,8 @@
>
> // Execute a test of the manual
> exec(
> -"@SP_OPTIONS@ $NSGMLS -i [EMAIL PROTECTED]@ -D . " .
> -"-s @SRCDIR@/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml 2>&1",
> -$results,
> -$retcode
> +"@SP_OPTIONS@ $NSGMLS -f $NSGMLS_OUTPUT -i [EMAIL PROTECTED]@ -D . " .
> +"-s @SRCDIR@/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml"
> );
>
> // Try to open files for rewriting
> @@ -62,8 +63,13 @@
> $missing_ids = array();
> $missing_entities = array();
>
> +// Open output file
> +$results = file($NSGMLS_OUTPUT);
> +
> // Try to find missing IDs and entities
> foreach ($results as $line) {
> +
> +trim($line);
>
> // missing entity found
> if (strpos($line, "not defined") !== FALSE) {
>
>
>
> --
> PHP Documentation Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php