[PATCH] readline: use a simple function to replace printf

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 19 00:15:39 PDT 2016


On Thu, Apr 14, 2016 at 09:46:54PM +0800, Du Huanpeng wrote:
> From: Du Huanpeng <u74147 at gmail.com>
> 
> maybe this patch is not very necessary, but this make we have
> opportunity to use simplified version of printf.
>   printf ("%.*s", n, str);

I see no real value in this patch since we do have a full printf.
Without full printf we likely also do not need readline.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list