A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1171 ====================================================================== Reported By: martinr Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1171 Category: Base Definitions and Headers Type: Error Severity: Objection Priority: normal Status: New Name: Martin Rehak Organization: Oracle Corporation User Reference: Section: <sys/time.h> Page Number: 399 Line Number: 13572 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2017-11-22 09:52 UTC Last Modified: 2019-02-07 16:23 UTC ====================================================================== Summary: <sys/select.h> doesn’t allow to include <sys/time.h> namespace anymore ======================================================================
---------------------------------------------------------------------- (0004242) nick (manager) - 2019-02-07 16:23 http://austingroupbugs.net/view.php?id=1171#c4242 ---------------------------------------------------------------------- Change page 399 lines 13572-13575 (<sys/time.h>) from: <blockquote>The <sys/time.h> header shall define the <b>timeval</b> structure, which shall include at least the following members: time_t tv_sec Seconds. suseconds_t tv_usec Microseconds.</blockquote> to: <blockquote>The <b><sys/time.h></b> header shall define the <b>fd_set</b> type and the <b>timeval</b> structure as described in <b><sys/select.h></b>.</blockquote> Delete page 399 line 13582: <blockquote>The <b><sys/time.h></b> header shall define the <b>fd_set</b> type as described in <b><sys/select.h></b>.</blockquote> Change the RATIONALE section on page 400 line 13609 from: <blockquote>None.</blockquote> to: <blockquote>The <b><sys/time.h></b> header refers to <b><sys/select.h></b> for the definition of the <b>timeval</b> structure, instead of the other way round, because <b><sys/time.h></b> is an optional (XSI) header whereas <b><sys/select.h></b> is mandatory.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2017-11-22 09:52 martinr New Issue 2017-11-22 09:52 martinr Name => Martin Rehak 2017-11-22 09:52 martinr Organization => Oracle Corporation 2017-11-22 09:52 martinr Section => <sys/time.h> 2017-11-22 09:52 martinr Page Number => 399 2017-11-22 09:52 martinr Line Number => 13572 2019-02-07 16:23 nick Note Added: 0004242 ======================================================================