|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 0519 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 0519.
Report 0519 Actions
Problem Report Number 0519 Submitter's Classification Minor System Fault State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0138 Raised 1997-04-25 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.3.6 Test Identification POSIX.hdr/misc/dirent_X 2,3 Problem Summary PG4R.139 SGI would like the prototypes for seekdir() and telldir() to be changed as follows in order to accomodate both 32-bit and 64-bit machines: From ==== void seekdir(DIR *, long int); long int telldir(DIR... Problem Text
SGI would like the prototypes for seekdir() and telldir() to be changed as
follows in order to accomodate both 32-bit and 64-bit machines:
From
====
void seekdir(DIR *, long int);
long int telldir(DIR *);
To:
===
void seekdir(DIR *, off_t);
off_t telldir(DIR *);
where: off_t is typedef'ed to be either a 32-bit or 64-bit quantity.
But...since we've been turned down on this request, (PG4R.137), we'd like
to apply for a Minor System Fault. Given the current XPG definition
for a LP64 compilation mode (the direction being taken by XPG5) there
is no way to define a working telldir/seekdir.Test Output
************************************************************************
/tset/POSIX.hdr/misc/dirent_X/T.dirent_X 2 Failed
Test Information:
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE
Compiler or run-time messages or results:
"cc02es.c", line 31: error(1153): declaration is incompatible with
previous
"seekdir" (declared at line 71 of "/usr/include/dirent.h")
extern void seekdir(DIR *, long int) ;
^
1 error detected in the compilation of "cc02es.c".
************************************************************************
************************************************************************
/tset/POSIX.hdr/misc/dirent_X/T.dirent_X 3 Failed
Test Information:
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_XOPEN_SOURCE
Compiler or run-time messages or results:
"cc03es.c", line 41: error(1153): declaration is incompatible with
previous
"telldir" (declared at line 70 of "/usr/include/dirent.h")
extern long int telldir(DIR *) ;
^
1 error detected in the compilation of "cc03es.c".
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This change adversely affects the portability of applications
and its recommended that the temporary waiver request
be refused.
The Large File Summit (LFS) upon which the changes in
the next revision of the System Interfaces & Headers (XSH5)
are based explicitly does not address large directories.
Some vendors have added their own extensions (i.e.seekdir64, telldir64) to
support this feature however this is out of the scope of the current
specifications.
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 0519
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority