Where is it documented?

The realpath() implementation conforming to 4.4BSD and POSIX.1-2001 requires file existence. With the patch it'll work in the same standard way on all systems.

Thanks. Dmitry.

Hannes Magnusson wrote:
On Fri, Aug 8, 2008 at 17:52, Dmitry Stogov <[EMAIL PROTECTED]> wrote:
Hi,

The attached patch is going to fix the problem.
It implements its own realpath() function, so we won't depend on system
anymore. It also improve realpath cache usage by caching intermediate
results.

I tested it on Linux and Windows only and it seems to work without
problems. It breaks one test related to clearstatcache() function, but
this break is expected.

Could you please test it.
Does it really fix the bug on FreeBSD?

Yup. But it introduces a new one.
realpath() no longer works as documented, now requiring all the
components to exist.

-Hannes

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to