Anonymous | Login | 2024-03-29 00:40 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 | ||
0001246 | [1003.1(2016/18)/Issue7+TC2] Base Definitions and Headers | Objection | Omission | 2019-04-16 05:48 | 2019-06-27 16:07 | ||
Reporter | dannyniu | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Duplicate | ||||
Status | Closed | ||||||
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. | ||||||
Attached Files | |||||||
|
Relationships | |||||||
|
Notes | |
(0004363) kre (reporter) 2019-04-16 06:22 |
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). |
(0004364) geoffclare (manager) 2019-04-16 07:38 |
This should be closed as a duplicate of bug 0000386 |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |