Re: strftime(3) oddities with %s, %z

2022-11-05 Thread Taylor R Campbell
> Date: Sat, 05 Nov 2022 20:49:57 +0700 > From: Robert Elz > > That's a variation of strftime() where you can tell it which time zone > you want to use, instead of local time, for the conversions, so if you > were to do > > z = tzalloc("UTC"); > t = gmtime(_time_t_variable); >

Re: strftime(3) oddities with %s, %z

2022-11-05 Thread Mouse
> That's from POSIX, but should be more or less identical to what the C > standard says (I don't have a copy of, any version of, the C standard > to verify that, but it is generally possible from POSIX to tell when > something is intended to agree with C, and when things are being > modified). I

Re: strftime(3) oddities with %s, %z

2022-11-05 Thread Robert Elz
Date:Wed, 2 Nov 2022 02:39:39 + From:David Holland Message-ID: | (a) It follows from the observations so far that if I set ->tm_gmtoff | to 101 and ->tm_zone to "abracadabra" (as well as populating the rest | of the structure), and ask strftime to print

Re: [PATCH] regex.c: fix assertion

2022-11-05 Thread Taylor R Campbell
> Date: Fri, 4 Nov 2022 14:53:42 -0700 > From: enh > > errbuf is only required to be non-NULL if errbuf_size != 0. Thanks, applied!