Date: 06/27/00
- Next message: bchaud <email protected>: "[PHP-DEV] PHP 4.0 Bug #5250: if file extension is php3, it does not work"
- Previous message: Kirill Maximov: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links"
- In reply to: Kirill Maximov: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links"
- Next in thread: Kirill Maximov: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links"
- Reply: Kirill Maximov: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You are right. My fix wasn't correct.
I will try and fix it tomorrow before releasing 4.0.1 but as it only
effects thread-safe version under UNIX it's not a big deal.
Thanks,
Andi
At 11:56 PM 6/27/00 +0400, Kirill Maximov wrote:
>On Tue, Jun 27, 2000 at 10:44:28PM +0300, Andi Gutmans wrote:
> > Hmm weird. I tested it thoroughly.
> > Can you please post a very short reproducing case which includes
> > instructions on which symlink to make?
>
> I've used exactly the same configuration as described in my bug report:
>magnat!kir$ ls -lR
>.:
>total 6
>drwxr-xr-x 2 kir staff 512 éÀÎ 21 12:39 a1
>drwxr-xr-x 2 kir staff 512 éÀÎ 21 12:47 a2
>-rw-r--r-- 1 kir staff 17 éÀÎ 21 12:49 test_file.php
>
>./a1:
>total 2
>lrwxrwxrwx 1 kir staff 5 éÀÎ 21 12:39 link -> ../a2
>
>./a2:
>total 2
>-rw-r--r-- 1 kir staff 35 éÀÎ 21 12:49 a.php
>magnat!kir$ cat test_file.php
><?
>echo "Hi";
>?>
>magnat!kir$ cat a2/a.php
><?
>include("../test_file.php");
>?>
>magnat!kir$ lynx magnat:8000/~kir/TEST/a/a1/link/a.php
>
> ^^^ gives an error.
>magnat!kir$ lynx magnat/~kir/TEST/a/a1/link/a.php
>
> ^^^ works fine but uses PHP3.0.17-dev
>
>
> >
> > Andi
> >
> > At 11:37 PM 6/27/00 +0400, Kirill Maximov wrote:
> > >On Wed, Jun 28, 2000 at 06:03:49PM -0000, Bug Database wrote:
> > > > ID: 5167
> > > > Updated by: andi
> > > > Reported By: kir <email protected>
> > > > Status: Closed
> > > > Bug Type: Misbehaving function
> > > > Assigned To:
> > > > Comments:
> > > >
> > > > Thanks for the bug report. I am commiting a fix for this to the
> latest CVS.
> > > > If you could test it that would be great. Edit php.h and make sure
> that
> > > VIRTUAL_DIR is defined (remove the #ifdef ZTS before the VIRTUAL_DIR
> > > definition).
> > >
> > > Unfortunately, if I define VIRTUAL_DIR, the same error arises :(.
> > > If VIRTUAL_DIR remains undefined, everything is fine ...
> > > I did full recompile of PHP4 to test configuration with VIRTUAL_DIR
> > > defined.
> > >
> > > Best regards,
> > > KIR
> > >
> > > >
> > > >
> > > > Full Bug description available at:
> http://bugs.php.net/version4/?id=5167
> > > >
> > >
> > >--
> > >----- ----- ----- ----- ----- ----- ----- -----
> > >Kirill Maximov maximov <email protected>
> > >Astrive, Inc. http://www.astrive.com
> > >
> > >--
> > >PHP Development Mailing List <http://www.php.net/>
> > >To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > >For additional commands, e-mail: php-dev-help <email protected>
> > >To contact the list administrators, e-mail: php-list-admin <email protected>
> >
> > ---
> > Andi Gutmans <andi <email protected>>
> > http://www.zend.com/
>
>--
>----- ----- ----- ----- ----- ----- ----- -----
>Kirill Maximov maximov <email protected>
>Astrive, Inc. http://www.astrive.com
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: bchaud <email protected>: "[PHP-DEV] PHP 4.0 Bug #5250: if file extension is php3, it does not work"
- Previous message: Kirill Maximov: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links"
- In reply to: Kirill Maximov: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links"
- Next in thread: Kirill Maximov: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links"
- Reply: Kirill Maximov: "Re: [PHP-DEV] Re: PHP 4.0 Bug #5167 Updated: include() function works incorrectly with directories - symbolic links"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

