Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000101

[PHP-DEV] RE: bug #7162 SUN CC 5.0 fails on php 4.0.3 From: Jason Greene (jason <email protected>)
Date: 10/13/00

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 <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>