Skip to content
Commit 1a830e2a authored by Keith Packard's avatar Keith Packard Committed by Christopher Friedt
Browse files

tests/sprintf: Remove tests with NULL FILE pointer



The C language says that use of a NULL FILE pointer with stdio functions is
undefined behavior. Let's just remove them instead of expecting the minimal
C library to exhibit a specific behavior in this case.

This also avoids problems when not using -ffreestanding as in that case,
the C compiler may generate warnings, or even cause undefined behavior on
its own.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 25b2db74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment