View Issue Details

IDProjectCategoryView StatusLast Update
00013751003.1(2016/18)/Issue7+TC2System Interfacespublic2024-06-11 09:08
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted As Marked 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionscanf(), fwscanf()
Page Number950, 1004, 1006
Line Number32272, 34177, 34248, 34263
Interp Status---
Final Accepted TextSee 0001375:0005183
Summary0001375: *scanf() 'm' allocation char v. wchar_t problems
DescriptionVarious parts of the text relating to the 'm' allocation character on the fscanf() and fwscanf() pages do not correctly account for the difference between conversions that use the 'l' modifier and those that don't.

In some cases the text is improved by bug 0001173 but is still affected.
Desired ActionOn page 950 line 32272 section fscanf(), after applying bug 1173 change:
... terminating null character.
to:
... terminating null character or wide character.

On page 1004 line 34177 section fwscanf(), after applying bug 1173 change:
... terminating null wide character.
to:
... terminating null character or wide character.

On page 1006 line 34248,34263 section fwscanf(), change two occurrences of:
wchar_t
to:
char
(This results in 's' and '[' each having one char and one wchar_t, the same as 'c'.)
Tagstc3-2008

Relationships

related to 0001173 Closed scanf("%mc") contradiction 

Activities

nick

2020-12-17 16:36

manager   bugnote:0005183

On page 950 line 32272 section fscanf(), after applying bug 1173 change:...
... terminating null character.

to:
    
... terminating null character (or wide character).

    
On page 1004 line 34177 section fwscanf(), after applying bug 1173 change:
    
... terminating null wide character.

to:
    
... terminating null character (or wide character).

    
On page 1006 line 34248,34263 section fwscanf(), change two occurrences of:
wchar_t

to:
char

Issue History

Date Modified Username Field Change
2020-07-15 14:08 geoffclare New Issue
2020-07-15 14:08 geoffclare Name => Geoff Clare
2020-07-15 14:08 geoffclare Organization => The Open Group
2020-07-15 14:08 geoffclare Section => scanf(), fwscanf()
2020-07-15 14:08 geoffclare Page Number => 950, 1004, 1006
2020-07-15 14:08 geoffclare Line Number => 32272, 34177, 34248, 34263
2020-07-15 14:08 geoffclare Interp Status => ---
2020-07-15 14:09 geoffclare Relationship added related to 0001173
2020-07-15 14:09 geoffclare Desired Action Updated
2020-12-17 16:36 nick Note Added: 0005183
2020-12-17 16:37 nick Final Accepted Text => See 0001375:0005183
2020-12-17 16:37 nick Status New => Resolved
2020-12-17 16:37 nick Resolution Open => Accepted As Marked
2020-12-17 16:38 nick Tag Attached: tc3-2008
2021-01-13 16:03 geoffclare Status Resolved => Applied
2024-06-11 09:08 agadmin Status Applied => Closed