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

From: Date: Sat, 14 Oct 2000 02:05:56 +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-34969@lists.php.net to get a copy of this message
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("/"); >

« previous php.dev (#34969) next »