Mercury Bugs - mercury
View Issue Details
0000340mercuryBugpublic2014-06-23 16:172014-06-25 17:36
Reporterwangp 
Assigned Towangp 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000340: strerror not thread-safe
Descriptionio.m uses strerror in a couple of cases as if it is thread-safe when it is not, and probably there are other cases in the runtime. An alternative is strerror_r, or strerror_s on Windows. I think we should create a wrapper MR_strerror around both, and forget about trying to lock around uses of strerror().
TagsNo tags attached.
Attached Files

Notes
(0000703)
juliensf   
2014-06-23 16:22   
Agreed.

Issue History
2014-06-23 16:17wangpNew Issue
2014-06-23 16:22juliensfNote Added: 0000703
2014-06-25 17:36wangpStatusnew => resolved
2014-06-25 17:36wangpResolutionopen => fixed
2014-06-25 17:36wangpAssigned To => wangp