View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000340 | mercury | Bug | public | 2014-06-23 16:17 | 2014-06-25 17:36 | ||||
Reporter | wangp | ||||||||
Assigned To | wangp | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000340: strerror not thread-safe | ||||||||
Description | io.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(). | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|