Defect report from : Nikolay Zhuravlev , Auriga, Inc.
(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
@ page 238 line 8321 section glob.h editorial {NDZ}
Problem:
Edition of Specification (Year): 2004
Defect code : 1. Error
The structure type glob_t contains members of type size_t.
However, the standard does not specify where the size_t type comes from.
Similar problems exist in the following headers:
<grp.h>, <iconv.h>, <pwd.h>, <signal.h>, <strings.h>, <sys/socket.h>,
<trace.h>.
Action:
For <glob.h>, the following should be added unshaded after P238, L8324:
The size_t type shall be defined as described in <sys/types.h>.
For <grp.h>, P240, L8376 change:
The gid_t type shall be defined as described in <sys/types.h>.
To:
The gid_t and size_t types shall be defined as described in <sys/types.h>.
For <iconv.h>, P241, L8414-8415 change:
The <iconv.h> header shall define the following type:
iconv_t Identifies the conversion from one codeset to another.
To:
The <iconv.h> header shall define the following types:
iconv_t Identifies the conversion from one codeset to another.
size_t As described in <sys/types.h>.
For <pwd.h>, P295, L10487 change:
The gid_t and uid_t types shall be defined as described in <sys/types.h>.
To:
The gid_t, uid_t and size_t types shall be defined as described in
<sys/types.h>.
For <signal.h>, the following should be added after P307, L10912:
The size_t type shall be defined as described in <sys/types.h>.
For <strings.h>, P335, L11908 change:
The size_t type shall be defined through typedef as described in <stddef.h>.
To:
The size_t type shall be defined as described in <sys/types.h>.
For <sys/socket.h>, the following should be added after P358, L12605:
The ssize_t type shall be defined as described in <sys/types.h>.
For <trace.h>, P398, L13935-13939 change:
The following types shall be defined as described in <sys/types.h>:
trace_attr_t
trace_id_t
trace_event_id_t
trace_event_set_t
To:
The following types shall be defined as described in <sys/types.h>:
size_t
trace_attr_t
trace_id_t
trace_event_id_t
trace_event_set_t
|