The following issue has been RESOLVED.
======================================================================
http://austingroupbugs.net/view.php?id=93
======================================================================
Reported By: msbrown
Assigned To: ajosey
======================================================================
Project: 1003.1(2008)/Issue 7
Issue ID: 93
Category: System Interfaces
Type: Error
Severity: Objection
Priority: normal
Status: Resolved
Name: Mark Brown
Organization: IBM
User Reference:
Section: ungetc
Page Number: 2151
Line Number: 67920
Final Accepted Text:
Resolution: Accepted
Fixed in Version:
======================================================================
Date Submitted: 2009-06-29 20:01 UTC
Last Modified: 2009-06-29 20:02 UTC
======================================================================
Summary: 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 Action:
Change
"(fseek(), fsetpos(), or rewind())"
to
"(fseek(), [CX]fseeko(),[/CX] fsetpos(), or rewind())"
Also make the same change on the ungetwc() page (P2152 L67964).
======================================================================
|