View Issue Details

IDProjectCategoryView StatusLast Update
00000931003.1(2008)/Issue 7System Interfacespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionungetc
Page Number2151
Line Number67920
Interp Status
Final Accepted Text
Summary0000093: ungetc fseeko
Description_____________________________________________________________________________
 OBJECTION Enhancement Request Number 23
 gwc:xxxxxxxxxxxxx Defect in XSH ungetc (rdvk# 4)
 [gwc ungetc fseeko] Fri, 16 Jan 2009 10:06:49 +0000
 _____________________________________________________________________________

The description of ungetc() states:

     "A successful intervening call (with the stream pointed to by
     stream) to a file-positioning function (fseek(), fsetpos(), or
     rewind()) shall discard any pushed-back bytes for the stream."

 This text is taken from the C Standard, but in POSIX there is an
 additional file-positioning function, fseeko(), which should also
 be listed. The ungetwc() page has the same problem.
Desired ActionChange

     "(fseek(), fsetpos(), or rewind())"

 to

     "(fseek(), [CX]fseeko(),[/CX] fsetpos(), or rewind())"

 Also make the same change on the ungetwc() page (P2152 L67964).
Tagstc1-2008

Relationships

related to 0000087 Closedajosey 1003.1(2008)/Issue 7 fflush and ungetc 
related to 0000452 Closedajosey 2008-TC1 fflush changes need counterpart unget[w]c changes 

Activities

eblake

2011-05-23 19:46

manager   bugnote:0000791

fflush also discards unget[w]c push-back data.

Issue History

Date Modified Username Field Change
2009-06-29 20:01 msbrown New Issue
2009-06-29 20:01 msbrown Status New => Under Review
2009-06-29 20:01 msbrown Assigned To => ajosey
2009-06-29 20:01 msbrown Name => Mark Brown
2009-06-29 20:01 msbrown Organization => IBM
2009-06-29 20:01 msbrown Section => ungetc
2009-06-29 20:01 msbrown Page Number => 2151
2009-06-29 20:01 msbrown Line Number => 67920
2009-06-29 20:02 msbrown Status Under Review => Resolved
2009-06-29 20:02 msbrown Resolution Open => Accepted
2009-07-01 17:58 Don Cragun Name Mark Brown => Geoff Clare
2009-07-01 17:58 Don Cragun Organization IBM => The Open Group
2009-07-01 17:58 Don Cragun Reporter msbrown => geoffclare
2010-08-27 13:20 ajosey Tag Attached: tc1-2008
2011-05-23 19:45 eblake Relationship added related to 0000452
2011-05-23 19:46 eblake Note Added: 0000791
2011-06-15 14:56 eblake Relationship added related to 0000087
2013-04-16 13:06 ajosey Status Resolved => Closed