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

Defect in XSH tdelete

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH tdelete
From: yyyyyy@xxxxxxxxxxxxxxxx
Date: Thu, 23 Mar 2006 16:26:40 GMT
        Defect report from : Alexander A. Sortov , ISP RAS (Linux Verification 
Center)

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 0 line 0 section tdelete comment {LVC-S0053}

Problem:

Edition of Specification (Year): 2004

Defect code :  3. Clarification required

Standard states: "The tdelete() function shall return a pointer to the parent 
of the deleted node, or a null pointer if the node is not found." But there is 
no information which value should be returned when deleting the root node.

Possible incorrect behavior of applications that use tdelete() function if 
developers estimates about the returned value do not correspond to 
implementation behavior.

It's proposed to clarify this place in the Standard and define the returned 
value of the function when deleting the root node.

Action:

 No suggestions.

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH tdelete, sortov <=