mirror of
https://github.com/cclassic/model-ghdl
synced 2025-09-14 21:15:39 +02:00
Changed workdir-ghdl filename
This commit is contained in:
@@ -152,7 +152,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
// Write temp path to /tmp
|
// Write temp path to /tmp
|
||||||
ofstream myfile;
|
ofstream myfile;
|
||||||
myfile.open ("/tmp/workdir-ghdl");
|
myfile.open ("/tmp/ghdl-workdir");
|
||||||
myfile << tempdir;
|
myfile << tempdir;
|
||||||
myfile.flush();
|
myfile.flush();
|
||||||
myfile.close();
|
myfile.close();
|
||||||
|
@@ -81,7 +81,7 @@ int main(int argc, char **argv) {
|
|||||||
char tempdir[256] = ""; // Compile dir
|
char tempdir[256] = ""; // Compile dir
|
||||||
|
|
||||||
ifstream myfile;
|
ifstream myfile;
|
||||||
myfile.open ("/tmp/workdir-ghdl");
|
myfile.open ("/tmp/ghdl-workdir");
|
||||||
myfile.getline(tempdir, sizeof(tempdir));
|
myfile.getline(tempdir, sizeof(tempdir));
|
||||||
myfile.close();
|
myfile.close();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user