The following issue has been SUBMITTED. 
====================================================================== 
http://austingroupbugs.net/view.php?id=1074 
====================================================================== 
Reported By:                dsabogal
Assigned To:                
====================================================================== 
Project:                    1003.1(2013)/Issue7+TC1
Issue ID:                   1074
Category:                   Base Definitions and Headers
Type:                       Error
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       Daniel Sabogal 
Organization:                
User Reference:              
Section:                    <unistd.h> 
Page Number:                442 
Line Number:                14937,14943 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2016-09-04 17:51 UTC
Last Modified:              2016-09-04 17:51 UTC
====================================================================== 
Summary:                    _SC_POSIX_THREAD
Description: 
The descriptions for _CS_POSIX_V7_THREADS_CFLAGS and
_CS_POSIX_V7_THREADS_LDFLAGS begin with:
"If sysconf(_SC_POSIX_THREADS) returns -1, ..."

The identifier _SC_POSIX_THREADS is not mentioned elsewhere in the
standard.

I believe the intended constant here was _SC_THREADS.
See page 445 line 15096, page 2078 line 66346, and page 2517 line 81166-7.

However, sysconf(_SC_THREADS) always evaluates to 200809L since:
- Page 17 line 559 requires _POSIX_THREADS to have this value, and
- The RETURN VALUE section of sysconf() on page 2079 requires the value of
this variable to be returned.

It seem that the statements in question should be removed.
Desired Action: 
Remove lines 14937 and 14943.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-09-04 17:51 dsabogal       New Issue                                    
2016-09-04 17:51 dsabogal       Name                      => Daniel Sabogal  
2016-09-04 17:51 dsabogal       Section                   => <unistd.h>      
2016-09-04 17:51 dsabogal       Page Number               => 442             
2016-09-04 17:51 dsabogal       Line Number               => 14937,14943     
======================================================================


Reply via email to