Blame SOURCES/cscope-15.8-init-function-array-to-unknown.patch

05f219
diff -up ./src/find.c.nullfix ./src/find.c
05f219
--- ./src/find.c.nullfix	2012-06-15 07:18:11.000000000 -0400
05f219
+++ ./src/find.c	2016-02-11 14:19:45.409675762 -0500
05f219
@@ -1201,7 +1201,9 @@ getposting(void)
05f219
 static void
05f219
 putpostingref(POSTING *p, char *pat)
05f219
 {
05f219
-	static char	function[PATLEN + 1];	/* function name */
05f219
+	// initialize function to "unknown" so that the first line of temp1
05f219
+	// is properly formed if symbol matches a header file entry first time
05f219
+	static char function[PATLEN + 1] = "unknown";/* function name */
05f219
 
05f219
 	if (p->fcnoffset == 0) {
05f219
 		if (p->type == FCNDEF) { /* need to find the function name */