| To: | yyyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Bug in TC2-XBD <sys/types.h> (key_t) |
| From: | "Michael T Kerrisk" <yyyyyyyyy@xxxxxxx> |
| Date: | Thu, 6 May 2004 15:26:30 +0200 (MEST) |
| Cc: | Geoff Clare <yyyyy@xxxxxxxxxxxxx> |
@ page <372> line <13070> section <no.> comment
Problem:
In XBD <sys/types.h> we find the following the statment that key_t need
not be an arithmetic type:
13068 All of the types shall be defined as arithmetic types
of an appropriate length, with the following
13069 exceptions:
13070 XSI key_t
But in the description of "Data Types" in XSH (Section 2.12), we find the
following contradictory statement:
3363 key_t Arithmetic type used for XSI interprocess
communication.
Geoff Clare privatetly noted to me:
> Since ftok() returns (key_t)-1 on error, I think that if it is not an
> arithmetic type then the only other thing it could be is a pointer.
Action:
Remove line 13070 "XSI key_t" from TC2-XBD
Cheers,
Michael
--
Michael Kerrisk
yyyyyyyyy@xxxxxxx
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Defect in XCU awk, eggert |
|---|---|
| Next by Date: | Defect in XSH pthread_mutex_getprioceiling( ), mgh |
| Previous by Thread: | Defect in XBD Character Set Description File, tjr |
| Next by Thread: | Defect in XSH pthread_mutex_getprioceiling( ), mgh |
| Indexes: | [Date] [Thread] [All Lists] |