kiss-repository

personal kiss repository
git clone git://git.ckyln.com/~cem/kiss-repository.git
Log | Files | Refs | Submodules | README | LICENSE

nvi-08-safe_printf.patch (480B)


      1 #! /bin/sh /usr/share/dpatch/dpatch-run
      2 ## 08safe_printf.dpatch by  <hesso@pool.math.tu-berlin.de>
      3 ##
      4 ## DP: No description.
      5 
      6 @DPATCH@
      7 diff -Naur nvi-1.81.6.orig/common/exf.c nvi-1.81.6/common/exf.c
      8 --- nvi-1.81.6.orig/common/exf.c	2008-05-01 18:10:20.000000000 +0200
      9 +++ nvi-1.81.6/common/exf.c	2008-05-01 18:10:30.000000000 +0200
     10 @@ -1075,7 +1075,7 @@
     11  			*--s = '.';
     12  		}
     13  	}
     14 -	msgq(sp, M_INFO, s);
     15 +	msgq(sp, M_INFO, "%s", s);
     16  	if (nf)
     17  		FREE_SPACE(sp, p, 0);
     18  	return (0);