History log of /src/lib/libc/tests/stdio/sscanf_test.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 602e98dd 08-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

stdio: Fix bug in integer-parsing FSM

If we encounter a zero in the havezero state, we should assume octal,
just like we would if we encountered any other digit below 8.

MFC after: 1 week
PR: 2884

stdio: Fix bug in integer-parsing FSM

If we encounter a zero in the havezero state, we should assume octal,
just like we would if we encountered any other digit below 8.

MFC after: 1 week
PR: 288440
Fixes: d9dc1603d6e4 ("libc: Implement N2630.")
Reviewed by: mandree
Differential Revision: https://reviews.freebsd.org/D51832

show more ...


# 12b1c1e3 07-Sep-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Add test cases for N2680.

This adds test cases for %wN and %wfN to the printf(3) and scanf(3) tests.

While here, fix a few nits in the N2630 test cases.

Reviewed by: imp
Differential Revisio

libc: Add test cases for N2680.

This adds test cases for %wN and %wfN to the printf(3) and scanf(3) tests.

While here, fix a few nits in the N2630 test cases.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D41743

show more ...


# aca3bd16 28-Aug-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Fix fixed-width case in the new integer parser.

Fixes: d9dc1603d6e4
Differential Revision: https://reviews.freebsd.org/D41622


# b9385720 28-Aug-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Add unit tests for N2630 and possible collateral damage.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41512


# 602e98dd 08-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

stdio: Fix bug in integer-parsing FSM

If we encounter a zero in the havezero state, we should assume octal,
just like we would if we encountered any other digit below 8.

MFC after: 1 week
PR: 2884

stdio: Fix bug in integer-parsing FSM

If we encounter a zero in the havezero state, we should assume octal,
just like we would if we encountered any other digit below 8.

MFC after: 1 week
PR: 288440
Fixes: d9dc1603d6e4 ("libc: Implement N2630.")
Reviewed by: mandree
Differential Revision: https://reviews.freebsd.org/D51832

show more ...


# 12b1c1e3 07-Sep-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Add test cases for N2680.

This adds test cases for %wN and %wfN to the printf(3) and scanf(3) tests.

While here, fix a few nits in the N2630 test cases.

Reviewed by: imp
Differential Revisio

libc: Add test cases for N2680.

This adds test cases for %wN and %wfN to the printf(3) and scanf(3) tests.

While here, fix a few nits in the N2630 test cases.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D41743

show more ...


# aca3bd16 28-Aug-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Fix fixed-width case in the new integer parser.

Fixes: d9dc1603d6e4
Differential Revision: https://reviews.freebsd.org/D41622


# b9385720 28-Aug-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Add unit tests for N2630 and possible collateral damage.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41512


# 602e98dd 08-Aug-2025 Dag-Erling Smørgrav <des@FreeBSD.org>

stdio: Fix bug in integer-parsing FSM

If we encounter a zero in the havezero state, we should assume octal,
just like we would if we encountered any other digit below 8.

MFC after: 1 week
PR: 2884

stdio: Fix bug in integer-parsing FSM

If we encounter a zero in the havezero state, we should assume octal,
just like we would if we encountered any other digit below 8.

MFC after: 1 week
PR: 288440
Fixes: d9dc1603d6e4 ("libc: Implement N2630.")
Reviewed by: mandree
Differential Revision: https://reviews.freebsd.org/D51832

show more ...


# 12b1c1e3 07-Sep-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Add test cases for N2680.

This adds test cases for %wN and %wfN to the printf(3) and scanf(3) tests.

While here, fix a few nits in the N2630 test cases.

Reviewed by: imp
Differential Revisio

libc: Add test cases for N2680.

This adds test cases for %wN and %wfN to the printf(3) and scanf(3) tests.

While here, fix a few nits in the N2630 test cases.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D41743

show more ...


# aca3bd16 28-Aug-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Fix fixed-width case in the new integer parser.

Fixes: d9dc1603d6e4
Differential Revision: https://reviews.freebsd.org/D41622


# b9385720 28-Aug-2023 Dag-Erling Smørgrav <des@FreeBSD.org>

libc: Add unit tests for N2630 and possible collateral damage.

Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41512