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:17:13 GMT
        Defect report from : Ulrich Drepper , Red Hat

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 1245 line 38764 section sem_destroy() objection {ud-sem3}

Problem:

Defect code :  1. Error

The specification for sem_getvalue 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 38764 to:

The /sem_getvalue()/ function may fail if:

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