View Issue Details

IDProjectCategoryView StatusLast Update
00003041003.1(2008)/Issue 7System Interfacespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityCommentTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionislower
Page Number1156
Line Number38547
Interp Status---
Final Accepted Text
Summary0000304: islower() example has undefined behaviour when char is signed
DescriptionThe example code on the islower() page passes a plain char to
islower(). On implementations where char is signed, if the value
is negative and not equal to EOF the behaviour is undefined.
Desired ActionOn lines 38539 and 38558 change

    char c;

to

    unsigned char c;

On lines 38545 and 38564 change

    (char)

to

    (unsigned char)
Tagstc1-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-08-13 15:43 geoffclare New Issue
2010-08-13 15:43 geoffclare Status New => Under Review
2010-08-13 15:43 geoffclare Assigned To => ajosey
2010-08-13 15:43 geoffclare Name => Geoff Clare
2010-08-13 15:43 geoffclare Organization => The Open Group
2010-08-13 15:43 geoffclare Section => islower
2010-08-13 15:43 geoffclare Page Number => 1156
2010-08-13 15:43 geoffclare Line Number => 38547
2010-08-13 15:43 geoffclare Interp Status => ---
2010-09-09 16:21 msbrown Status Under Review => Resolved
2010-09-09 16:21 msbrown Resolution Open => Accepted
2010-09-09 16:22 msbrown Tag Attached: tc1-2008
2013-04-16 13:06 ajosey Status Resolved => Closed