At 01:05 AM 4/25/2001 -0500, J. Jones wrote:
>On Wed, Apr 25, 2001 at 08:56:47AM +0200, Andi Gutmans wrote:
> > I commited another fix.
> > is_link() should work correctly now. If things have improved and you have
> > problems with lstat() and filetype() (which I think there's a good chance
> > that they are screwed up) let me know.
> > Thanks,
> > Andi
>
>--new output
>:(01:02am ~/php): ./fs-test.php
>is_link passed
>readlink passed: /bin/false
>filetype passed: link
>lstat passed:
>
>Array
>(
> [0] => 770
> [1] => 749
> [2] => 41471
> [3] => 1
> [4] => 0
> [5] => 0
> [6] => 0
> [7] => 10
> [8] => 988178527
> [9] => 988178527
> [10] => 988178527
> [11] => 4096
> [12] => 1
>)
>is_link passed
>readlink passed: /this/file/does/not/exist
>
>Warning: stat failed for /tmp/test-link-func (errno=2 - No such file or
>directory) in ./fs-test.php on line 11
>filetype failed
>
>Warning: stat failed for /tmp/test-link-func (errno=2 - No such file or
>directory) in ./fs-test.php on line 14
>lstat failed
>--end
>
>That's good enough for me.. is_link() and readlink() (what more do I
>really need for links?) both work perfect.
Do those last warnings mean that filetype() and lstat() don't work as I
mentioned?
>One thing.. is <source tree>/main/fopen-wrappers.h renamed to <source
>tree>/main/fopen_wrappers.h in CVS, or is that a typo? ;)
Renamed :)
Andi
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]