Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strto functions don't set an errno in case of a failure #543

Closed
PNieck opened this issue Nov 3, 2022 · 2 comments · Fixed by phoenix-rtos/libphoenix#381
Closed

strto functions don't set an errno in case of a failure #543

PNieck opened this issue Nov 3, 2022 · 2 comments · Fixed by phoenix-rtos/libphoenix#381

Comments

@PNieck
Copy link

PNieck commented Nov 3, 2022

These functions:

  • strtod
  • strtof
  • strtoull
  • strtoll
    don't set an errno is case of a failure
@gerard5
Copy link
Contributor

gerard5 commented Feb 21, 2023

Update: in this PR (phoenix-rtos/libphoenix#233) I modifiedstrtoul() and strtol() to set errno.

@Darchiv
Copy link
Member

Darchiv commented Jul 5, 2024

Resolved for strtod() and strtof() in phoenix-rtos/libphoenix#193
Resolved for strtoul() and strtol() in phoenix-rtos/libphoenix#233

Fix still needed for strtoull() and strtoll()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants