Opened 15 years ago

Closed 15 years ago

#3066 closed defect (fixed)

php/mapscript w/ php 5.3: undefined symbol: ZVAL_DELREF

Reported by: dfuhry Owned by: aboudreault
Priority: normal Milestone: 5.4.2 release
Component: MapScript-PHP Version: svn-trunk (development)
Severity: normal Keywords:
Cc: dmorissette, assefa, jmckenna

Description

The attached patch replaces in mapscript/php3/php_mapscript_util.c, a call to ZVAL_DELREF(pObjToAdd) with a call to zval_ptr_dtor(&pObjToAdd). The former gives an "undefined symbol: ZVAL_DELREF" when linked with php 5.3.

Maybe the call can be replaced with a call to zval_ptr(pObjToAdd) like other calls in that file, I'm not sure.

Attachments (1)

php_zval_ptr_dtor.v1.patch (375 bytes ) - added by dfuhry 15 years ago.

Download all attachments as: .zip

Change History (3)

by dfuhry, 15 years ago

Attachment: php_zval_ptr_dtor.v1.patch added

comment:1 by dmorissette, 15 years ago

Cc: dmorissette assefa jmckenna added
Milestone: 5.4.2 release
Owner: changed from mapserverbugs to aboudreault

Assigned to Alan.

Assefa, Jeff: Same question as for #3065, did you run into this with MS4W 3.0-beta builds which were based on a PHP 5.3 RC?

comment:2 by aboudreault, 15 years ago

Resolution: fixed
Status: newclosed

Fixed and committed in r9153.

Note: See TracTickets for help on using tickets.