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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 0636 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 0636.


Report 0636 Actions


    Problem Report Number 0636
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0240
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Commands and Utilities V2 (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSC version 4.1.4
    Test Identification POSIX.sdo/ar 0
    Problem Summary PG4C.00036 Should ar -ru replace files with identical modification times?
    Problem Text
    This is not a specific test failure but speaks to the X/Open spec.
    Look at the -u option to ar.

    It says:

    "Update older files. When used with the -r option, files within
    the archive wil be replaced only if the corresponding file has a
    modification time that is at least as new as the modification time
    of the file within the archive."

    This is exactly the same text as POSIX.2, as you would expect.

    The first sentence says equal-dated-files are not updated.
    The second says they are.

    Existing ar(1) is coded to obey the first: if the mod date is the
    same, no update. That is, I believe the sensible thing to do.
    Test Output

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    No journal output is provided.

    The POSIX rationale for the -ur option states:

    The text on the -ur option combination is historial
    practice--since one filename can easily represent two
    different files (e.g., /a/foo and /b/foo), it is reasonable to
    replace the member in the archive even when the modification
    time in the archive is identical to that in the file system.

    While the rationale is not normative, it does support the -u
    description in the standard.

    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:

     

    Back   


Contact the Certification Authority