From 10148df83b75c899349d78c5dc0b878908dbbd84 Mon Sep 17 00:00:00 2001 From: cascade Date: Fri, 13 Feb 2009 18:33:58 +0000 Subject: [PATCH] OCC20850 umake command do not work on SunOS10 --- src/WOKTclUtils/WOKTclUtils_Path.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/WOKTclUtils/WOKTclUtils_Path.cxx b/src/WOKTclUtils/WOKTclUtils_Path.cxx index e7f21ed..d5993bd 100755 --- a/src/WOKTclUtils/WOKTclUtils_Path.cxx +++ b/src/WOKTclUtils/WOKTclUtils_Path.cxx @@ -60,22 +60,22 @@ Standard_Integer WOKTclUtils_Path::FileCompare(const Standard_Integer argc,const if(!p1->Exists()) { - ErrorMsg << argv[0] << "File : " << p1->Name() << " does not exists" << endm; + ErrorMsg() << argv[0] << "File : " << p1->Name() << " does not exists" << endm; return 1; } if(!p1->IsFile()) { - ErrorMsg << argv[0] << "File : " << p1->Name() << " is not a plain file" << endm; + ErrorMsg() << argv[0] << "File : " << p1->Name() << " is not a plain file" << endm; return 1; } if(!p2->Exists()) { - ErrorMsg << argv[0] << "File : " << p2->Name() << " does not exists" << endm; + ErrorMsg() << argv[0] << "File : " << p2->Name() << " does not exists" << endm; return 1; } if(!p2->IsFile()) { - ErrorMsg << argv[0] << "File : " << p2->Name() << " is not a plain file" << endm; + ErrorMsg() << argv[0] << "File : " << p2->Name() << " is not a plain file" << endm; return 1; } @@ -142,7 +142,7 @@ Standard_Integer WOKTclUtils_Path::DirectorySearch(const Standard_Integer argc,c break; default: { - ErrorMsg << argv[0] << argv[0] << " must have one and only one argument" << endm; + ErrorMsg() << argv[0] << argv[0] << " must have one and only one argument" << endm; WOKTclUtils_Path_DirectorySearch_Usage(argv[0]); } return 1; @@ -152,7 +152,7 @@ Standard_Integer WOKTclUtils_Path::DirectorySearch(const Standard_Integer argc,c if(!ext.IsNull() && !name.IsNull()) { - ErrorMsg << argv[0] + ErrorMsg() << argv[0] << "Option -E cannot be used in conjuction with -F" << endm; WOKTclUtils_Path_DirectorySearch_Usage(argv[0]); return 1; @@ -172,7 +172,7 @@ Standard_Integer WOKTclUtils_Path::DirectorySearch(const Standard_Integer argc,c if(!p->IsDirectory()) { - ErrorMsg << argv[0] << "Argument : " << p->Name() << " is not a directory" << endm; + ErrorMsg() << argv[0] << "Argument : " << p->Name() << " is not a directory" << endm; return 1; } -- 2.39.5