| Anonymous | Login | Signup for a new account | 2010-02-09 12:32 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 | ||||||||
| 0000125 | [1003.1(2008)/Issue 7] Shell and Utilities | Comment | Error | 2009-07-28 13:03 | 2009-08-20 16:04 | ||||||||
| Reporter | geoffclare | View Status | public | ||||||||||
| Assigned To | ajosey | ||||||||||||
| Priority | normal | Resolution | Accepted | ||||||||||
| Status | Resolved | ||||||||||||
| Name | Geoff Clare | ||||||||||||
| Organization | The Open Group | ||||||||||||
| User Reference | |||||||||||||
| Section | getconf | ||||||||||||
| Page Number | 2775 | ||||||||||||
| Line Number | 90502-90509 | ||||||||||||
| Interp Status | --- | ||||||||||||
| Final Accepted Text | |||||||||||||
| Summary | 0000125: getconf example contradicts sysconf() description | ||||||||||||
| Description |
The getconf EXAMPLES section states: Note that: sysconf(_SC_2_C_BIND); and: system("getconf _POSIX2_C_BIND"); in a C program could give different answers. The sysconf() call supplies a value that corresponds to the conditions when the program was either compiled or executed, depending on the implementation; the system() call to getconf always supplies a value corresponding to conditions when the program is executed. This suggests that sysconf() can return compile-time values instead of run-time values, contradicting the description of sysconf() in XSH which requires sysconf() to "determine the current value of a configurable system limit or option". |
||||||||||||
| Desired Action | Delete lines 90502-90509 | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files | |||||||||||||
|
|
|||||||||||||
| There are no notes attached to this issue. |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |