Page MenuHomeFreeBSD

D39573.1796400005.diff
No OneTemporary

Authored By
Unknown
Size
571 B
Referenced Files
None
Subscribers
None

D39573.1796400005.diff

Index: contrib/one-true-awk/run.c
===================================================================
--- contrib/one-true-awk/run.c
+++ contrib/one-true-awk/run.c
@@ -858,7 +858,7 @@
if (fmtwd < 0)
fmtwd = -fmtwd;
adjbuf(&buf, &bufsize, fmtwd+1+p-buf, recsize, &p, "format2");
- for (t = fmt; (*t++ = *s) != '\0'; s++) {
+ for (t = fmt; *(s+1) != '\0' && (*t++ = *s) != '\0'; s++) {
if (!adjbuf(&fmt, &fmtsz, MAXNUMSIZE+1+t-fmt, recsize, &t, "format3"))
FATAL("format item %.30s... ran format() out of memory", os);
/* Ignore size specifiers */

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 4, 4:00 PM (5 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42209824
Default Alt Text
D39573.1796400005.diff (571 B)

Event Timeline