View Issue Details

IDProjectCategoryView StatusLast Update
00001251003.1(2008)/Issue 7Shell and Utilitiespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityCommentTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectiongetconf
Page Number2775
Line Number90502-90509
Interp Status---
Final Accepted Text
Summary0000125: getconf example contradicts sysconf() description
DescriptionThe 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 ActionDelete lines 90502-90509
Tagstc1-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2009-07-28 13:03 geoffclare New Issue
2009-07-28 13:03 geoffclare Status New => Under Review
2009-07-28 13:03 geoffclare Assigned To => ajosey
2009-07-28 13:03 geoffclare Name => Geoff Clare
2009-07-28 13:03 geoffclare Organization => The Open Group
2009-07-28 13:03 geoffclare Section => getconf
2009-07-28 13:03 geoffclare Page Number => 2775
2009-07-28 13:03 geoffclare Line Number => 90502-90509
2009-08-20 16:04 ajosey Interp Status => ---
2009-08-20 16:04 ajosey Status Under Review => Resolved
2009-08-20 16:04 ajosey Resolution Open => Accepted
2010-08-27 13:15 ajosey Tag Attached: tc1-2008
2013-04-16 13:06 ajosey Status Resolved => Closed