El 2010. 01. 23. 20:38, Kostik Belousov escribió: > Wouldn't this cause the locale for error strings to be fixated at the > time of the first strerror/gai_strerror call ? > > Current code, despite it inefficiency, allow dynamic change of locale > that is reflected in strerror() output, I believe. > That's a good point. Imho, it should be cached in another static variable just like in my patch, where I should store it in another member of the struct. -- Gabor Kovesdan FreeBSD Volunteer EMAIL: gabor_at_FreeBSD.org .:|:. gabor_at_kovesdan.org WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.orgReceived on Sat Jan 23 2010 - 18:43:37 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC