Re: RE: bug #7162 SUN CC 5.0 fails on php 4.0.3

From: Date: Sat, 14 Oct 2000 04:09:50 +0000
Subject: Re: RE: bug #7162 SUN CC 5.0 fails on php 4.0.3
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-34971@lists.php.net to get a copy of this message
did you regenerate your configure script? what version of solaris are you running, I have tested this on 2.6,2.7 and 2.8? ----- Original Message ----- From: "Jani Taskinen" <sniper@iki.fi> To: "Jason Greene" <jason@inetgurus.net> Cc: <php-dev@lists.php.net> Sent: Friday, October 13, 2000 7:05 PM Subject: Re: [PHP-DEV] RE: bug #7162 SUN CC 5.0 fails on php 4.0.3 > > This didn't work for me..it still claims _not_ to have POSIX readdir.. > > --Jani > > > On Fri, 13 Oct 2000, Jason Greene wrote: > > >The problem is with CVS patch 1.103+ on acinclude.m4 > >the readdir test code on solaris does not have a large enough buffer > >I fixed the problem with aclocal.m4. > > > >Here is the patch > > > >Jason > > > >*** aclocal.m4.old Wed Oct 11 14:17:05 2000 > >--- aclocal.m4 Fri Oct 13 10:09:45 2000 > >*************** > >*** 65,71 **** > > > > main() { > > DIR *dir; > >! char entry[sizeof(struct dirent)+257]; > > struct dirent *pentry = (struct dirent *) &entry; > > > > dir = opendir("/"); > >--- 65,71 ---- > > > > main() { > > DIR *dir; > >! char entry[sizeof(struct dirent)+300]; > > struct dirent *pentry = (struct dirent *) &entry; > > > > dir = opendir("/"); > > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#34971) next »