ID:               16905
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: FreeBSD 4.5
 PHP Version:      4.2.0
 New Comment:

Hi,

I've submitted a pr to the FreeBSD php port maintainer, including a
patch.  

The patch can be downloaded from: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/37825

Jason


Previous Comments:
------------------------------------------------------------------------

[2002-05-06 13:35:58] [EMAIL PROTECTED]

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/

fix was merged into 4.2 branch, so it should be included in 4.2.1. (we
were passing a pointer to a mode_t, which is a short on freebsd, and it
was being treated elsewhere as a pointer to a long. this is the fun
sort of bug that usually only shows up on non-debug builds.)

------------------------------------------------------------------------

[2002-05-06 11:37:39] [EMAIL PROTECTED]

Happens in 4.2.1RC1 as well.  When compiled with --enable-debug, works
fine.  When compiled with --disable-debug, it doesn't work

------------------------------------------------------------------------

[2002-05-02 06:04:48] [EMAIL PROTECTED]

Just to further confuse the issue.  If I build the 4.3.0-DEV snaphost
(php4-200205020000) with --enable-debug then it behaves normally.

Jason

------------------------------------------------------------------------

[2002-05-02 04:54:10] [EMAIL PROTECTED]

I've just tried a 4.3.0 snapshot using the same test file as
[EMAIL PROTECTED] posted above.

Operating system is FreeBSD 4.5.

-----------------------------------------------------

php4-200205020000# ./php ~/test.php
X-Powered-By: PHP/4.3.0-dev
Content-type: text/html

<br />
<b>Warning</b>:  mkdir() failed (No such file or directory) in
<b>/disk1/home/jase/bigmailbox/test.php</b> on line <b>3</b><br />
Segmentation fault (core dumped)

------------------------------------------------------------------------

[2002-04-29 16:16:53] [EMAIL PROTECTED]

I can not reproduce this with PHP 4.3.0.
Please try latest CVS snapshot from http://snaps.php.net/


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16905

-- 
Edit this bug report at http://bugs.php.net/?id=16905&edit=1

Reply via email to