|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0374 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 0374.
Report 0374 Actions
Problem Report Number 0374 Submitter's Classification Minor System Fault State Resolved Resolution Minor System Fault (MSF) Problem Resolution ID MSF.X.0015 Raised 1994-12-01 08:00 Updated 2003-03-13 08:00 Published 1994-12-08 08:00 Expiry Date 1994-12-07 Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.3.2 Test Identification POSIX.os/ioprim/write 2 Linked Problem Reports MSF4.013, (in, old, system) Problem Summary MSF4.015 This problem is investigated and fixed in the next release. Problem Text
This problem is investigated and fixed in the next release.Test Output
************************************************************************
/tset/POSIX.os/ioprim/write/T.write 2 Failed
Test Description:
When nbytes is equal to zero then the file pointer is not moved, zero
is returned and the st_atime, st_ctime and st_mtime fields are not
updated. This happens whether the file is created using creat() or
open() with O_APPEND set.
Posix Ref: Component WRITE Assertion 6.4.2.2-05(A)
Test Strategy:
CREATE new file using creat()
SAVE timestamps using fsavtimes()
VERIFY write(fd, buf, 0) returns zero
VERIFY that the timestamps have not been updated using fchktimes()
VERIFY lseek(fd, 0, SEEK_END) returns zero
CLOSE file descriptor using close()
OPEN file using open() with O_APPEND set
WRITE some data to file
REWIND file using lseek(fd, 0, SEEK_SET)
SAVE timestamps using fsavtimes()
VERIFY write(fd, buf, 0) returns zero
VERIFY that the timestamps have not been updated using fchktimes()
VERIFY lseek(fd, 0, SEEK_CUR) returns zero
CLOSE file descriptor using close()
UNLINK file
Test Information:
write(fd, buf, 0) with O_APPEND set moved the file pointer from 0 to 26
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is known problem in a number of releases which has resulted from a
negative interpretation request by the IEEE. It is recommended that a
temporary waiver is granted since this behaviour has been exhibited by
various systems for a lengthy period of time without adversely affecting
application portability.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Minor System Fault (MSF) Review Conclusion
A Temporary Waiver is granted.
Problem Reporting System Options:
- View Report 0374
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority