[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/session mod_files.c /ext/standard dir.c From: Sebastian Bergmann (sb <email protected>)
Date: 09/01/00

Sascha Schumann wrote:
> Modified files:
> /php4/ext/session mod_files.c
> /php4/ext/standard dir.c
> Log:
> Solaris/x86 insists of having a large buffer for storing the result of
> readdir_r(), otherwise it will segfault.
>
> PR: #6479

  This causes mod_files.c to be not compilable on Win32:

mod_files.c
E:\Programme\Microsoft Visual
Studio\Projekte\PHP\php\ext\session\mod_files.c(154) : error C2065:
'PATH_MAX' : nichtdeklarierter Bezeichner
E:\Programme\Microsoft Visual
Studio\Projekte\PHP\php\ext\session\mod_files.c(154) : error C2057:
Konstanter Ausdruck erwartet
E:\Programme\Microsoft Visual
Studio\Projekte\PHP\php\ext\session\mod_files.c(154) : error C2466:
Reservierung eines Feldes der konstanten Groesse 0 nicht moeglich
E:\Programme\Microsoft Visual
Studio\Projekte\PHP\php\ext\session\mod_files.c(154) : error C2133: 'dentry'
: Unbekannte Groesse

-- 
 <?php $a=explode(" " ,"119 130 128 129 45 110 123 124 129 117 114 127 45 ".
 "125 117 125 45 117 110 112 120 114 127");for($i=0;$i<sizeof($a);$i++)print
 chr($a[$i]-13); /* http://sb.phpOpenTracker.de | sb <email protected> */ ?>

-- 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>