BUG: fix spelling errors BUG 952
This commit is contained in:
parent
8c656dc40d
commit
5b63b1843e
@ -2345,14 +2345,14 @@ int cmMakefile::ConfigureFile(const char* infile, const char* outfile,
|
|||||||
if(!fout)
|
if(!fout)
|
||||||
{
|
{
|
||||||
cmSystemTools::Error(
|
cmSystemTools::Error(
|
||||||
"Could not open file for write in copy operatation ",
|
"Could not open file for write in copy operation ",
|
||||||
tempOutputFile.c_str());
|
tempOutputFile.c_str());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
std::ifstream fin(sinfile.c_str());
|
std::ifstream fin(sinfile.c_str());
|
||||||
if(!fin)
|
if(!fin)
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("Could not open file for read in copy operatation ",
|
cmSystemTools::Error("Could not open file for read in copy operation ",
|
||||||
sinfile.c_str());
|
sinfile.c_str());
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -78,14 +78,14 @@ CopyAndFullPathMesaHeader(const char* source,
|
|||||||
std::ofstream fout(tempOutputFile.c_str());
|
std::ofstream fout(tempOutputFile.c_str());
|
||||||
if(!fout)
|
if(!fout)
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("Could not open file for write in copy operatation: ",
|
cmSystemTools::Error("Could not open file for write in copy operation: ",
|
||||||
tempOutputFile.c_str(), outdir);
|
tempOutputFile.c_str(), outdir);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
std::ifstream fin(source);
|
std::ifstream fin(source);
|
||||||
if(!fin)
|
if(!fin)
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("Could not open file for read in copy operatation",
|
cmSystemTools::Error("Could not open file for read in copy operation",
|
||||||
source);
|
source);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user