Browse Source

BUG: fix location of tmp file to use the full path, caused error on vista not running as admin

Bill Hoffman 18 năm trước cách đây
mục cha
commit
2488dccf4e

+ 1 - 1
Source/cmGlobalVisualStudio8Generator.cxx

@@ -162,7 +162,7 @@ void cmGlobalVisualStudio8Generator::Generate()
       stampListFile += "/";
       stampListFile += "/";
       stampListFile += stampList;
       stampListFile += stampList;
       std::string stampFile;
       std::string stampFile;
-      cmGeneratedFileStream fout(stampList.c_str());
+      cmGeneratedFileStream fout(stampListFile.c_str());
       for(std::vector<cmLocalGenerator*>::const_iterator
       for(std::vector<cmLocalGenerator*>::const_iterator
             gi = generators.begin(); gi != generators.end(); ++gi)
             gi = generators.begin(); gi != generators.end(); ++gi)
         {
         {