|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1149 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 1149.
Report 1149 Actions
Problem Report Number 1149 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0351 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.1 Test Identification CAPIbase/readv 22 Problem Summary PG4U.00120 This was refused because it is a duplicate. Use TSD4U.00175 instead. Problem Text
struct termios ttermios used in freadv22 when tcsetattr() is
called is not initialized by a call to tcgetattr() which results
in the call to tcsetattr() failing EINVAL on our implementation.
Per the standard:
"The effect of tcsetattr() is undefined if the value of the termios
structure pointed to by termios_p was not derived from the result
of a call to gcgetattr() on filedes; an application should modify
only fields and flags defined by this document between the call to
tcgetattr() and tcsetattr(), leaving all other fields and flags
unmodified."Test Output
10|3749 /tset/CAPIbase/freadv/freadv22 03:30:25|TC Start, scenario ref 105-1653
15|3749 1.10 1|TCM Start
400|3749 22 1 03:30:29|IC Start
200|3749 1 03:30:29|TP Start
520|3749 1 570425366 1 1|SPEC1170TESTSUITE CASE 22
520|3749 1 570425366 1 2|A call to ssize_t readv(int fildes, const struct iovec
520|3749 1 570425366 1 3|*iov, int iovcnt) when the function is interrupted by
520|3749 1 570425366 1 4|a signal after it has successfully read some data
520|3749 1 570425366 1 5|shall return the number of bytes read.
520|3749 1 1073741843 1 1|PREP: Read IOV_MAX system configuration
520|3749 1 1073741843 1 2|PREP: Allocate and initialize I/O buffers
520|3749 1 1996488730 1 1|PREP: Open and initialize the terminal files
520|3749 1 1996488730 1 2|ERROR: tcsetattr failed, errno = 121(EINVAL - Invalid argument)
520|3749 1 1224736802 1 1|PREP: Open and initialize the terminal files
520|3749 1 1224736802 1 2|ERROR: tcsetattr failed, errno = 121(EINVAL - Invalid argument)
520|3749 1 1073741843 3 1|CLEANUP: Free iovec buffers
220|3749 1 2 03:30:34|UNRESOLVED
410|3749 22 1 03:30:34|IC End
80|3749 0 03:30:36|TC EndReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
The submitter is correct but a recent ruling regarding this issue
exists. To avoid the confusion duplicate rulings regarding the same
issue might cause we recommend this request be refused and the submitter
use TSD4U.00175 instead.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1149
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority