-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
149 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
designs/* linguist-detectable=false | ||
.github/* linguist-detectable=false | ||
*.v linguist-detectable=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff --git a/scripts/configure b/scripts/configure | ||
index 46b1549..5cfee2d 100755 | ||
--- a/scripts/configure | ||
+++ b/scripts/configure | ||
@@ -5383,9 +5383,7 @@ fi | ||
|
||
|
||
|
||
-if test "x${CSH}" = "xno"; then | ||
- as_fn_error $? "cannot find /bin/csh---cannot compile!" "$LINENO" 5 | ||
-fi | ||
+ | ||
|
||
# Extract the first word of "python3", so it can be a program name with args. | ||
set dummy python3; ac_word=$2 | ||
diff --git a/scripts/makedbh b/scripts/makedbh | ||
index 01e4fa5..50426de 100755 | ||
--- a/scripts/makedbh | ||
+++ b/scripts/makedbh | ||
@@ -1,4 +1,4 @@ | ||
-#!/bin/csh -f | ||
+#!/usr/bin/env tcsh -f | ||
# | ||
# makes the "database.h" (1st argument, $1) file from "database.h.in" | ||
# (2nd argument, $2), setting various mask operation definitions | ||
diff --git a/scripts/printmans b/scripts/printmans | ||
index 05e2e1f..8d63c03 100755 | ||
--- a/scripts/printmans | ||
+++ b/scripts/printmans | ||
@@ -1,4 +1,4 @@ | ||
-#!/bin/csh -f | ||
+#!/usr/bin/env tcsh -f | ||
|
||
set cmd=($1) | ||
shift argv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
diff --git a/ext2spice/ext2spice.c b/ext2spice/ext2spice.c | ||
index 802c420..aa6c958 100644 | ||
--- a/ext2spice/ext2spice.c | ||
+++ b/ext2spice/ext2spice.c | ||
@@ -3189,8 +3189,8 @@ int spcnAP(dterm, node, resClass, scale, asterm, psterm, m, outf, w) | ||
return 1; | ||
} | ||
|
||
- if (asterm) sprintf(afmt, " %s=", asterm); | ||
- if (psterm) sprintf(pfmt, " %s=", psterm); | ||
+ if (asterm) snprintf(afmt, sizeof afmt, " %s=", asterm); | ||
+ if (psterm) snprintf(pfmt, sizeof pfmt, " %s=", psterm); | ||
|
||
if (!esDistrJunct || w == -1) goto newFmt; | ||
|
||
@@ -3206,13 +3206,13 @@ int spcnAP(dterm, node, resClass, scale, asterm, psterm, m, outf, w) | ||
{ | ||
if (asterm) | ||
{ | ||
- fprintf(outf, afmt); | ||
+ fputs(afmt, outf); | ||
esSIvalue(outf, 1.0E-12 * node->efnode_pa[resClass].pa_area | ||
* scale * scale * dsc); | ||
} | ||
if (psterm) | ||
{ | ||
- fprintf(outf, pfmt); | ||
+ fputs(pfmt, outf); | ||
esSIvalue(outf, 1.0E-6 * node->efnode_pa[resClass].pa_perim * scale * dsc); | ||
} | ||
} | ||
@@ -3220,13 +3220,13 @@ int spcnAP(dterm, node, resClass, scale, asterm, psterm, m, outf, w) | ||
{ | ||
if (asterm) | ||
{ | ||
- fprintf(outf, afmt); | ||
+ fputs(afmt, outf); | ||
esSIvalue(outf, 1.0E-12 * ((float)node->efnode_pa[resClass].pa_area | ||
* scale * scale) * esScale * esScale * dsc); | ||
} | ||
if (psterm) | ||
{ | ||
- fprintf(outf, pfmt); | ||
+ fputs(pfmt, outf); | ||
esSIvalue(outf, 1.0E-6 * ((float)node->efnode_pa[resClass].pa_perim | ||
* scale) * esScale * dsc); | ||
} | ||
@@ -3274,12 +3274,12 @@ newFmt: | ||
{ | ||
if (asterm) | ||
{ | ||
- fprintf(outf, afmt); | ||
+ fputs(afmt, outf); | ||
esSIvalue(outf, 1.0E-12 * area * scale * scale / m); | ||
} | ||
if (psterm) | ||
{ | ||
- fprintf(outf, pfmt); | ||
+ fputs(pfmt, outf); | ||
esSIvalue(outf, 1.0E-6 * perim * scale / m); | ||
} | ||
} | ||
@@ -3287,12 +3287,12 @@ newFmt: | ||
{ | ||
if (asterm) | ||
{ | ||
- fprintf(outf, afmt); | ||
+ fputs(afmt, outf); | ||
esSIvalue(outf, 1.0E-12 * ((float)area * scale * scale) * esScale * esScale); | ||
} | ||
if (psterm) | ||
{ | ||
- fprintf(outf, pfmt); | ||
+ fputs(pfmt, outf); | ||
esSIvalue(outf, 1.0E-6 * ((float)perim * scale) * esScale); | ||
} | ||
} | ||
@@ -3357,16 +3357,16 @@ int spcnAPHier(dterm, hierName, resClass, scale, asterm, psterm, m, outf) | ||
|
||
if (esScale < 0) | ||
{ | ||
- fprintf(outf, afmt); | ||
+ fputs(afmt, outf); | ||
esSIvalue(outf, 1.0E-12 * area * scale * scale / m); | ||
- fprintf(outf, pfmt); | ||
+ fputs(pfmt, outf); | ||
esSIvalue(outf, 1.0E-6 * perim * scale / m); | ||
} | ||
else | ||
{ | ||
- fprintf(outf, afmt); | ||
+ fputs(afmt, outf); | ||
esSIvalue(outf, 1.0E-12 * ((float)area * scale) * esScale * esScale); | ||
- fprintf(outf, pfmt); | ||
+ fputs(pfmt, outf); | ||
esSIvalue(outf, 1.0E-6 * ((float)perim * scale) * esScale); | ||
} | ||
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ click>=8.0.0,<9 | |
pyyaml>=5,<7 | ||
rich>=12,<13 | ||
requests>=2.27.0,<3 | ||
volare>=0.6.2 | ||
volare>=0.7.1 |