From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from m15-112.126.com ([220.181.15.112]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TfhXB-0007Ao-41 for barebox@lists.infradead.org; Tue, 04 Dec 2012 01:42:54 +0000 Date: Tue, 4 Dec 2012 09:42:42 +0800 From: =?utf-8?B?5byg5b+g5bGx?= Message-ID: <20121204014242.GB20812@greatfirst.com> References: <20121130110336.GB7099@greatfirst.com> <20121203095534.GL10369@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20121203095534.GL10369@pengutronix.de> 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: Sascha Hauer Cc: barebox SW4gbWVzc2FnZSA8MjAxMjEyMDMwOTU1MzQuR0wxMDM2OUBwZW5ndXRyb25peC5kZT4gU2FzY2hh IEhhdWVyIHdyb3RlOgo+IE9uIEZyaSwgTm92IDMwLCAyMDEyIGF0IDA3OjAzOjM2UE0gKzA4MDAs IOW8oOW/oOWxsSB3cm90ZToKPiA+IHRoZSBmdW5jdGlvbiB1bmNvbXByZXNzX2ZkX3RvX2J1ZiBo YXMgbm8gcGFyYW1ldGVyIHRvIHJldHVybgo+ID4gdGhlIHVuY29tcHJlc3NlZCBsZW5ndGgsIEhv dyB0byBnZXQgdGhlIHVuY29tcHJlc3NlZCBjb250ZW50Cj4gPiBsZW5ndGg/Cj4KPiBBRkFJSyB0 aGUgdW5jb21wcmVzc2VkIHNpemUgaXMgbm90IGNvbnRhaW5lZCBpbiB0aGUgY29tcHJlc3NlZCBk YXRhCj4gWW91IHdvdWxkIGhhdmUgdG8gdW5jb21wcmVzcyB0byBhIGZpbGUgYW5kIHVzZSB0aGlz IGFmdGV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