On 9/16/07, Edward Z. Yang <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hannes Magnusson wrote: > > The default make target is the html-dsssl build... We haven't used > > that format for quite some time now. > > If you could post the output of `make test test_xml` however, that would > > help. > > Mmm, we should probably change that then, right?
I guess... :) > Here's what I got now. It looks like some path munging went wrong, I'll > take a look a file-entities.php and see what I can do. > > SP_ENCODING=XML SP_CHARSET_FIXED=YES /usr/bin/onsgmls -i lang-en -D . -s > phpbook/phpbook-xml/phpdocxml.dcl manual.xml > /usr/bin/onsgmls:manual.xml:60:1:E: cannot find > "c:/php/phpdoc/en/bookinfo.xml"; tried Ooops. Please try the attached patch :] -Hannes
Index: scripts/file-entities.php.in =================================================================== RCS file: /repository/phpdoc/scripts/file-entities.php.in,v retrieving revision 1.47 diff -u -p -r1.47 file-entities.php.in --- scripts/file-entities.php.in 12 Sep 2007 13:37:55 -0000 1.47 +++ scripts/file-entities.php.in 16 Sep 2007 21:44:14 -0000 @@ -395,7 +395,7 @@ function file2jade($path) { if ($GLOBALS['not_windows']) return realpath($path); - if ((bool)@WINJADE@ || stripos(PHP_OS, "cygwin") === false) { + if ((bool)@WINJADE@ || stripos(php_uname(), "cygwin") === false) { return strip_cygdrive($path); } else { return preg_replace('@^([a-zA-Z]):/@S', '/cygdrive/$1/', $path);