Skip to content

Conversation

@keith-packard
Copy link
Contributor

@keith-packard keith-packard commented Jan 7, 2023

glibc and newlib print "(nil)" for NULL pointers while picolibc just prints "0". Allow either by replacing the exact "(nil)" match with ".*" instead

Note that both C and POSIX specs place no specific requirements on how pointer values are represented, so this is not a question of standards compliance.

Signed-off-by: Keith Packard [email protected]

glibc and newlib print "(nil)" for NULL pointers while picolibc just prints
"0". Allow either by replacing the exact "(nil)" match with ".*" instead

Signed-off-by: Keith Packard <[email protected]>
@stephanosio stephanosio requested review from galak and yperess January 26, 2023 16:47
@laurenmurphyx64 laurenmurphyx64 merged commit bf384bf into zephyrproject-rtos:main Jan 26, 2023
@keith-packard keith-packard deleted the picolibc-percent-p branch January 26, 2023 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants