View Issue Details

IDProjectCategoryView StatusLast Update
00006851003.1(2013)/Issue7+TC1System Interfacespublic2019-06-10 08:55
Reportersteffen Assigned To 
PrioritynormalSeverityEditorialTypeClarification Requested
Status ClosedResolutionAccepted As Marked 
NameSteffen Nurpmeso
Organization
User Reference
SectionXSH.3: iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit
Page Number1180, 1182, 1184, 1186, 1190, 1192, 1194, 1196, 1198, 1200, 1202, 1204
Line Number39505-39507, 39556-39558, 39607-39609, 39651-39653, 39791-39793, 39842-39844, 39893-39895, 39944-39946, 39995-39997, 40046-40048, 40097-40099, 40148-40150
Interp Status---
Final Accepted Textsee 0000685:0001597
Summary0000685: Clarify locale source of wide-character function argument
DescriptionThe isw[[:alpha:]]+_l() function series does not clarify that the wide-character argument must be a valid character in the given locale argument.
Desired ActionChange the wording of the mentioned paragraphs from

The wc argument is a wint_t, the value of which the application shall ensure is a wide-character code corresponding to a valid character in the current locale, or equal to the value of the macro WEOF. If the argument has any other value, the behavior is undefined.

to

The wc argument is a wint_t, the value of which the application shall ensure is a wide-character code corresponding to a valid character in the current locale [CX], or in the locale represented by locale[/CX], or equal to the value of the macro WEOF. If the argument has any other value, the behavior is undefined.
Tagstc2-2008

Activities

eblake

2013-05-09 15:41

manager   bugnote:0001597

For each of the twelve affected functions, replace:

is a wide-character code corresponding to a valid character in the current locale

with:

is a wide-character code corresponding to a valid character in the locale used by the function

ajosey

2014-03-03 12:04

manager   bugnote:0002172

While working on TC2 draft 1, the editors noticed that the towlower() and towupper() pages are also affected and they plan to include the same change for those pages.

Issue History

Date Modified Username Field Change
2013-04-30 09:47 steffen New Issue
2013-04-30 09:47 steffen Name => Steffen Nurpmeso
2013-04-30 09:47 steffen Section => XSH.3: iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit
2013-04-30 09:47 steffen Page Number => 1180, 1182, 1184, 1186, 1190, 1192, 1194, 1196, 1198, 1200, 1202, 1204
2013-04-30 09:47 steffen Line Number => 39505-39507, 39556-39558, 39607-39609, 39651-39653, 39791-39793, 39842-39844, 39893-39895, 39944-39946, 39995-39997, 40046-40048, 40097-40099, 40148-40150
2013-05-09 15:41 eblake Note Added: 0001597
2013-05-09 15:41 eblake Interp Status => ---
2013-05-09 15:41 eblake Final Accepted Text => see 0000685:0001597
2013-05-09 15:41 eblake Status New => Resolved
2013-05-09 15:41 eblake Resolution Open => Accepted As Marked
2013-05-09 15:42 eblake Tag Attached: tc2-2008
2014-03-03 12:04 ajosey Note Added: 0002172
2019-06-10 08:55 agadmin Status Resolved => Closed