diff --git a/RegularExpression.cxx b/RegularExpression.cxx index cdadb956cca36fb4381d6dc56c0b41a4cbe67246..84cf8575f4da111aa080b1ff2315cf7f8a866ce0 100644 --- a/RegularExpression.cxx +++ b/RegularExpression.cxx @@ -77,6 +77,10 @@ RegularExpression::RegularExpression (const RegularExpression& rxp) { // operator= -- Copies the given regular expression. RegularExpression& RegularExpression::operator= (const RegularExpression& rxp) { + if(this == &rxp) + { + return *this; + } if ( !rxp.program ) { this->program = 0; diff --git a/kwsysDateStamp.cmake b/kwsysDateStamp.cmake index 8b7b2d0f2399cb031855a8a9f10b07f953cc3325..6513cfdd561fd547423b69e53a3a23ac33aed6bd 100644 --- a/kwsysDateStamp.cmake +++ b/kwsysDateStamp.cmake @@ -7,4 +7,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2008) SET(KWSYS_DATE_STAMP_MONTH 07) # KWSys version date day component. Format is DD. -SET(KWSYS_DATE_STAMP_DAY 09) +SET(KWSYS_DATE_STAMP_DAY 10)