Email List: Xaustin-review-lX
[All Lists]

Defect in XCU rm

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XCU rm
From: yyyyyy@xxxxxxxxxxx
Date: Sat, 3 Jul 2004 17:26:40 +0100 (BST)
        Defect report from : Paul Eggert , UCLA

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 826 line 32097 section rm editorial {20040703a}

Problem:

Edition of Specification (Year): 2004

Defect code :  1. Error

POSIX currently seems to require that "rm ." must output a diagnostic
and then exit with status zero.  This is due to a glitch in the EXIT
STATUS section of the specification for "rm".  There is a similar
problem with "rm /".  For more details about the problem, please see
the second half of Walter Briscoe's email message
<http://www.opengroup.org/sophocles/show_mail.tpl?source=L&listname=austin-group-l&id=7036>.


Action:

Change the following text in lines 32097-32098 from:

    0   All of the named directory entries for which rm performed
        actions equivalent to the rmdir() or unlink() functions
        were removed.

to:

    0   Each directory entry was successfully removed, unless its
        removal was canceled by a non-affirmative response to a
        prompt for confirmation.

<Prev in Thread] Current Thread [Next in Thread>