|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0407 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 0407.
Report 0407 Actions
Problem Report Number 0407 Submitter's Classification Specification problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0026 Raised 1993-08-03 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries (XPG4) Certification Program The Open Brand certification program Test Suite VSX4 version 4.2.4 Test Identification POSIX.os/ioprim/write 2 Linked Problem Reports PG3.665, (in, old, system) Problem Summary PG4R.026 Problem Text 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
The applicant should refer to temporary interpretation TIN4.005.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
Please refer to TIN4.005.
Problem Reporting System Options:
- View Report 0407
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority