Problem Report 0012 Details

Help Show help | Quick Search | Click here to view your privileges

This page provides all information on Problem Report 0012.


Report 0012 Actions


    Problem Report Number 0012
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.PX.0005
    Raised 2004-03-30 05:53
    Updated 2004-04-05 14:52
    Published 2004-04-05 14:52
    Product Standard 1003.1-2003 System Interfaces
    Certification Program POSIX Certified by IEEE and The Open Group
    Test Suite VSX-PCTS2003 version 1.0
    Test Identification /tset/XOPEN.os/time/clock/T.clock
    Problem Summary XOPEN.os/time/clock/clock.c doesn't have prototypes for atoi or abs
    Problem Text XOPEN.os/time/clock/clock.c doesn't have prototypes for atoi or abs,
    because it includes <unistd.h> but not <stdlib.h> In POSIX01 mode,
    this caues build failures
    Test Output /tset/XOPEN.os/time/clock/T.clock Failed

    Make Information:
    ...

    "clock.c", line 208: error #20: identifier "abs" is undefined
    tolerance = (long) abs(atoi(cp));
    ^
    "clock.c", line 208: error #20: identifier "atoi" is undefined
    tolerance = (long) abs(atoi(cp));
    ^
    make: *** [clock.o] Error 1

    Review Information

    Review Type TSMA Review
    Start Date 2004-03-30 06:53
    Last Updated 2004-03-30 19:41
    Completed 2004-03-30 19:41
    Status Complete
    Review Recommendation Rejected (REJ)
    Review Response It would not be appropriate to grant a TSD for this problem. A test
    suite patch will be issued.

    Review Type SA Review
    Start Date 2004-03-30 18:41
    Last Updated 2004-04-02 00:59
    Completed 2004-04-02 00:59
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion The TSMA agrees that this represents an error in the test suite and
    will issue a patch to correct it immediately rather than grant a TSD.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority