Преглед изворни кода

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

Bill Hoffman пре 17 година
родитељ
комит
2488dccf4e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Source/cmGlobalVisualStudio8Generator.cxx

+ 1 - 1
Source/cmGlobalVisualStudio8Generator.cxx

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