View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001246 | 1003.1(2016/18)/Issue7+TC2 | Base Definitions and Headers | public | 2019-04-16 05:48 | 2019-06-27 16:07 |
Reporter | dannyniu | Assigned To | |||
Priority | normal | Severity | Objection | Type | Omission |
Status | Closed | Resolution | Duplicate | ||
Name | DannyNiu/NJF | ||||
Organization | Individual | ||||
User Reference | Online Pub | ||||
Section | unistd.h | ||||
Page Number | 434 | ||||
Line Number | 14760 | ||||
Interp Status | --- | ||||
Final Accepted Text | |||||
Summary | 0001246: environ missing. | ||||
Description | In the description for exec functions, it is mentioned that the variable environ holds an array of pointers to environment variables to be passed to new program. The exec functions are from the "unistd.h" header, however in XDB, environ is mentioned nowhere in "unistd.h". | ||||
Desired Action | Insert after line 15463: extern char **environ; | ||||
Tags | No tags attached. |
|
I object to that change. All that needs to be said about environ (the variable) is in the standard already. It has never been traditionally defined in any header file, as normally, applications should not be using it. There is an "environ" page in XSH 3, and in the exec page it says In addition, the following variable, which must be declared by the user if it is to be used directly: extern char **environ; I see no need for any changes to any of that. Further, if environ were to be (needlessly) added to a standard header, we would also need changes to XSH 3.environ and XSH 3.exec (and possibly more places). |
|
This should be closed as a duplicate of bug 0000386 |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-04-16 05:48 | dannyniu | New Issue | |
2019-04-16 05:48 | dannyniu | Name | => DannyNiu/NJF |
2019-04-16 05:48 | dannyniu | Organization | => Individual |
2019-04-16 05:48 | dannyniu | User Reference | => Online Pub |
2019-04-16 05:48 | dannyniu | Section | => unistd.h |
2019-04-16 05:48 | dannyniu | Page Number | => 434 |
2019-04-16 05:48 | dannyniu | Line Number | => 14760 |
2019-04-16 06:22 | kre | Note Added: 0004363 | |
2019-04-16 07:38 | geoffclare | Note Added: 0004364 | |
2019-04-16 07:38 | geoffclare | Relationship added | duplicate of 0000386 |
2019-06-27 16:07 | geoffclare | Interp Status | => --- |
2019-06-27 16:07 | geoffclare | Status | New => Closed |
2019-06-27 16:07 | geoffclare | Resolution | Open => Duplicate |