Mercurial > emacs
changeset 23218:90e5d916ebd9
Add a comment to emacs_memftime, explaining why it needs to loop.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Wed, 09 Sep 1998 21:33:50 +0000 |
parents | a9ebac06b080 |
children | 3b050c4bee18 |
files | src/editfns.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/editfns.c Wed Sep 09 19:59:31 1998 +0000 +++ b/src/editfns.c Wed Sep 09 21:33:50 1998 +0000 @@ -866,6 +866,11 @@ { 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;