View Issue Details

IDProjectCategoryView StatusLast Update
00001111003.1(2008)/Issue 7System Interfacespublic2009-07-01 16:47
Reporternick Assigned Toajosey  
PrioritynormalSeverityCommentTypeClarification Requested
Status ClosedResolutionRejected 
NameNick Stoughton
OrganizationUSENIX Association
User Reference
Sectionfmemopen
Page Number866
Line Number28754
Interp Status
Final Accepted Text
Summary0000111: ISO TR 24731-2 alignment
Description_____________________________________________________________________________
 COMMENT Enhancement Request Number 40
 nick:xxxxxxxxxx Defect in XSH fmemopen (rdvk# 1)
 {NMS-24731-2-align} Thu, 4 Jun 2009 02:48:30 +0100 (BST)
 _____________________________________________________________________________

During the process of balloting the C language Technical Report on
 dynamic memory functions (TR 24731-2) a comment was recevied from Canada:

 Because this feature is only useful when the stream is
 opened for reading or updating" says that the feature is
 useful for reading. Given the buffer contents are not
 defined at that point, we need an example where reading
 would be useful (Ex. A bad random number generator
 seed).

 They also pointed out:
 "fmemopen call may fail if the mode argument does not
 include a +" contradicts the reading aspect of the
 Because this feature is only useful when the stream is
 opened for reading or updating" statement given +
 means update.

 They further suggested changing the text:

 Because this feature is only useful when the
 stream is opened for updating"

 The C committee is proposing to accept this change, but want to know if
 this should then be marked as a POSIX extension in some way (just as
 POSIX uses CX shading).
Desired ActionChange
 Because this feature is only useful when the stream is opened
 for reading or updating"

 to

 Because this feature is only useful when
 the stream is opened for updating"
TagsNo tags attached.

Activities

Don Cragun

2009-06-30 22:18

manager   bugnote:0000145

I think it is important to note that the reason this request was rejected
is because the current text in the standard matches the text that was
requested. Therefore, there is no need to make any change.

Issue History

Date Modified Username Field Change
2009-06-30 19:47 msbrown New Issue
2009-06-30 19:47 msbrown Status New => Under Review
2009-06-30 19:47 msbrown Assigned To => ajosey
2009-06-30 19:47 msbrown Name => Mark Brown
2009-06-30 19:47 msbrown Organization => IBM
2009-06-30 19:47 msbrown Section => fmemopen
2009-06-30 19:47 msbrown Page Number => 866
2009-06-30 19:47 msbrown Line Number => 28754
2009-06-30 19:47 msbrown Status Under Review => Closed
2009-06-30 19:47 msbrown Resolution Open => Rejected
2009-06-30 22:18 Don Cragun Note Added: 0000145
2009-07-01 16:47 Don Cragun Name Mark Brown => Nick Stoughton
2009-07-01 16:47 Don Cragun Organization IBM => USENIX Association
2009-07-01 16:47 Don Cragun Reporter msbrown => nick