From 66930f1780789f2e8e03b05ae2bf4cb69352e147 Mon Sep 17 00:00:00 2001 From: swallace Date: Fri, 6 Dec 1996 08:22:40 +0000 Subject: Upgrade irsim to version 9.4.1. Need a small patch to fix bug which references an undefined and never used variable, contline. --- cad/irsim/files/patch-b | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cad/irsim/files/patch-b (limited to 'cad/irsim') diff --git a/cad/irsim/files/patch-b b/cad/irsim/files/patch-b new file mode 100644 index 0000000..3af7d09 --- /dev/null +++ b/cad/irsim/files/patch-b @@ -0,0 +1,22 @@ +*** src/irsim/fio.c.orig Tue Sep 10 19:06:20 1996 +--- src/irsim/fio.c Thu Dec 5 18:43:16 1996 +*************** +*** 46,52 **** + register char *buff = bp; + register int c; + +- contline = 0; + while( --len > 0 ) + { + again : +--- 46,51 ---- +*************** +*** 74,80 **** + } else { + if((c == '\\') && (*bp != '|')){ + c = getc(fp); +- contline++; + if( isatty( (int) fileno( fp ) ) ) { + printf("cont>"); + fflush(stdout); +--- 73,78 ---- -- cgit v1.1