From 48a6c5094dd4ff641d0875b1303cfa8b2b489da1 Mon Sep 17 00:00:00 2001 From: Jens Vollinga Date: Wed, 21 Nov 2007 04:37:53 +0000 Subject: [PATCH 1/1] * Fixed module loading bug (occured if . was not in the library path). --- ginac/excompiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.44.0