View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000928 | 1003.1(2013)/Issue7+TC1 | System Interfaces | public | 2015-03-04 09:56 | 2019-06-10 08:54 |
Reporter | EdSchouten | Assigned To | ajosey | ||
Priority | normal | Severity | Editorial | Type | Error |
Status | Closed | Resolution | Accepted | ||
Name | Ed Schouten | ||||
Organization | Nuxi | ||||
User Reference | |||||
Section | basename() | ||||
Page Number | 619 | ||||
Line Number | 21170 | ||||
Interp Status | --- | ||||
Final Accepted Text | |||||
Summary | 0000928: basename: Provided example attempts to modify constant string | ||||
Description | The example for basename() provided on this page is invalid: http://pubs.opengroup.org/onlinepubs/9699919799/functions/basename.html It invokes the basename() function with a constant string, even though basename() is allowed to modify it: "The basename() function may modify the string pointed to by path" | ||||
Desired Action | This line: char *name = "/usr/lib"; Should be replaced by: char name[] = "/usr/lib"; | ||||
Tags | tc2-2008 |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-03-04 09:56 | EdSchouten | New Issue | |
2015-03-04 09:56 | EdSchouten | Status | New => Under Review |
2015-03-04 09:56 | EdSchouten | Assigned To | => ajosey |
2015-03-04 09:56 | EdSchouten | Name | => Ed Schouten |
2015-03-04 09:56 | EdSchouten | Organization | => Nuxi |
2015-03-04 09:56 | EdSchouten | Section | => n/a |
2015-03-04 09:56 | EdSchouten | Page Number | => n/a |
2015-03-04 09:56 | EdSchouten | Line Number | => n/a |
2015-05-07 16:20 | Don Cragun | Section | n/a => basename() |
2015-05-07 16:20 | Don Cragun | Page Number | n/a => 619 |
2015-05-07 16:20 | Don Cragun | Line Number | n/a => 21170 |
2015-05-07 16:20 | Don Cragun | Interp Status | => --- |
2015-05-07 16:20 | Don Cragun | Status | Under Review => Resolved |
2015-05-07 16:20 | Don Cragun | Resolution | Open => Accepted |
2015-05-07 16:20 | Don Cragun | Tag Attached: tc2-2008 | |
2015-05-07 16:21 | geoffclare | Project | 1003.1(2008)/Issue 7 => 1003.1(2013)/Issue7+TC1 |
2019-06-10 08:54 | agadmin | Status | Resolved => Closed |