Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
回覆: C11 gmtime_s support in curlx_gmtime
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Joseph Chen via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 30 Apr 2026 13:20:39 +0000
I'm seeing this with the IAR compiler, its runtime library provides gmtime_s() but not gmtime_r().
________________________________
寄件者: Daniel Stenberg <daniel_at_haxx.se>
已傳送: 星期四, 2026 年 4 月 30 日 21:09
收件者: Joseph Chen via curl-library <curl-library_at_lists.haxx.se>
副本: Joseph Chen <Joseph_at_baoruh.com.tw>
主旨: Re: C11 gmtime_s support in curlx_gmtime
On Thu, 30 Apr 2026, Joseph Chen via curl-library wrote:
> curlx_gmtime() handles Windows gmtime_s and gmtime_r, but not the C11
> gmtime_s(const time_t*, struct tm*) variant. Would it make sense to support
> this version as well?
Is there actually a time or place where gmtime_s() is present but gmtime_r()
is not?
--
/ daniel.haxx.se || https://rock-solid.curl.dev
Date: Thu, 30 Apr 2026 13:20:39 +0000
I'm seeing this with the IAR compiler, its runtime library provides gmtime_s() but not gmtime_r().
________________________________
寄件者: Daniel Stenberg <daniel_at_haxx.se>
已傳送: 星期四, 2026 年 4 月 30 日 21:09
收件者: Joseph Chen via curl-library <curl-library_at_lists.haxx.se>
副本: Joseph Chen <Joseph_at_baoruh.com.tw>
主旨: Re: C11 gmtime_s support in curlx_gmtime
On Thu, 30 Apr 2026, Joseph Chen via curl-library wrote:
> curlx_gmtime() handles Windows gmtime_s and gmtime_r, but not the C11
> gmtime_s(const time_t*, struct tm*) variant. Would it make sense to support
> this version as well?
Is there actually a time or place where gmtime_s() is present but gmtime_r()
is not?
--
/ daniel.haxx.se || https://rock-solid.curl.dev
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2026-04-30