1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/cad/cider/files/patch-ac

63 lines
1.9 KiB
Plaintext
Raw Normal View History

*** spice/common/src/bin/sconvert.c.orig Sat Jan 29 19:12:56 1994
--- spice/common/src/bin/sconvert.c Sun Dec 12 14:49:36 1999
***************
*** 80,98 ****
case 1: printf("Input file: ");
(void) fflush(stdout);
! (void) gets(buf);
sf = copy(buf);
printf("Input type: ");
(void) fflush(stdout);
! (void) gets(buf);
f = buf[0];
printf("Output file: ");
(void) fflush(stdout);
! (void) gets(buf);
af = copy(buf);
printf("Output type: ");
(void) fflush(stdout);
! (void) gets(buf);
t = buf[0];
break;
default:
--- 80,98 ----
case 1: printf("Input file: ");
(void) fflush(stdout);
! (void) fgets(buf,BSIZE_SP,stdin);
sf = copy(buf);
printf("Input type: ");
(void) fflush(stdout);
! (void) fgets(buf,BSIZE_SP,stdin);
f = buf[0];
printf("Output file: ");
(void) fflush(stdout);
! (void) fgets(buf,BSIZE_SP,stdin);
af = copy(buf);
printf("Output type: ");
(void) fflush(stdout);
! (void) fgets(buf,BSIZE_SP,stdin);
t = buf[0];
break;
default:
*** spice/common/src/lib/fte/inp.c.orig Sat Jan 29 18:48:10 1994
--- spice/common/src/lib/fte/inp.c Sun Dec 12 14:49:36 1999
***************
*** 666,672 ****
fprintf(cp_out, "run circuit? ");
fflush(cp_out);
! (void) gets(buf);
if (buf[0] != 'n') {
fprintf(cp_out, "running circuit\n");
com_run(NULL);
--- 666,672 ----
fprintf(cp_out, "run circuit? ");
fflush(cp_out);
! (void) fgets(buf,BSIZE_SP,stdin);
if (buf[0] != 'n') {
fprintf(cp_out, "running circuit\n");
com_run(NULL);