summaryrefslogtreecommitdiff
path: root/ace/Get_Opt.cpp
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-07 08:03:55 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-10-07 08:03:55 +0000
commit28d501fc933f7538e7d7387036fd8a74cc274db4 (patch)
treebbf322a3bd9db404423f5ae4f5dc695a4a53fa23 /ace/Get_Opt.cpp
parent12412a39bc9c7bf69ca773bf1ab9e271d7ab1705 (diff)
downloadATCD-28d501fc933f7538e7d7387036fd8a74cc274db4.tar.gz
ChangeLogTag:Sat Oct 7 000:50:02 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/Get_Opt.cpp')
-rw-r--r--ace/Get_Opt.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ace/Get_Opt.cpp b/ace/Get_Opt.cpp
index 5d7c24fb641..333660d762c 100644
--- a/ace/Get_Opt.cpp
+++ b/ace/Get_Opt.cpp
@@ -67,7 +67,7 @@ ACE_Get_Opt::dump (void) const
ACE_TRACE ("ACE_Get_Opt::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
- ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n")));
+ ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\n")));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
}
@@ -93,7 +93,7 @@ ACE_Get_Opt::operator () (void)
if (this->optind >= this->argc_
|| *(this->nextchar_ = this->argv_[this->optind]) != '-')
{
- this->nextchar_ = ACE_const_cast (ACE_TCHAR *, ACE_TEXT (""));
+ this->nextchar_ = ACE_const_cast (ACE_TCHAR *, ACE_LIB_TEXT (""));
return EOF;
}
@@ -102,7 +102,7 @@ ACE_Get_Opt::operator () (void)
{
// Found "--".
++this->optind;
- this->nextchar_ = ACE_const_cast (ACE_TCHAR *, ACE_TEXT (""));
+ this->nextchar_ = ACE_const_cast (ACE_TCHAR *, ACE_LIB_TEXT (""));
return EOF;
}
}
@@ -123,7 +123,7 @@ ACE_Get_Opt::operator () (void)
if (this->opterr && *this->optstring_ != ':')
ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("%s: illegal option -- %c\n"),
+ ACE_LIB_TEXT ("%s: illegal option -- %c\n"),
this->argv_[0],
opt));
return '?';
@@ -142,20 +142,20 @@ ACE_Get_Opt::operator () (void)
else if (this->argc_ <= ++this->optind)
{
// No arg.
- this->nextchar_ = ACE_const_cast (ACE_TCHAR *, ACE_TEXT (""));
+ this->nextchar_ = ACE_const_cast (ACE_TCHAR *, ACE_LIB_TEXT (""));
if (*this->optstring_ == ':')
return ':';
if (this->opterr)
ACE_ERROR ((LM_ERROR,
- ACE_TEXT ("%s: option requires an argument -- %c\n"),
+ ACE_LIB_TEXT ("%s: option requires an argument -- %c\n"),
this->argv_[0], opt));
return '?';
}
else // White space.
this->optarg = this->argv_[this->optind];
- this->nextchar_ = ACE_const_cast (ACE_TCHAR *, ACE_TEXT (""));
+ this->nextchar_ = ACE_const_cast (ACE_TCHAR *, ACE_LIB_TEXT (""));
++this->optind;
}