[PATCH] _scanf.c: Implement 'm' modifier for 'c' and '[' conversions.
Will Newton
will.newton at gmail.com
Thu Nov 1 12:02:23 UTC 2012
On Tue, Oct 16, 2012 at 12:00 PM, Will Newton <will.newton at gmail.com> wrote:
> The current code implements the 'm' modifier only for 's'
> conversions and would cause a segfault if it was used for 'c'
> or '[' conversions. This patch extends the code to cover these
> cases too.
>
> Signed-off-by: Will Newton <will.newton at imgtec.com>
> ---
> libc/stdio/_scanf.c | 51 ++++++++++++++++++++++++++++++++-------------------
> 1 files changed, 32 insertions(+), 19 deletions(-)
Any comments on this patch?
Thanks,
More information about the uClibc
mailing list