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

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