From: Omar Polo Subject: Re: mail(1) set Date and User-Agent [was: Re: Back to rfc2045] To: "Sven M. Hallberg" Cc: tech@openbsd.org Date: Sat, 03 Aug 2024 10:47:51 +0200 On 2024/08/02 12:21:43 +0200, Sven M. Hallberg wrote: > Unfortunate frustrations in this thread aside... out of pure interest: > > Omar Polo on Thu, Aug 01 2024: > > Then, we can't use strftime() since it depends on the locale. > > Why not strftime_l, then? I guess just a matter of preference. I prefer to stay away from the locale functions if feasible. Also, it saves an allocation :) (not that it matters though) > NB: Calling date() twice in puthead() seems wrong and is useless anyway, > since it never returns NULL. Yep. I got distracted by strftime() usage and glossed over it.