View Issue Details

IDProjectCategoryView StatusLast Update
00005871003.1(2008)/Issue 7System Interfacespublic2019-06-10 08:55
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityObjectionTypeOmission
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionfmemopen
Page Number866
Line Number28765
Interp StatusApproved
Final Accepted TextSee 0000587:0001275
Summary0000587: fmemopen() initial buffer size for null pointer case
DescriptionThe fmemopen() description does not specify the initial buffer
size for the case where an append mode is used and the buf argument
is a null pointer.
Desired ActionChange:

    for modes a and a+ the initial size shall be either the position
    of the first null byte in the buffer or the value of the size
    argument if no null byte is found

to:

    for modes a and a+ the initial size shall be:

    * zero, if buf is a null pointer
    * the position of the first null byte in the buffer, if one is found
    * the value of the size argument, if buf is not a null pointer and no
      null byte is found
Tagstc2-2008

Relationships

related to 0000818 Closed 1003.1(2013)/Issue7+TC1 fmemopen should allow 0-size buffer 

Activities

nick

2012-06-28 16:24

manager   bugnote:0001275

Interpretation response
------------------------

The standard does not speak to this issue, and as such no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor.

Rationale:
-------------
The standard does not speak to the null pointer case, but existing practice handles this case consistently.

Notes to the Editor (not part of this interpretation):
-----------------------------------------------------
See Desired Action

ajosey

2012-06-29 16:12

manager   bugnote:0001281

Last edited: 2012-06-29 16:13

Interpretation proposed 29 June 2012 for final 45 day review

ajosey

2012-08-30 09:12

manager   bugnote:0001344

Interpretation approved 30 Aug 2012

Issue History

Date Modified Username Field Change
2012-06-25 15:39 geoffclare New Issue
2012-06-25 15:39 geoffclare Status New => Under Review
2012-06-25 15:39 geoffclare Assigned To => ajosey
2012-06-25 15:39 geoffclare Name => Geoff Clare
2012-06-25 15:39 geoffclare Organization => The Open Group
2012-06-25 15:39 geoffclare Section => fmemopen
2012-06-25 15:39 geoffclare Page Number => 866
2012-06-25 15:39 geoffclare Line Number => 28765
2012-06-25 15:39 geoffclare Interp Status => ---
2012-06-28 16:24 nick Interp Status --- => Pending
2012-06-28 16:24 nick Note Added: 0001275
2012-06-28 16:24 nick Status Under Review => Interpretation Required
2012-06-28 16:24 nick Resolution Open => Accepted
2012-06-28 16:24 nick Final Accepted Text => See 0000587:0001275
2012-06-28 16:24 nick Tag Attached: tc2-2008
2012-06-29 16:12 ajosey Interp Status Pending => Proposed
2012-06-29 16:12 ajosey Note Added: 0001281
2012-06-29 16:13 ajosey Note Edited: 0001281
2012-08-30 09:12 ajosey Interp Status Proposed => Approved
2012-08-30 09:12 ajosey Note Added: 0001344
2014-01-30 04:06 eblake Relationship added related to 0000818
2019-06-10 08:55 agadmin Status Interpretation Required => Closed