| Anonymous | Login | Signup for a new account | 2010-02-09 15:35 UTC |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Type | Date Submitted | Last Update | |||||||
| 0000109 | [1003.1(2008)/Issue 7] System Interfaces | Editorial | Error | 2009-06-30 19:26 | 2009-10-12 05:56 | |||||||
| Reporter | msbrown | View Status | public | |||||||||
| Assigned To | ajosey | |||||||||||
| Priority | normal | Resolution | Accepted As Marked | |||||||||
| Status | Interpretation Required | |||||||||||
| Name | Martin Sebor | |||||||||||
| Organization | ||||||||||||
| User Reference | ||||||||||||
| Section | 2.9.1 | |||||||||||
| Page Number | 507 | |||||||||||
| Line Number | 17490 | |||||||||||
| Interp Status | Approved | |||||||||||
| Final Accepted Text | Note: 0000214 | |||||||||||
| Summary | 0000109: mblen() not thread-safe | |||||||||||
| Description |
_____________________________________________________________________________ EDITORIAL Enhancement Request Number 38 msebor:xxxxxxxxx Bug in XSHd5.1 2.9.1 (rdvk# 4) {mblen() not thread-safe} Wed, 20 May 2009 00:22:48 +0100 (BST) _____________________________________________________________________________ mblen() and mbtowc() are expected to maintain an internal shift state from one call to the next. However, neither function is listed in 2.9.1, Thread-Safety, among functions that are not required to be thread-safe. Thus, the specification effectively requires that each function maintain a thread-local copy of the state. However, at least two recent quality implementations maintain a per-process state instead, and thus are not thread-safe. A discussion on austin-group-l indicates that the named functions are not, in fact, intended to be thread-safe. |
|||||||||||
| Desired Action |
Add mblen() and mbtowc() functions that maintain an internal state to the list of functions that are not required to be thread safe, in 2.9.1, Thread-Safety. |
|||||||||||
| Tags | c99 | |||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-06-30 19:26 | msbrown | New Issue | |
| 2009-06-30 19:26 | msbrown | Status | New => Under Review |
| 2009-06-30 19:26 | msbrown | Assigned To | => ajosey |
| 2009-06-30 19:26 | msbrown | Name | => Mark Brown |
| 2009-06-30 19:26 | msbrown | Organization | => IBM |
| 2009-06-30 19:26 | msbrown | Section | => 2.9.1 |
| 2009-06-30 19:26 | msbrown | Page Number | => 507 |
| 2009-06-30 19:26 | msbrown | Line Number | => 17490 |
| 2009-06-30 19:27 | msbrown | Note Added: 0000142 | |
| 2009-06-30 19:27 | msbrown | Status | Under Review => Interpretation Required |
| 2009-06-30 19:27 | msbrown | Resolution | Open => Accepted As Marked |
| 2009-06-30 19:27 | msbrown | Final Accepted Text | => Note: 0000142 |
| 2009-07-01 16:35 | Don Cragun | Name | Mark Brown => Martin Sebor |
| 2009-07-01 16:35 | Don Cragun | Organization | IBM => |
| 2009-08-06 16:23 | ajosey | Note Added: 0000189 | |
| 2009-08-11 16:41 | Don Cragun | Interp Status | => Pending |
| 2009-08-21 15:57 | geoffclare | Note Added: 0000204 | |
| 2009-08-21 16:23 | nick | Tag Attached: c99 | |
| 2009-09-03 15:35 | geoffclare | Note Added: 0000214 | |
| 2009-09-03 15:36 | geoffclare | Interp Status | Pending => Proposed |
| 2009-09-03 15:36 | geoffclare | Final Accepted Text | Note: 0000142 => Note: 0000214 |
| 2009-10-12 05:56 | ajosey | Interp Status | Proposed => Approved |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |