Blame SOURCES/gawk-4.0.2-fix-chksize-calls.patch

b6f79b
From cf5e462296d01d58a212badd3d28c3c348f4f917 Mon Sep 17 00:00:00 2001
b6f79b
From: "Arnold D. Robbins" <arnold@skeeve.com>
b6f79b
Date: Tue, 2 Jul 2013 22:03:50 +0300
b6f79b
Subject: [PATCH] Bug fix in profile.c:pp_string for valgrind.
b6f79b
b6f79b
---
b6f79b
 profile.c | 2 +-
b6f79b
 1 file changed, 1 insertion(+), 1 deletion(-)
b6f79b
b6f79b
diff --git a/profile.c b/profile.c
b6f79b
index eb78837..16b1469 100644
b6f79b
--- a/profile.c
b6f79b
+++ b/profile.c
b6f79b
@@ -1201,7 +1201,7 @@ pp_string(const char *in_str, size_t len, int delim)
b6f79b
 			obufout += len;
b6f79b
 		}
b6f79b
 	}
b6f79b
-	chksize(1);
b6f79b
+	chksize(2);
b6f79b
 	*obufout++ = delim;
b6f79b
 	*obufout = '\0';
b6f79b
 	return obuf;
b6f79b
-- 
b6f79b
2.9.4
b6f79b