From: Jens Vollinga Date: Wed, 21 Nov 2007 04:37:53 +0000 (+0000) Subject: * Fixed module loading bug (occured if . was not in the library path). X-Git-Tag: release_1-5-0~123 X-Git-Url: https://ginac.de/ginac.git/static/gitweb.css/ginac.git?a=commitdiff_plain;h=48a6c5094dd4ff641d0875b1303cfa8b2b489da1;p=ginac.git * Fixed module loading bug (occured if . was not in the library path). --- diff --git a/ginac/excompiler.cpp b/ginac/excompiler.cpp index 4cf28416..a148f38f 100644 --- a/ginac/excompiler.cpp +++ b/ginac/excompiler.cpp @@ -110,7 +110,7 @@ public: { if (filename.empty()) { // fill filename with unique random word - const char* filename_pattern = "GiNaCXXXXXX"; + const char* filename_pattern = "./GiNaCXXXXXX"; char* new_filename = new char[strlen(filename_pattern)+1]; strcpy(new_filename, filename_pattern); if (!mktemp(new_filename)) {