Re: cvs: php4 /ext/session mod_files.c /ext/standard dir.c
| From: | Sebastian Bergmann | Date: | Fri, 01 Sep 2000 15:43:55 +0000 |
| Subject: | Re: cvs: php4 /ext/session mod_files.c /ext/standard dir.c | ||
| References: | 1 | Groups: | php.cvs php.dev |
| Request: | Send a blank email to php-cvs+get-1489@lists.php.net to get a copy of this message | ||
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@phpOpenTracker.de */ ?>