|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0052 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 0052.
Report 0052 Actions
Problem Report Number 0052 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0052 Raised 1992-11-18 08:00 Updated 2003-03-13 08:00 Published 1992-11-27 08:00 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.3 Test Identification ANSI.os/streamio/setvbuf_X 4 Problem Summary TSD4.052 This test makes assumptions about the underlying implementation of stdio buffering which is not required. The buffers for fully buffered stdio write streams are flushed only when: + fclose, fflush, fs... Problem Text
This test makes assumptions about the underlying
implementation of stdio buffering which is not required.
The buffers for fully buffered stdio write streams are flushed only when:
+ fclose, fflush, fseek, or rewind is called,
+ the stream is freopen'd, or
+ when an attempt to add another byte to the buffer fails because it is full.
This is a case of "when is the buffer flushed?".
When BUFSIZ/2 'c's are written, they are still in the buffer because
there's enough room.
The test must be changed to include an fflush() before checking for an
updated underlying file in those cases where there is no new-line that
will cause a flush due to _IOLBF.Test Output
/tset/ANSI.os/streamio/setvbuf_X/T.setvbuf_X 4 Failed
Test Description:
type has "_IOLBF" set, setvbuf() sets stream to be line buffered on
output, which means that the buffer will be flushed when, a newline is
written, the buffer is full or input is requested.
Test Strategy: {information removed}
Test Information:
buffer buf1 contained wrong character (a) at position 256Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is accepted as a test suite deficiency and a modification has been
supplied in VSX 4.2.4 in an attempt to resolve this.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
A test suite deficiency is granted.
Problem Reporting System Options:
- View Report 0052
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority