13 lines
540 B
Plaintext
13 lines
540 B
Plaintext
|
$OpenBSD: patch-Source_cmLocalUnixMakefileGenerator3_cxx,v 1.1.1.1 2006/07/20 09:23:13 espie Exp $
|
||
|
--- Source/cmLocalUnixMakefileGenerator3.cxx.orig Tue Jul 18 11:05:28 2006
|
||
|
+++ Source/cmLocalUnixMakefileGenerator3.cxx Tue Jul 18 11:05:40 2006
|
||
|
@@ -1001,7 +1001,7 @@ cmLocalUnixMakefileGenerator3::CreateSaf
|
||
|
bool done;
|
||
|
int cc = 0;
|
||
|
char rpstr[100];
|
||
|
- sprintf(rpstr, "_p_");
|
||
|
+ snprintf(rpstr, sizeof rpstr, "_p_");
|
||
|
cmSystemTools::ReplaceString(ssin, "+", rpstr);
|
||
|
std::string sssin = sin;
|
||
|
do
|