mbox series

[0/2] tools/nolibc: add support for [v]sscanf()

Message ID 20240731-nolibc-scanf-v1-0-f71bcc4abb9e@weissschuh.net (mailing list archive)
Headers show
Series tools/nolibc: add support for [v]sscanf() | expand

Message

Thomas Weißschuh July 31, 2024, 6:32 p.m. UTC
The implementation is limited and only supports numeric arguments.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (2):
      tools/nolibc: add support for [v]sscanf()
      Revert "selftests: kselftest: Fix build failure with NOLIBC"

 tools/include/nolibc/stdio.h                 | 93 ++++++++++++++++++++++++++++
 tools/testing/selftests/kselftest.h          |  5 --
 tools/testing/selftests/nolibc/nolibc-test.c | 59 ++++++++++++++++++
 3 files changed, 152 insertions(+), 5 deletions(-)
---
base-commit: ae1f550efc11eaf1496c431d9c6e784cb49124c5
change-id: 20240414-nolibc-scanf-f1db6930d0c6

Best regards,

Comments

Shuah Khan July 31, 2024, 10:56 p.m. UTC | #1
On 7/31/24 12:32, Thomas Weißschuh wrote:
> The implementation is limited and only supports numeric arguments.

It would help to add more details on why this is needed especially
in the commit log.

> 
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> ---
> Thomas Weißschuh (2):
>        tools/nolibc: add support for [v]sscanf()
>        Revert "selftests: kselftest: Fix build failure with NOLIBC"
> 
>   tools/include/nolibc/stdio.h                 | 93 ++++++++++++++++++++++++++++
>   tools/testing/selftests/kselftest.h          |  5 --
>   tools/testing/selftests/nolibc/nolibc-test.c | 59 ++++++++++++++++++
>   3 files changed, 152 insertions(+), 5 deletions(-)
> ---
> base-commit: ae1f550efc11eaf1496c431d9c6e784cb49124c5
> change-id: 20240414-nolibc-scanf-f1db6930d0c6
> 
> Best regards,