1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/cad/irsim/files/patch-b
Steven Wallace f75a348025 Upgrade irsim to version 9.4.1.
Need a small patch to fix bug which references an undefined and never
used variable, contline.
1996-12-06 08:22:40 +00:00

23 lines
525 B
Plaintext

*** 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 ----