GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Musl libc strftime for format strings ending in % · Issue #127527 · python/cpython Open Labels OS-unsupportedextension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionIn glibc if the format string ends in --- a/src/time/strftime.c +++ b/src/time/strftime.c @@ -225,7 +225,7 @@ size_t __strftime_l(char *restrict s, size_t n, const char *restrict f, const st s[l] = 0; return l; } - if (*f != '%') { + if (*f != '%' || !f[1]) { s[l++] = *f; continue; } but it sounds like musl may be against applying this patch because it is their position that the behavior is undefined? See this thread: So in this case, we repeatedly get So what to do? Well for one thing, it seems to me that we can tell whether Linked PRsActivity
MetadataMetadataAssigneesLabelsOS-unsupportedextension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error Projects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |