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;
}
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;
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;
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;
}