mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-29 20:05:09 +00:00
ccda990ce5
Since these functions receive the pointer to reent structure, they should set errno in it rather than using thread-local errno. This didn't cause practical issues because console functions in IDF are only called from threads, and in that case 'r' is a pointer to the thread-local structure, so &errno is the same thing as &__errno_r(r). Still, fixing this for consistency.