Anonymous | Login | 2024-04-26 21:42 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 | ||
0000560 | [1003.1(2008)/Issue 7] System Interfaces | Objection | Error | 2012-04-27 14:21 | 2019-06-10 08:55 | ||
Reporter | geoffclare | View Status | public | ||||
Assigned To | ajosey | ||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | Geoff Clare | ||||||
Organization | The Open Group | ||||||
User Reference | |||||||
Section | strlen, wcslen | ||||||
Page Number | 2016, 2209 | ||||||
Line Number | 63891, 69562-69569 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | See Note: 0001225 | ||||||
Summary | 0000560: Use of "string" for strnlen() and wcsnlen() | ||||||
Description |
The DESCRIPTION of strnlen() is careful to refer the argument s as an array so as not to require that s is null terminated. However, there is still a use of "string" in the RETURN VALUE section. The wcsnlen() description does not use "array" at all, but should. |
||||||
Desired Action |
On page 2016 line 63891 section strlen change: The strnlen() function shall return an integer containing the smaller of either the length of the string pointed to by s or maxlen. to: The strnlen() function shall return the number of bytes preceding the first null byte in the array to which s points, if s contains a null byte within the first maxlen bytes; otherwise, it shall return maxlen. On page 2209 line 69562,69565 section wcslen change "string" to "array". On page 2209 line 69568 section wcslen change: The wcsnlen() function shall return an integer containing the smaller of either the length of the wide-character string pointed to by ws or maxlen. to: The wcsnlen() function shall return the number of wide characters preceding the first null wide character code in the array to which ws points, if ws contains a null wide character code within the first maxlen wide characters; otherwise, it shall return maxlen. |
||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2012-04-27 14:21 | geoffclare | New Issue | |
2012-04-27 14:21 | geoffclare | Status | New => Under Review |
2012-04-27 14:21 | geoffclare | Assigned To | => ajosey |
2012-04-27 14:21 | geoffclare | Name | => Geoff Clare |
2012-04-27 14:21 | geoffclare | Organization | => The Open Group |
2012-04-27 14:21 | geoffclare | Section | => strlen, wcslen |
2012-04-27 14:21 | geoffclare | Page Number | => 2016, 2209 |
2012-04-27 14:21 | geoffclare | Line Number | => 63891, 69562-69569 |
2012-04-27 14:21 | geoffclare | Interp Status | => --- |
2012-05-03 16:17 | nick | Final Accepted Text | => See Desired Action. |
2012-05-03 16:17 | nick | Status | Under Review => Resolved |
2012-05-03 16:17 | nick | Resolution | Open => Accepted |
2012-05-03 16:17 | nick | Desired Action Updated | |
2012-05-03 16:17 | nick | Tag Attached: tc2-2008 | |
2012-05-03 16:27 | nick | Note Added: 0001225 | |
2012-05-03 16:27 | nick | Resolution | Accepted => Accepted As Marked |
2012-05-03 16:27 | nick | Final Accepted Text | See Desired Action. => See Note: 0001225 |
2019-06-10 08:55 | agadmin | Status | Resolved => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |