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

Defect in XCU cp

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XCU cp
From: yyyyyyyyyyy@xxxxxxxxx
Date: Wed, 30 Jun 2004 14:35:15 +0100 (BST)
        Defect report from : Alexey Neyman , Auriga, Inc.

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 2470 line 10391 section cp editorial {0}

Problem:

Edition of Specification (Year): 2001

Defect code :  1. Error

The lines 10316-10317 state that it is unspecified which of -H, -L and -P 
options is the default. However, later at the lines 10391-10392 the description 
states that "if source_file is a file of type symbolic link, the pathname 
contained in dest_file shall be the same as the pathname contained in 
source_file". This phrase implies that the dest_file will be created as a 
symbolic link, which is not the case for -H or -L options.

(the line numbers are against the draft 7 of the 2001 edition, I have no access 
to more recent versions of the standard. However, since the same text is 
present in the SUSv3, I assume the issue is still actual).

Action:

Change wording to:

"If source_file is a file of type symbolic link, the action depends on which of 
-H, -L and -P options is in effect. If -H option is in effect and source_file 
was specified in as an operand, the action shall be taken based on the type of 
the file source_file refers to. If -L option is in effect, the action shall be 
taken based on the type of the file source_file refers to. Otherwise, the 
pathname contained in dest_file shall be the same as the pathname contained in 
source_file."

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