summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-03-12 04:40:18 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-03-12 04:40:18 +0000
commit5e2b26cf2d55951a949a2fd481ea7ea074a6a160 (patch)
treea7e652197fe9eebea7b3f156cfb27988fd9085c2
parent454abbad320a177b89891abb4296def9f5c5e9ff (diff)
downloadATCD-5e2b26cf2d55951a949a2fd481ea7ea074a6a160.tar.gz
.
-rw-r--r--ChangeLog-99b4
-rw-r--r--ace/Get_Opt.cpp6
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index c0d08c2c9ce..33116086ce1 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,5 +1,9 @@
Thu Mar 11 20:11:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
+ * ace/Get_Opt.cpp (operator): Reverted the following change since
+ it will break documented behavior. Thanks to Jon Biggar for
+ reporting this.
+
* ace/Get_Opt.cpp (operator): When the getopt encountered an
unknown option or an option with a missing required argument, it
returned '?' and continues to allow processing with the next
diff --git a/ace/Get_Opt.cpp b/ace/Get_Opt.cpp
index 1681010c0fc..45c1921b6ce 100644
--- a/ace/Get_Opt.cpp
+++ b/ace/Get_Opt.cpp
@@ -122,8 +122,10 @@ ACE_Get_Opt::operator () (void)
++this->optind;
if (this->opterr && *this->optstring_ != ':')
- ACE_ERROR ((LM_ERROR, ASYS_TEXT ("%s: illegal option -- %c\n"),
- this->argv_[0], opt));
+ ACE_ERROR ((LM_ERROR,
+ ASYS_TEXT ("%s: illegal option -- %c\n"),
+ this->argv_[0],
+ opt));
return '?';
}