* Fixed module loading bug (occured if . was not in the library path).
authorJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Wed, 21 Nov 2007 04:37:53 +0000 (04:37 +0000)
committerJens Vollinga <vollinga@thep.physik.uni-mainz.de>
Wed, 21 Nov 2007 04:37:53 +0000 (04:37 +0000)
ginac/excompiler.cpp

index 4cf284163036ee97f310c0b3bcc761ccbf9d4a02..a148f38f4cf2d68dcf13474084b747f6deb7922e 100644 (file)
@@ -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)) {