On Thu, 24 Sep 2026 06:40:21 GMT, Matthias Baesken <[email protected]> wrote:

>> But you need `strerror_r` for thread safety. That said we have quite a few 
>> places in hotspot where we just report the numeric value so this is not an 
>> essential change.
>
>> But you need `strerror_r` for thread safety. That said we have quite a few 
>> places in hotspot where we just report the numeric value so this is not an 
>> essential change.
> 
> Seems we still use strerror and not strerror_r quite a lot outside hotspot
> https://github.com/search?q=repo%3Aopenjdk%2Fjdk++%22+strerror%28%22&type=code
> 
> Do you think this is really 'dangerous' ? I remember there were some thread 
> safety issues, but not sure how 'bad' they are.
> So I better stay for now with the error code.

Low probability of getting a secondary error whilst printing the first one.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/32999#discussion_r4091223229

Reply via email to