[Issue 286] New: update Phobo's zlib from 1.2.1 to 1.2.3
Sean Kelly
sean at f4.ca
Tue Aug 15 08:44:06 PDT 2006
Anders F Björklund wrote:
> Walter Bright wrote:
>
>>> http://d.puremagic.com/issues/show_bug.cgi?id=286
>>>
>>> Summary: update Phobo's zlib from 1.2.1 to 1.2.3
>>
>> This certainly illustrates why it would have been useless to translate
>> zlib from C to D.
>
> Why does the zlib library have to be in Phobos ?
> (the C code that is, not the D wrapper itself...)
>
> Had it linked to the external library, it would
> have been updated already last year when reported.
The D 'header' module still might need to be updated, so it's not an
automatic process. Fortunately, the zlib header is easy to convert.
The easiest way is to diff the new zlib.h against the old one and make
the changes to zlib.d manually. If I have time, I'll see about doing it.
More information about the Digitalmars-d-bugs
mailing list