Re: cvs: phpdoc /scripts missing-entities.php.in

From: Date: Mon, 17 Mar 2003 09:49:24 +0000
Subject: Re: cvs: phpdoc /scripts missing-entities.php.in
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352245@lists.php.net to get a copy of this message
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" <andre_ae@yahoo.com> To: <phpdoc@lists.php.net> 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 <goba@php.net> | > # +----------------------------------------------------------------------+ > # > -# $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 lang-@LANG@ -D . " . > - "-s @SRCDIR@/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml 2>&1", > - $results, > - $retcode > + "@SP_OPTIONS@ $NSGMLS -f $NSGMLS_OUTPUT -i lang-@LANG@ -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 >

« previous php.doc (#969352245) next »