Hi,
(B
(BExcuse me for being late here.
(BI figured out the problem though skipif.inc was not my work.
(BI'll remove them soon. I think I should get rid of dl() code from
(Bhtmlentities test cases too.
(B
(BRegards,
(B
(BMoriyoshi
(B
(B
(B
(BMelvyn Sopacua <[EMAIL PROTECTED]> wrote:
(B
(B> At 19:36 28-10-2002, Marcus B$B===
(B> >RCS file: /repository/php4/ext/iconv/tests/skipif.inc,v
(B> >retrieving revision 1.2
(B> >diff -u -r1.2 skipif.inc
(B> >--- skipif.inc 28 Oct 2002 17:15:21 -0000 1.2
(B> >+++ skipif.inc 28 Oct 2002 18:35:25 -0000
(B> >@@ -1,10 +1,11 @@
(B> > <?php
(B> > // This script prints "skip" if condition does not meet.
(B> >
(B> >-if (!extension_loaded("iconv") && ini_get("enable_dl")) {
(B> >- $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
(B> >- @dl("iconv$dlext");
(B> >-}
(B> >+// Do not dl load extension
(B> >+//if (!extension_loaded("iconv") && ini_get("enable_dl")) {
(B> >+// $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
(B> >+// @dl("iconv$dlext");
(B> >+//}
(B> > if (!extension_loaded("iconv")) {
(B> > die("skip iconv extension not available\n");
(B> > }
(B>
(B> Yeah, that's what it should be, when we decide to strike the dl()
(B> for lack of a foolproof alternative.
(B>
(B> The problem is twofold: loading the right filename (so/dll/foo) and
(B> loading the right VERSION, ie the one just built in $source_root/modules
(B> or $source_root/(RELEASE_TS|DEBUG_TS).
(B>
(B> We could of course look for getenv('DL_LOAD_DIR') and getenv('DL_EXT'),
(B> and document this properly, so the user is able to test his shared modules.
(B>
(B> Food time :)
(B>
(B>
(B> Met vriendelijke groeten / With kind regards,
(B>
(B> Webmaster IDG.nl
(B> Melvyn Sopacua
(B>
(B>
(B> --
(B> PHP CVS Mailing List (http://www.php.net/)
(B> To unsubscribe, visit: http://www.php.net/unsub.php
(B>
(B>
(B
(B
(B--
(BPHP CVS Mailing List (http://www.php.net/)
(BTo unsubscribe, visit: http://www.php.net/unsub.php