|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1303 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 1303.
Report 1303 Actions
Problem Report Number 1303 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0585 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-06-22 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSU version 5.0.2 Test Identification CAPIbase/lstat 33 Problem Summary TSD4U.00233 May fail due to missing #include of libgen.h. Problem Text
This test fails in the 64-bit environment due to the lack of
inclusion of <libgen.h> which is needed for the declaration of the
basename() function used in the tests. The basename() function
returns a char *, however, because it is not first declared (via
inclusion of the header), the compiler implicitly declares it's
return value as an int. In our 64-bit environment, this in turn
results in the compiler sign-extending the second argument to
execl():
execl(path1, basename(path1), "GET_OFFT_SIZE", (char *)0);
This results in an invalid value being passed to the execl() function
and hence the EFAULT error. The dlstat33.c file needs to be updated
to include <libgen.h>. If this is done, the test executes successfully.
Test Output
TEST CASE: lstat
TEST PURPOSE #33
If the implementation supports files whose size cannot
be represented in a stat structure:
EOVERFLOW in errno and return -1 on a call to int
lstat(const char *path, struct stat *buf) when the
file size in bytes cannot be represented correctly in
the structure pointed to by buf.
PREP: Check for existence of programming environments
PREP: Obtain off_t size in XBS5_ILP32_OFF32 environment
execl failed to execute /export/home/vsu/CAPI/tset/CAPIbase/flstat/t33smloff1, errno = 14(EFAULT - Bad address)
33 UNRESOLVED
Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a Test Suite Deficiency in the test suite version listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 1303
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority