From: Paul Eggert Date: Fri, 4 Oct 2024 01:14:30 +0000 (-0700) Subject: mktime: improve comment wording X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5298e842f26463c91536069fda2bd79f16d73175;p=gnulib.git mktime: improve comment wording * src/mktime.c: Improve comment wording. glibc has changed the comment wording, and this improves on the glibc changes with the result scheduled to be copied back to glibc. --- diff --git a/lib/mktime.c b/lib/mktime.c index c704f41574..744a7277bb 100644 --- a/lib/mktime.c +++ b/lib/mktime.c @@ -536,9 +536,8 @@ __mktime_internal (struct tm *tp, __time64_t __mktime64 (struct tm *tp) { - /* POSIX.1 8.1.1 requires that whenever mktime() is called, the - time zone names contained in the external variable 'tzname' shall - be set as if the tzset() function had been called. */ + /* POSIX.1 requires mktime to set external variables like 'tzname' + as though tzset had been called. */ __tzset (); # if defined _LIBC || NEED_MKTIME_WORKING