From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TfnBA-0005aY-LR for barebox@lists.infradead.org; Tue, 04 Dec 2012 07:44:33 +0000 Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TfnB9-0002IW-7X for barebox@lists.infradead.org; Tue, 04 Dec 2012 08:44:31 +0100 Received: from sha by dude.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1TfnB9-0003Rd-6L for barebox@lists.infradead.org; Tue, 04 Dec 2012 08:44:31 +0100 Date: Tue, 4 Dec 2012 08:44:31 +0100 From: Sascha Hauer Message-ID: <20121204074431.GV10369@pengutronix.de> References: <20121130110336.GB7099@greatfirst.com> <20121203095534.GL10369@pengutronix.de> <20121204014242.GB20812@greatfirst.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121204014242.GB20812@greatfirst.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Howto known uncompressed length when uncompress_fd_to_buf To: barebox T24gVHVlLCBEZWMgMDQsIDIwMTIgYXQgMDk6NDI6NDJBTSArMDgwMCwg5byg5b+g5bGxIHdyb3Rl Ogo+IEluIG1lc3NhZ2UgPDIwMTIxMjAzMDk1NTM0LkdMMTAzNjlAcGVuZ3V0cm9uaXguZGU+IFNh c2NoYSBIYXVlciB3cm90ZToKPiA+IE9uIEZyaSwgTm92IDMwLCAyMDEyIGF0IDA3OjAzOjM2UE0g KzA4MDAsIOW8oOW/oOWxsSB3cm90ZToKPiA+ID4gdGhlIGZ1bmN0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