|
From: | Paul Eggert |
Subject: | Re: Use of strftime in movemail.ec |
Date: | Sat, 5 Mar 2016 12:56:49 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Eli Zaretskii wrote:
How about the follow-up below?
Yes, that's more general and shouldn't introduce bugs. It can mishandle %% in formats, if you care about full upward-compatibility. It should use memcpy instead of strncpy.
Personally I'd leave the code alone for simplicity's sake, but if you prefer the more-general version by all means....
[Prev in Thread] | Current Thread | [Next in Thread] |