Anonymous | Login | 2025-01-23 00:31 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0001569 | [1003.1(2016/18)/Issue7+TC2] Base Definitions and Headers | Objection | Error | 2022-03-15 15:21 | 2024-06-11 09:07 | ||
Reporter | geoffclare | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted | ||||
Status | Closed | ||||||
Name | Geoff Clare | ||||||
Organization | The Open Group | ||||||
User Reference | |||||||
Section | <unistd.h> | ||||||
Page Number | 438, 439 | ||||||
Line Number | 14980, 14983, 14986, 14989, 14992, 14998, 15001 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | |||||||
Summary | 0001569: pointer is not a C-Language Data Type | ||||||
Description |
The <unistd.h> and c99 pages have several uses of pointer as if it were a C-Language Data Type. For example the description of _POSIX_V7_LP64_OFF64 has:32-bit int and 64-bit long, pointer, and off_t types In addition to being a misuse of the typographic convention for data types, this also seems to assume/require that all pointers are the same width in each of the ILP32_OFF32, ILP32_OFFBIG, and LP64_OFF64 compilation environments, and that all pointers are at least 64 bits in LPBIG_OFFBIG. The desired action assumes that this is intentional. If it is not, then we'll need an alternative change that only states width requirements for the pointer to void type. |
||||||
Desired Action |
On page 438 line 14979 section <unistd.h>, and page 439 line 14991 section <unistd.h>, and page 441 line 15115 section <unistd.h>, and page 442 line 15119 section <unistd.h>, and page 442 line 15123 section <unistd.h>, change: 32-bit int, long, pointer, and off_t types.to: 32-bit int, long, off_t, and all pointer types. On page 438 line 14982 section <unistd.h>, and page 439 line 14994 section <unistd.h>, and page 442 line 15127 section <unistd.h>, and page 442 line 15132 section <unistd.h>, and page 442 line 15137 section <unistd.h>, change: 32-bit int, long, and pointer types and an off_t type using at least 64 bits.to: 32-bit int, long, and all pointer types and an off_t type using at least 64 bits. On page 438 line 14985 section <unistd.h>, and page 439 line 14997 section <unistd.h>, and page 442 line 15142 section <unistd.h>, and page 442 line 15147 section <unistd.h>, and page 442 line 15152 section <unistd.h>, change: 32-bit int and 64-bit long, pointer, and off_t types.to: a 32-bit int type and 64-bit long, off_t, and all pointer types. On page 439 line 14988 section <unistd.h>, and page 439 line 15000 section <unistd.h>, and page 442 line 15157 section <unistd.h>, and page 442 line 15162 section <unistd.h>, and page 443 line 15167 section <unistd.h>, change: an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits.to: an int type using at least 32 bits and long, off_t, and all pointer types using at least 64 bits. On page 2547 line 82425 section c99, change: pointerto: pointer types On page 2549 line 82539 section c99, change: 32-bit int, long, and pointer types and an off_t type using at least 64 bitsto: 32-bit int, long, and all pointer types and an off_t type using at least 64 bits |
||||||
Tags | tc3-2008 | ||||||
Attached Files | |||||||
|
There are no notes attached to this issue. |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |