Bug #53829 [Asn->Csd]: Compiling PHP with large file support will replace function gzopen by gzopen64

From: Date: Wed, 12 Nov 2014 10:24:24 +0000
Subject: Bug #53829 [Asn->Csd]: Compiling PHP with large file support will replace function gzopen by gzopen64
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188562@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53829&edit=1 ID: 53829 Updated by: mbeccati@php.net Reported by: rilatonal at hotmail dot de Summary: Compiling PHP with large file support will replace function gzopen by gzopen64 -Status: Assigned +Status: Closed Type: Bug Package: Zlib related Operating System: Linux PHP Version: 5.3.5 Assigned To: mbeccati Block user comment: N Private report: N New Comment: Automatic comment on behalf of mbeccati Revision: http://git.php.net/?p=php-src.git;a=commit;h=65fee904622160781db05b0a469d67b4414cbd7f Log: Fixed bug #53829 Compiling PHP with large file support will replace function gzopen by gzopen64 Previous Comments: ------------------------------------------------------------------------ [2014-08-20 23:24:03] jj9305 at att dot com It also affects HP-UX version 5.5.11 (a real pain to get to build due to other problems, btw) $ php_5.5.11 -a Interactive shell php > var_dump( extension_loaded( 'zlib' ) ); bool(true) php > $f = gzopen( '/tmp/gf.gz', 'r' ); Fatal error: Call to undefined function gzopen() in php shell code on line 1 ------------------------------------------------------------------------ [2014-07-03 15:42:10] anthon at piwik dot org +1 This appears to be a problem with Ubuntu Trusty32 (zlib 1.2.8) where php appears to now expose gzopen64. (See http://dev.piwik.org/trac/ticket/5407) skettler's patch fixes this by undefining the problematic macros. (The other functions: gzoffset, adler32_combine, and crc32_combine are not used in the extension, ext/zlib/*) ------------------------------------------------------------------------ [2013-03-03 00:25:47] bjori@php.net skettler: Any need for that ifdef? Can't we always use the RAW macro? And what about the other functions he mentioned in this report? ------------------------------------------------------------------------ [2013-02-08 12:26:10] skettler@php.net Added patch "zlib-largefile-function-renaming" that fixes the gzopen, gzseek and gztell PHP function renaming. ------------------------------------------------------------------------ [2013-02-08 12:24:51] skettler@php.net The following patch has been added/updated: Patch Name: zlib-largefile-function-renaming Revision: 1360326291 URL: https://bugs.php.net/patch-display.php?bug=53829&patch=zlib-largefile-function-renaming&revision=1360326291 ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=53829 -- Edit this bug report at https://bugs.php.net/bug.php?id=53829&edit=1

« previous php.bugs (#188562) next »