1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00

Add a comment to emacs_memftime, explaining why it needs to loop.

This commit is contained in:
Paul Eggert 1998-09-09 21:33:50 +00:00
parent 9181be6961
commit be09e6e6bf

View file

@ -866,6 +866,11 @@ emacs_memftime (s, maxsize, format, format_len, tp)
{
size_t total = 0;
/* Loop through all the null-terminated strings in the format
argument. Normally there's just one null-terminated string, but
there can be arbitrarily many, concatenated together, if the
format contains '\0' bytes. emacs_strftime stops at the first
'\0' byte so we must invoke it separately for each such string. */
for (;;)
{
size_t len;