Eric Blake wrote on 2011-06-07: > > It's because /usr/include/string.h on this system does not always declare > > strerror_r (only if _REENTRANT or _THREAD_SAFE is defined). This fixes it > > (without requiring the 'strerror_r' module). > > This raises an interesting question. The 'error' module should probably > depend on strerror_r, not strerror.
But given that the 'strerror_r' module requires replacement code on many more platforms, including glibc platforms, it feels like overkill. The current situation is fine, IMO. Bruno -- In memoriam Mona Mahmudnizhad <http://en.wikipedia.org/wiki/Mona_Mahmudnizhad>