View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000522 | 1003.1(2008)/Issue 7 | System Interfaces | public | 2011-11-30 23:57 | 2019-06-10 08:55 |
| Reporter | kst | Assigned To | ajosey | ||
| Priority | normal | Severity | Editorial | Type | Error |
| Status | Closed | Resolution | Accepted | ||
| Name | Keith Thompson | ||||
| Organization | |||||
| User Reference | |||||
| Section | shmat | ||||
| Page Number | 1905 | ||||
| Line Number | 60591 | ||||
| Interp Status | --- | ||||
| Final Accepted Text | |||||
| Summary | 0000522: Says shmat() returns -1 on error; should be (void*)-1 | ||||
| Description | The declaration for shmat() is: void *shmat(int shmid, const void *shmaddr, int shmflg); The description of the returned value say, in part: Otherwise, the shared memory segment shall not be attached, shmat() shall return -1, and errno shall be set to indicate the error. -1 is of type int, not of type void* | ||||
| Desired Action | Change: shmat() shall return -1 to: shmat() shall return (void*)-1 (Note that the Linux man pages project made this change several years ago.) | ||||
| Tags | tc2-2008 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-30 23:57 | kst | New Issue | |
| 2011-11-30 23:57 | kst | Status | New => Under Review |
| 2011-11-30 23:57 | kst | Assigned To | => ajosey |
| 2011-11-30 23:57 | kst | Name | => Keith Thompson |
| 2011-11-30 23:57 | kst | Section | => shmat |
| 2011-11-30 23:57 | kst | Page Number | => 1 |
| 2011-11-30 23:57 | kst | Line Number | => ? |
| 2011-12-15 17:23 | Don Cragun | Page Number | 1 => 1905 |
| 2011-12-15 17:23 | Don Cragun | Line Number | ? => 60591 |
| 2011-12-15 17:23 | Don Cragun | Interp Status | => --- |
| 2011-12-15 17:23 | Don Cragun | Status | Under Review => Resolved |
| 2011-12-15 17:23 | Don Cragun | Resolution | Open => Accepted |
| 2011-12-15 17:23 | Don Cragun | Tag Attached: tc2-2008 | |
| 2019-06-10 08:55 | agadmin | Status | Resolved => Closed |