From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 21 16:43:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 385BA16A404 for ; Thu, 21 Feb 2008 16:43:51 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from www.pkgsrc-box.org (www.ostsee-abc.de [62.206.222.50]) by mx1.freebsd.org (Postfix) with ESMTP id ED3D313C44B for ; Thu, 21 Feb 2008 16:43:50 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (www.pkgsrc-box.org [127.0.0.1]) by www.pkgsrc-box.org (Postfix) with ESMTP id 8ED5EE7A3E1 for ; Thu, 21 Feb 2008 16:43:49 +0000 (UTC) Received: by britannica.bec.de (Postfix, from userid 1000) id 2B0E2175D0; Thu, 21 Feb 2008 17:43:07 +0100 (CET) Date: Thu, 21 Feb 2008 17:43:07 +0100 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Message-ID: <20080221164307.GG6746@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <200802211053.16113.wundram@beenic.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200802211053.16113.wundram@beenic.net> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: OT: Stream structures in bzlib and zlib X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2008 16:43:51 -0000 On Thu, Feb 21, 2008 at 10:53:15AM +0100, Heiko Wundram (Beenic) wrote: > Before I go and test whether bzlib modifies the input buffer for temporaries > (by simply passing it data in a RO segment and checking whether I get a > SIGSEGV), is there anyone out there who's hit the same "problem" before and > might shed some more insight whether I'll have to copy the data before > setting it up in a stream structure as input? The buffers are not modified for the compression path. Joerg