1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-25 08:55:05 +01:00

Changed workdir-ghdl filename

This commit is contained in:
Markus Koch 2015-01-19 19:29:35 +01:00
parent ae104a77ef
commit 6d3c712bec
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();