diff --exclude=debian -Nru groff-1.15/DEBIAN-VERSION ../groff-1.15.2/DEBIAN-VERSION
--- groff-1.15/DEBIAN-VERSION	Mon Jan 21 01:54:04 2002
+++ ../groff-1.15.2/DEBIAN-VERSION	Mon Jan 21 01:48:53 2002
@@ -1 +1 @@
-1.15-3 (debian)
+1.15-4 (debian)
diff --exclude=debian -Nru groff-1.15/pic/pic.y ../groff-1.15.2/pic/pic.y
--- groff-1.15/pic/pic.y	Tue Dec 14 22:18:58 1999
+++ ../groff-1.15.2/pic/pic.y	Mon Jan 21 01:48:53 2002
@@ -1751,8 +1751,7 @@
       return strsave(form);
     }
   }
-  sprintf(sprintf_buf, form, n);
-  return strsave(sprintf_buf);
+  return do_sprintf(form, &n, 1);
 }
 
 char *do_sprintf(const char *form, const double *v, int nv)
@@ -1774,18 +1773,19 @@
       if (*form == '%') {
 	one_format += *form++;
 	one_format += '\0';
-	sprintf(sprintf_buf, one_format.contents());
+	snprintf(sprintf_buf, sizeof(sprintf_buf), "%s", one_format.contents());
       }
       else {
 	if (i >= nv) {
-	  lex_error("too few arguments to sprintf");
+	  lex_error("too few arguments to snprintf");
 	  result += one_format;
 	  result += form;
 	  break;
 	}
 	one_format += *form++;
 	one_format += '\0';
-	sprintf(sprintf_buf, one_format.contents(), v[i++]);
+	snprintf(sprintf_buf, sizeof(sprintf_buf),
+	         one_format.contents(), v[i++]);
       }
       one_format.clear();
       result += sprintf_buf;
diff --exclude=debian -Nru groff-1.15/tmac/groff_man.man ../groff-1.15.2/tmac/groff_man.man
--- groff-1.15/tmac/groff_man.man	Sun Sep 12 22:06:05 1999
+++ ../groff-1.15.2/tmac/groff_man.man	Mon Jan 21 01:48:53 2002
@@ -1,7 +1,7 @@
 .TH GROFF_MAN @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
-.
+..
 .SH NAME
-.
+..
 groff_man \- groff `an' macros to support generation of man pages
 .SH SYNOPSIS
 .B groff
@@ -12,9 +12,9 @@
 [
 .IR files .\|.\|.
 ]
-.
+..
 .SH DESCRIPTION
-.
+..
 The 
 .B tmac.an 
 macros used to generate man pages with 
@@ -102,9 +102,9 @@
 This is a pagraph following an invocation of the `.HP' macro.
 As you can see, it produces a paragraph where all lines but the first are
 flushed right and are shorter than the preceding lines.
-.
+..
 .SH "MACROS TO SET FONTS"
-.
+..
 .TP
 .BI .SM 
 Causes the text on the same line or the text on the next line to appear in a
@@ -148,9 +148,9 @@
 Causes text to appear in italic.
 If no text is present on the line where the macro is called, then the text
 of the next line appears in italic.
-.
+..
 .SH "SEE ALSO"
-.
+..
 Since the 
 .B tmac.an
 macros consist of groups of 
@@ -163,9 +163,9 @@
 A complete list of these requests is available on the WWW at
 .ce 1
 http://www.cs.pdx.edu/~trent/gnu/groff/groff_toc.html
-.
+..
 .SH AUTHOR
-.
+..
 This manual page was originally written for the Debian GNU/Linux system by
 Susan G. Kleinmann <sgk@debian.org>, corrected by Werner Lemberg
 <wl@gnu.org>, and is now part of the GNU troff distribution.

