Date: Tue, 8 Nov 2022 15:24:21 +0000 From: Austin Group Bug Tracker <nore...@msnkbrown.net> Message-ID: <60fe2d9d8f9a9039da59e45877c42...@austingroupbugs.net>
| Here's where we disagree. As you say, negative tm_isdst means DST | information is "not available"; however, there is nothing in the normative | text that says how mktime() must behave when it is told that DST | information is not available. The footnote is what does that, but it's | non-normative. That could perhaps be the reason that the C committee apparently agrees that it is acceptable for the implementation to return -1 in cases where it is necessary to be told whether summer time is to be treated as applying or not. There's no normative (or other) text in POSIX that says how mktime() must behave when it is told that summer time information is not available either. Hence, in line with the C determination, it should be possible for a POSIX compliant implementation to return -1 in these cases. kre