From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.savoirfairelinux.com ([208.88.110.44]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eFYjg-0005oD-75 for barebox@lists.infradead.org; Fri, 17 Nov 2017 04:58:42 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 526679C2B3F for ; Thu, 16 Nov 2017 23:57:49 -0500 (EST) From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Date: Thu, 16 Nov 2017 23:58:14 -0500 Message-Id: <20171117045814.16164-1-gael.portay@savoirfairelinux.com> 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] readline_simple: use len instead of CONFIG_CBSIZE To: barebox@lists.infradead.org Cc: =?utf-8?q?Ga=C3=ABl=20PORTAY?= SXQgaXMgc2FmaWVyIHRvIHVzZSB0aGUgbGVuZ3RoIGdpdmVuIGluIHBhcmFtZXRlciBpbnN0ZWFk IG9mIHVzaW5nIHRoZQpwcmVwcm9jZXNzb3IgQ09ORklHX0NCU0laRSB2YWx1ZS4KClNpZ25lZC1v ZmYtYnk6IEdhw6tsIFBPUlRBWSA8Z2FlbC5wb3J0YXlAc2F2b2lyZmFpcmVsaW51eC5jb20+Ci0t LQogbGliL3JlYWRsaW5lX3NpbXBsZS5jIHwgMiArLQogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0 aW9uKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvbGliL3JlYWRsaW5lX3NpbXBsZS5j IGIvbGliL3JlYWRsaW5lX3NpbXBsZS5jCmluZGV4IDgwZTA3NWJjNS4uZmNkYmNhNDFhIDEwMDY0 NAotLS0gYS9saWIvcmVhZGxpbmV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