ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] including GPLv3 autoconf macro in Wireshark

From: Jeff Morriss <jeff.morriss.ws@xxxxxxxxx>
Date: Mon, 21 May 2012 10:24:09 -0400
Jakub Zawadzki wrote:
On Fri, May 18, 2012 at 05:14:40PM -0400, Jeff Morriss wrote:
Jakub Zawadzki wrote:
On Fri, May 18, 2012 at 02:55:06PM -0400, Jeff Morriss wrote:
Or do I have to find another solution?
I propose another solution:
  #ifdef Z_BLOCK
    /* when preset */
  #else
    /* when no */
  #endif
That would obviously be great--but is it reasonably possible? I assumed this was needed for our fancy new zipped-file processing.

AFAIK Z_BLOCK is only needed for "faster" seeking in gzipped files.
If user don't have it, we can fallback to Z_NO_FLUSH

Commited fix in r42714.

Nice, thanks!  I added this rev to the 1.6.8 queue too.