Re: Re: Moved virtual cwd stuff to TSRM
| From: | Andi Gutmans | Date: | Thu, 07 Sep 2000 22:46:57 +0000 |
| Subject: | Re: Re: Moved virtual cwd stuff to TSRM | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-32624@lists.php.net to get a copy of this message | ||
At 10:04 PM 9/7/00 +0200, Olivier Cahagne wrote:
Hi Andi,MAXPATHLEN is 1024 on those machines and PHP assumed that it was 256. For some reason, these BSD systems actually seem to overwrite all of the 1024 even when it's not needed. Sounds slow but that's what they seem to do. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/Thanks for giving me access to your machine. The crash bug you had onnp, I leave the login/password available. If you need it later, you're welcome to use it.PHP startup when it tries to open the php.ini file was due to the PHP configuration not detecting the MAXPATHLEN on your system correctly. It caused a stack overrun and therefore was so difficult to debug. I have hopefully fixed this now in the latest CVS but haven't tested the latest version of my patch on your system. Please grab the CVS and let me know if your problem is fixed. Make sure to update TSRM too because the main patch was there.I tried 200009071045 snapshot, and it worked fine on NetBSD 1.3.3 and OpenBSD 2.6. It's definitely fixed. Thanks. Any clue why it only happened with *BSD ?