summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmGlobalXCode21Generator.cxx2
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx6
-rw-r--r--Source/cmake.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmGlobalXCode21Generator.cxx b/Source/cmGlobalXCode21Generator.cxx
index f8a50c1..f482b26 100644
--- a/Source/cmGlobalXCode21Generator.cxx
+++ b/Source/cmGlobalXCode21Generator.cxx
@@ -19,7 +19,7 @@
cmGlobalXCode21Generator::cmGlobalXCode21Generator()
{
- this->this->XcodeVersion = 21;
+ this->XcodeVersion = 21;
}
//----------------------------------------------------------------------------
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 05289d0..bccf362 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -55,9 +55,9 @@ public:
{
this->Data.append(data, length);
}
- int this->Version;
- std::string this->Key;
- std::string this->Data;
+ int Version;
+ std::string Key;
+ std::string Data;
};
#endif
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 9496720..8411b92 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -112,9 +112,9 @@ cmake::cmake()
struct rlimit rlp;
if(!getrlimit(RLIMIT_STACK, &rlp))
{
- if(rlp.rlithis->cur != rlp.rlithis->max)
+ if(rlp.rlim_cur != rlp.rlim_max)
{
- rlp.rlithis->cur = rlp.rlithis->max;
+ rlp.rlim_cur = rlp.rlim_max;
setrlimit(RLIMIT_STACK, &rlp);
}
}