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

Defect in XSH sem_destroy()

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH sem_destroy()
From: yyyyyyy@xxxxxxxxxx
Date: Tue, 25 Feb 2003 01:15:52 GMT
        Defect report from : Ulrich Drepper , Red Hat

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 1244 line 38723 section sem_destroy() objection {ud-sem2}

Problem:

Defect code :  1. Error

The specification for sem_destroy currently requires that EINVAL is returned 
for invalid descriptors.  This should be just in all the other cases of 
functions which take descriptors a "may fail".

Action:

Change line 38723 to:

The /sem_destroy()/ function may fail if:

and remove line 38725.

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