Closed
Bug 301646
Opened 19 years ago
Closed 19 years ago
zlib-1.2.3 has been released
Categories
(Core :: Graphics: ImageLib, enhancement)
Core
Graphics: ImageLib
Tracking
()
VERIFIED
FIXED
People
(Reporter: glennrp+bmo, Assigned: glennrp+bmo)
References
()
Details
Attachments
(1 file, 4 obsolete files)
141.95 KB,
patch
|
tor
:
review+
dveditz
:
superreview+
benjamin
:
approval1.8b4+
|
Details | Diff | Splinter Review |
zlib-1.2.3 has been released. We should upgrade.
Assignee | ||
Comment 1•19 years ago
|
||
patch to upgrade modules/zlib to version 1.2.3
Assignee: pavlov → glennrp
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 190090 [details] [diff] [review] upgrade-to-zlib-1.2.3.diff tor: r?
Attachment #190090 -
Flags: review?(tor)
Assignee | ||
Comment 3•19 years ago
|
||
I inadvertently included several files that don't belong in the patch: example.c, minigzip.c, and zconf.in.h. I'll produce a new patch without them.
Assignee | ||
Comment 4•19 years ago
|
||
Patch without example.c, minigzip.c, and zconf.in.h tor: r?
Assignee | ||
Updated•19 years ago
|
Attachment #190090 -
Attachment is obsolete: true
Attachment #190138 -
Flags: review?(tor)
Assignee | ||
Updated•19 years ago
|
Attachment #190090 -
Flags: review?(tor)
There appear to be a dozen or so zlib symbols not prefixed with MOZ_Z_.
Assignee | ||
Comment 6•19 years ago
|
||
Re comment #5: I ran "strings *.so" in modules/zlib/src and got this, after removing the MOZ_Z prefixed symbols and some other junk that was obviously not exported symbols: _DYNAMIC _GLOBAL_OFFSET_TABLE_ _fini __cxa_finalize __deregister_frame_info __register_frame_info _Jv_RegisterClasses memcpy memset malloc strcpy __error fopen fdopen fprintf ftell sprintf fwrite fread __isthreaded ferror fclose vsnprintf fflush fseek fputc strerror strcat Of these, the first seven (and "__isthreaded") don't appear in the zlib source (*.c, *.h) and the rest look to me like things exported by system libraries, not by zlib. What did I miss? GLenn
Your path removes the following chunk from zconf.h, which is needed by mozilla on newer versions of gcc: #ifdef HAVE_VISIBILITY_PRAGMA #define ZEXTERN __attribute__((visibility ("default"))) extern #endif With that the confusion about symbols is gone and that looks fine.
I'm not that familiar with win32 dll creation/linkage, but shouldn't the new functions listed in mozzconf.h be added to zlib.def?
Assignee | ||
Comment 9•19 years ago
|
||
Re: comment #7, shouldn't that snippet go in mozzconf.h rather than zconf.h? It's less likely to get accidentally removed that way.
Assignee | ||
Comment 10•19 years ago
|
||
Re: comment #8, zlib is no longer distributing zlib.def so it should be removed.
Assignee | ||
Comment 11•19 years ago
|
||
Revised patch with HAVE_VISIBILITY_PRAGMA treatment and without zlib.def
Attachment #190138 -
Attachment is obsolete: true
Attachment #190214 -
Flags: review?(tor)
Assignee | ||
Updated•19 years ago
|
Attachment #190138 -
Flags: review?(tor)
Comment 12•19 years ago
|
||
zlib.def is still used by the mozilla build system.
Assignee | ||
Comment 13•19 years ago
|
||
There are in fact *two* instances of zlib.def in subdirectories of the zlib distribution, but they are even older and more decrepit than the one that was removed from the top level.
Assignee | ||
Comment 14•19 years ago
|
||
zlib.def restored and updated with new symbols. Would it be better to call it mozzlib.def? Same goes for zlib.pkg which is also not distributed with zlib.
Assignee | ||
Updated•19 years ago
|
Attachment #190214 -
Attachment is obsolete: true
Attachment #190351 -
Flags: review?(tor)
Assignee | ||
Updated•19 years ago
|
Attachment #190214 -
Flags: review?(tor)
Attachment #190351 -
Flags: review?(tor) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #190351 -
Flags: superreview?(cbiesinger)
Comment 15•19 years ago
|
||
Comment on attachment 190351 [details] [diff] [review] zlib upgrade patch with updated zlib.def sorry... I'm not a super-reviewer
Attachment #190351 -
Flags: superreview?(cbiesinger)
Assignee | ||
Updated•19 years ago
|
Attachment #190351 -
Flags: superreview?(dveditz)
Assignee | ||
Comment 16•19 years ago
|
||
The security patch for bug #300349 has been checked in. That breaks this patch so here is a revised one. The checkin also eliminates the dependency of bug #300349 on this one, so I'll remove the dependency flag.
Attachment #190351 -
Attachment is obsolete: true
Attachment #190647 -
Flags: review?(tor)
Assignee | ||
Updated•19 years ago
|
Attachment #190351 -
Flags: superreview?(dveditz)
Attachment #190647 -
Flags: review?(tor) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #190647 -
Flags: superreview?(dveditz)
Assignee | ||
Comment 17•19 years ago
|
||
dveditz: sr?
Comment 18•19 years ago
|
||
Comment on attachment 190647 [details] [diff] [review] zlib-1.2.3 upgrade patch accounting for bug 300349 checkin sr=dveditz
Attachment #190647 -
Flags: superreview?(dveditz) → superreview+
Attachment #190647 -
Flags: approval1.8b4?
Updated•19 years ago
|
Attachment #190647 -
Flags: approval1.8b4? → approval1.8b4+
Comment 19•19 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•