aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-17 17:31:04 +0000
committermarha <marha@users.sourceforge.net>2009-10-17 17:31:04 +0000
commit27bc6d5e30150409259aa9030e668e801eb0b5a6 (patch)
tree622faefa2730e70c58bcca13c3e38eebba442f60
parent821ad28aad2f8c3cf4bbef9c8ac053943603cc67 (diff)
downloadvcxsrv-27bc6d5e30150409259aa9030e668e801eb0b5a6.tar.gz
vcxsrv-27bc6d5e30150409259aa9030e668e801eb0b5a6.tar.bz2
vcxsrv-27bc6d5e30150409259aa9030e668e801eb0b5a6.zip
Solved crash when svn command is not found.
-rw-r--r--tools/mhmake/src/util.cpp2
-rw-r--r--tools/mhmake/src/util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp
index f89009206..86b6ffcd1 100644
--- a/tools/mhmake/src/util.cpp
+++ b/tools/mhmake/src/util.cpp
@@ -279,7 +279,7 @@ loadedmakefile::loadedmakefile_statics::loadedmakefile_statics()
string SvnCommand=SearchCommand("svn",EXEEXT);
Ret=OsExeCommand(SvnCommand,string(" info ")+m_MhMakeConf->GetQuotedFullFileName(),false,&Output);
}
- catch (int)
+ catch (string Message)
{
Ret=false;
}
diff --git a/tools/mhmake/src/util.h b/tools/mhmake/src/util.h
index 607c1cb37..0ec798ab9 100644
--- a/tools/mhmake/src/util.h
+++ b/tools/mhmake/src/util.h
@@ -50,7 +50,7 @@
#define PLATFORM "linux"
#endif
-#define MHMAKEVER "1.4.1"
+#define MHMAKEVER "1.4.2"
#define MAKEDEPFILE ".makefile.dep"