summaryrefslogtreecommitdiff
path: root/news/trn
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>1999-06-02 18:21:23 +0000
committerchristos <christos@pkgsrc.org>1999-06-02 18:21:23 +0000
commit264fa3ee058498eec991aaf547aa863b33acb068 (patch)
tree83b40a9642d9e5ad203c80ff4604d8ff3360ce45 /news/trn
parent6c5cb13245410cbcb0fe50eebb5ade2f0f234f67 (diff)
downloadpkgsrc-264fa3ee058498eec991aaf547aa863b33acb068.tar.gz
compensate for fieldwidth overflows
Diffstat (limited to 'news/trn')
-rw-r--r--news/trn/patches/patch-ab24
1 files changed, 24 insertions, 0 deletions
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++;