Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
be09e6e6
Commit
be09e6e6
authored
Sep 09, 1998
by
Paul Eggert
Browse files
Add a comment to emacs_memftime, explaining why it needs to loop.
parent
9181be69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/editfns.c
src/editfns.c
+5
-0
No files found.
src/editfns.c
View file @
be09e6e6
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment