File hardening1.patch of Package acm

Index: acm-6.0+20200416/src/V/VPoly.c
===================================================================
--- acm-6.0+20200416.orig/src/V/VPoly.c
+++ acm-6.0+20200416/src/V/VPoly.c
@@ -216,10 +216,10 @@ VPrintPolygon(FILE * file, VPolygon * p)
 	char     *nullPoly = "*** Null Polygon ***\n";
 
 	if (p == (VPolygon *) NULL)
-		fprintf(file, nullPoly);
+	  fprintf(file, "%s\n", nullPoly);
 	else {
 		if (p->numVtces == 0) {
-			fprintf(file, nullPoly);
+		  fprintf(file, "%s\n", nullPoly);
 			return;
 		}
 
Index: acm-6.0+20200416/src/gedit/io.c
===================================================================
--- acm-6.0+20200416.orig/src/gedit/io.c
+++ acm-6.0+20200416/src/gedit/io.c
@@ -321,7 +321,7 @@ int
 gedit_error (char *s)
 {
 
-	fprintf (stderr, s);
+  fprintf (stderr, "%s\n", s);
 	return 0;
 }
 
openSUSE Build Service is sponsored by