From: Paul Eggert <eggert@cs.ucla.edu>
To: Max Nikulin <manikulin@gmail.com>
Cc: libc-alpha@sourceware.org
Subject: Re: mktime result may depend on previous calls
Date: Wed, 18 Jan 2023 14:12:28 -0800 [thread overview]
Message-ID: <3dc4be13-a454-3cd5-6a83-d9dfa4c3d7dd@cs.ucla.edu> (raw)
In-Reply-To: <tq93sc$p3$1@ciao.gmane.io>
On 1/18/23 07:39, Max Nikulin via Libc-alpha wrote:
> Is it intended that hidden state affects returned value?
I intended for it, yes. The behavior is allowed by POSIX and by the GNU
spec, and it helps performance in the typical case.
If there's a faster way to implement mktime that doesn't involve a
cache, that might be a good thing to implement.
next prev parent reply other threads:[~2023-01-18 22:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-18 15:39 Max Nikulin
2023-01-18 22:12 ` Paul Eggert [this message]
2023-01-19 3:00 ` Max Nikulin
2023-01-19 4:34 ` Paul Eggert
2023-01-19 7:10 ` Max Nikulin
2023-01-20 9:21 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3dc4be13-a454-3cd5-6a83-d9dfa4c3d7dd@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=libc-alpha@sourceware.org \
--cc=manikulin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).