From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.emlix.com ([188.40.240.192]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jZIUw-0005Gs-Ae for barebox@lists.infradead.org; Thu, 14 May 2020 18:22:24 +0000 Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id 098395FEC7 for ; Thu, 14 May 2020 20:22:14 +0200 (CEST) From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Thu, 14 May 2020 20:21:58 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 10/10] fastboot: don't close fd 0 when downloading to ram To: barebox@lists.infradead.org Cc: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= V2hlbiBkb3dubG9hZGluZyB0byBhIGJ1ZmZlciwgZG93bmxvYWRfZmQgaXMgbmV2ZXIgYXNzaWdu ZWQgYSB2YWxpZCBmaWxlCmRlc2NyaXB0b3IuIFdlIHNob3VsZCB0aGVyZWZvcmUgYXZvaWQgY2Fs bGluZyBjbG9zZSBvbiB0aGUgdmFsdWUgZm91bmQKaW4gdGhhdCB2YXJpYWJsZS4KClNpZ25lZC1v ZmYtYnk6IERhbmllbCBHbMO2Y2tuZXIgPGRnQGVtbGl4LmNvbT4KLS0tCiBjb21tb24vZmFzdGJv b3QuYyB8IDMgKystCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9u KC0pCgpkaWZmIC0tZ2l0IGEvY29tbW9uL2Zhc3Rib290LmM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