summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-11 18:08:39 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-09-11 18:08:39 (GMT)
commitb2f845feee3fcff045affb501935f64cbbbdafd1 (patch)
tree1bed162ac01d5b993104ca1cb3696969c7851045 /Source/cmCacheManager.cxx
parentbef93dc5c1cd7985013c9df096efbaa9b79dd7ac (diff)
downloadCMake-b2f845feee3fcff045affb501935f64cbbbdafd1.zip
CMake-b2f845feee3fcff045affb501935f64cbbbdafd1.tar.gz
CMake-b2f845feee3fcff045affb501935f64cbbbdafd1.tar.bz2
Function strcasecmp is not portable
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 64a2edc..2b62fe2 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -611,7 +611,7 @@ void cmCacheManager::CacheIterator::SetValue(const char* value)
const char* cmCacheManager::CacheIterator::GetProperty(const char* property) const
{
- if ( !strcasecmp(property, "TYPE") || !strcasecmp(property, "VALUE") )
+ if ( !strcmp(property, "TYPE") || !strcmp(property, "VALUE") )
{
cmSystemTools::Error("Property \"", property,
"\" cannot be accessed through the GetProperty()");
@@ -629,7 +629,7 @@ const char* cmCacheManager::CacheIterator::GetProperty(const char* property) con
void cmCacheManager::CacheIterator::SetProperty(const char* p, const char* v)
{
- if ( !strcasecmp(p, "TYPE") || !strcasecmp(p, "VALUE") )
+ if ( !strcmp(p, "TYPE") || !strcmp(p, "VALUE") )
{
cmSystemTools::Error("Property \"", p,
"\" cannot be accessed through the SetProperty()");
@@ -641,7 +641,7 @@ void cmCacheManager::CacheIterator::SetProperty(const char* p, const char* v)
bool cmCacheManager::CacheIterator::GetPropertyAsBool(const char* property) const
{
- if ( !strcasecmp(property, "TYPE") || !strcasecmp(property, "VALUE") )
+ if ( !strcmp(property, "TYPE") || !strcmp(property, "VALUE") )
{
cmSystemTools::Error("Property \"", property,
"\" cannot be accessed through the GetPropertyAsBool()");
@@ -660,7 +660,7 @@ bool cmCacheManager::CacheIterator::GetPropertyAsBool(const char* property) cons
void cmCacheManager::CacheIterator::SetProperty(const char* p, bool v)
{
- if ( !strcasecmp(p, "TYPE") || !strcasecmp(p, "VALUE") )
+ if ( !strcmp(p, "TYPE") || !strcmp(p, "VALUE") )
{
cmSystemTools::Error("Property \"", p,
"\" cannot be accessed through the SetProperty()");