]> www.ginac.de Git - ginac.git/blobdiff - ginac/excompiler.cpp
Bail out if both autogen and autogen'erated file(s) are missing.
[ginac.git] / ginac / excompiler.cpp
index 4cf284163036ee97f310c0b3bcc761ccbf9d4a02..1b4e73d6b33082301b393a3611909d10d7e4b73d 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 /*
- *  GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2008 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -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)) {