summaryrefslogtreecommitdiff
path: root/cad/spice/patches/patch-ac
diff options
context:
space:
mode:
authorhubertf <hubertf>1998-06-11 14:39:01 +0000
committerhubertf <hubertf>1998-06-11 14:39:01 +0000
commit16dc55cd5a9fa169a938a2b09f091a6f2340e389 (patch)
tree4241ada6e2427b783f89ada0174a35075c4aab31 /cad/spice/patches/patch-ac
parent5f007ea70bc039cef9b5d1ac41fac5449006a56e (diff)
downloadpkgsrc-16dc55cd5a9fa169a938a2b09f091a6f2340e389.tar.gz
spice: A general-purpose circuit simulation program
Diffstat (limited to 'cad/spice/patches/patch-ac')
-rw-r--r--cad/spice/patches/patch-ac62
1 files changed, 62 insertions, 0 deletions
diff --git a/cad/spice/patches/patch-ac b/cad/spice/patches/patch-ac
new file mode 100644
index 00000000000..8ad35674f7b
--- /dev/null
+++ b/cad/spice/patches/patch-ac
@@ -0,0 +1,62 @@
+*** src/bin/sconvert.c.orig Tue Aug 19 17:44:17 1997
+--- src/bin/sconvert.c Tue Aug 19 17:47:11 1997
+***************
+*** 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:
+*** src/lib/fte/inp.c.orig Tue Aug 19 17:38:25 1997
+--- src/lib/fte/inp.c Tue Aug 19 17:33:01 1997
+***************
+*** 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);