View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001569 | 1003.1(2016/18)/Issue7+TC2 | Base Definitions and Headers | public | 2022-03-15 15:21 | 2024-06-11 09:07 |
Reporter | geoffclare | Assigned To | |||
Priority | normal | Severity | Objection | Type | Error |
Status | Closed | Resolution | Accepted | ||
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 |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-15 15:21 | geoffclare | New Issue | |
2022-03-15 15:21 | geoffclare | Name | => Geoff Clare |
2022-03-15 15:21 | geoffclare | Organization | => The Open Group |
2022-03-15 15:21 | geoffclare | Section | => <unistd.h> |
2022-03-15 15:21 | geoffclare | Page Number | => 438, 439 |
2022-03-15 15:21 | geoffclare | Line Number | => 14980, 14983, 14986, 14989, 14992, 14998, 15001 |
2022-03-15 15:21 | geoffclare | Interp Status | => --- |
2022-03-15 15:24 | geoffclare | Desired Action Updated | |
2022-04-21 15:47 | Don Cragun | Status | New => Resolved |
2022-04-21 15:47 | Don Cragun | Resolution | Open => Accepted |
2022-04-21 15:47 | Don Cragun | Tag Attached: tc3-2008 | |
2022-05-23 11:30 | geoffclare | Status | Resolved => Applied |
2024-06-11 09:07 | agadmin | Status | Applied => Closed |