Email List: Xaustin-group-lX
[All Lists]

[1003.1(2008)/Issue 7 0000093]: ungetc fseeko

To: austin-group-l@xxxxxxxxxxxxx
Subject: [1003.1(2008)/Issue 7 0000093]: ungetc fseeko
From: Austin Group Bug Tracker <noreply@xxxxxxxxxxxxx>
Date: Wed, 1 Jul 2009 17:58:36 +0000
Keywords: [1003.1(2008)/Issue 7] System Interfaces
The following issue has been UPDATED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=93 
====================================================================== 
Reported By:                geoffclare
Assigned To:                ajosey
====================================================================== 
Project:                    1003.1(2008)/Issue 7
Issue ID:                   93
Category:                   System Interfaces
Type:                       Error
Severity:                   Objection
Priority:                   normal
Status:                     Resolved
Name:                       Geoff Clare 
Organization:               The Open Group 
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-07-01 17:58 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).
======================================================================

<Prev in Thread] Current Thread [Next in Thread>