From 264fa3ee058498eec991aaf547aa863b33acb068 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 2 Jun 1999 18:21:23 +0000 Subject: compensate for fieldwidth overflows --- news/trn/patches/patch-ab | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 news/trn/patches/patch-ab (limited to 'news') diff --git a/news/trn/patches/patch-ab b/news/trn/patches/patch-ab new file mode 100644 index 00000000000..277ac512c85 --- /dev/null +++ b/news/trn/patches/patch-ab @@ -0,0 +1,24 @@ +$NetBSD: patch-ab,v 1.1 1999/06/02 18:21:23 christos Exp $ + +--- rcstuff.c.orig Sat Aug 20 16:47:59 1994 ++++ rcstuff.c Mon May 3 14:09:15 1999 +@@ -704,7 +704,7 @@ + set_toread(i); + *(rcline[i] + rcnums[i] - 1) = RCCHAR(rcchar[i]); + if (toread[i] > 0) +- sprintf(tmpbuf,"%3d %6ld ",i,(long)toread[i]); ++ sprintf(tmpbuf,"%3d %8ld ",i,(long)toread[i]); + else + sprintf(tmpbuf,"%3d %7s ",i,status[-toread[i]]); + safecpy(tmpbuf+13,rcline[i],2034); +--- ngstuff.c.orig Sat Nov 19 01:01:21 1994 ++++ ngstuff.c Mon May 3 14:08:30 1999 +@@ -353,7 +353,7 @@ + bool saveit = FALSE; + + if (toplevel) { +- printf("%-6ld ",art); ++ printf("%-8ld ",art); + fflush(stdout); + } + perform_cnt++; -- cgit v1.2.3