[cmake-commits] alex committed cmInstallExportGenerator.cxx 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jun 19 14:57:57 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv407
Modified Files:
cmInstallExportGenerator.cxx
Log Message:
COMP: fix build under windows
Alex
Index: cmInstallExportGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmInstallExportGenerator.cxx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cmInstallExportGenerator.cxx 19 Jun 2007 17:10:21 -0000 1.1
+++ cmInstallExportGenerator.cxx 19 Jun 2007 18:57:55 -0000 1.2
@@ -161,7 +161,7 @@
// for the case that somebody exports the same set with the same file name
// to different locations make the temp filename unique
char buf[64];
- snprintf(buf, 64, "%p", this);
+ sprintf(buf, "%p", this);
this->ExportFilename = this->TempOutputDir;
this->ExportFilename += "/";
this->ExportFilename += this->Filename;
More information about the Cmake-commits
mailing list