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

Defect in XSH posix_trace_attr_getstreamfullpolicy()

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH posix_trace_attr_getstreamfullpolicy()
From: yyyyyyyyyyyyyyyyy@xxxxxxxxx
Date: Thu, 1 Dec 2005 08:49:26 GMT
        Defect report from : Nikolay Zhuravlev , Auriga

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 929 line 30023 section posix_trace_attr_getstreamfullpolicy() editorial 
{NDZ}

Problem:

Edition of Specification (Year): 2004

Defect code :  2. Omission

The declaration of posix_trace_attr_getstreamfullpolicy() is
missing the 'restrict' keyword. Same problem on P936, L30240.

Action:

Change:

int posix_trace_attr_getstreamfullpolicy(const trace_attr_t *attr,
int *streampolicy);

to:

int posix_trace_attr_getstreamfullpolicy(const trace_attr_t *restrict
attr, int *restrict streampolicy);

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH posix_trace_attr_getstreamfullpolicy(), nikolay.zhuravlev <=