HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2324 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 2324.


Report 2324 Actions


    Problem Report Number 2324
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1194
    Raised 2004-01-28 22:00
    Updated 2004-01-29 22:14
    Published 2004-01-29 22:14
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSRTE version 1.1.3
    Test Identification POSIX_rte.hdr/misc/semaphore 1
    Specification Base Definitions Issue 6
    Location in Spec none
    Problem Summary Required Header file not included, function argument not defined properly.
    Problem Text from test cc01es.c in L.semaphore.

    #include <unistd.h>
    #include <sys/types.h>
    #include <semaphore.h>
    #include "std.h"
    #include "./HEADER.h"
    .
    .
    .
    struct timespec *arg2;
    struct timespec arg2x;

    #if TEST_XPG >= 600 || _POSIX_C_SOURCE >= 200112
    int (*func)(sem_t *restrict, struct timespec *restrict);
    #else
    int (*func)(sem_t*, struct timespec*);
    #endif /* TEST_ANSI */
    .
    .
    .
    int
    main()
    {

    #if defined(_POSIX_SEMAPHORES) && defined(_POSIX_TIMEOUTS)

    #if TEST_ANSI
    #include "./semaphore.h.P"
    #ifdef sem_timedwait_HAS_PROTOTYPE
    #if TEST_XPG >= 600 || _POSIX_C_SOURCE >= 200112
    extern int sem_timedwait(sem_t *restrict, struct timespec
    *restrict);
    #else
    extern int sem_timedwait(sem_t*, struct timespec*);
    #endif


    struct timespec is defined in <time.h> which was not included. Also
    const is missing from the timespec argument for (*func) and the function
    prototype in main().
    Test Output none

    Review Information

    Review Type TSMA Review
    Start Date 2004-01-28 22:00
    Last Updated 2004-01-29 20:12
    Completed 2004-01-29 20:12
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a Test Suite Defiency and it is recommended that a
    waiver is granted.

    Review Type SA Review
    Start Date 2004-01-29 20:12
    Last Updated 2004-01-29 22:13
    Completed 2004-01-29 22:13
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This is a test suite deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority