A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1858 
====================================================================== 
Reported By:                nabijaczleweli
Assigned To:                
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1858
Category:                   System Interfaces
Type:                       Clarification Requested
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       наб 
Organization:                
User Reference:              
Section:                    open_memstream 
Page Number:                1526 
Line Number:                51164-51176 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2024-09-19 12:25 UTC
Last Modified:              2024-10-03 15:48 UTC
====================================================================== 
Summary:                    open_memstream() doesn't say where the result lies
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001406 clarification of SEEK_END when current ...
====================================================================== 

---------------------------------------------------------------------- 
 (0006901) geoffclare (manager) - 2024-10-03 15:48
 https://austingroupbugs.net/view.php?id=1858#c6901 
---------------------------------------------------------------------- 
Interpretation response
------------------------
The standard clearly states the circumstances under which a null byte is
written to the buffer, and conforming implementations must conform to
this.

Rationale:
-------------
A null byte is appended to the buffer when a write moves the position to a
value larger than the current length. One or more null bytes are also
written after fseek( ) or fseeko( ) is used to set the file position beyond
the current buffer length, if (and only if) the seek extends the buffer. 
There is no allowance in the standard for a null byte to be written at
other times.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------
No change to the standard is needed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2024-09-19 12:25 nabijaczleweli New Issue                                    
2024-09-19 12:25 nabijaczleweli Name                      => наб          
2024-09-19 12:25 nabijaczleweli Section                   => open_memstream  
2024-09-19 12:25 nabijaczleweli Page Number               => 1526            
2024-09-19 12:25 nabijaczleweli Line Number               => 51164-51176     
2024-09-26 13:45 geoffclare     Relationship added       related to 0001406  
2024-09-26 17:09 Florian Weimer Issue Monitored: Florian Weimer                 
  
2024-10-03 15:48 geoffclare     Note Added: 0006901                          
======================================================================


  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to