diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gperf/ChangeLog | 6 | ||||
-rw-r--r-- | apps/gperf/src/Options.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/gperf/ChangeLog b/apps/gperf/ChangeLog index 52b4c5175cb..b5a8a4bd6ef 100644 --- a/apps/gperf/ChangeLog +++ b/apps/gperf/ChangeLog @@ -1,3 +1,9 @@ +Mon Dec 24 12:47:27 2001 Carlos O'Ryan <coryan@uci.edu> + + * src/Options.cpp: + Add temporary fix until something better shows up, at least it + compiles this way! + Sat Sep 22 09:06:10 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu> * src/Makefile: Removed the rules.lib.GNU file since it didn't diff --git a/apps/gperf/src/Options.cpp b/apps/gperf/src/Options.cpp index 962248febc2..07d3e2311b5 100644 --- a/apps/gperf/src/Options.cpp +++ b/apps/gperf/src/Options.cpp @@ -701,7 +701,7 @@ Options::parse_args (int argc, char *argv[]) argv[getopt.optind], &Options::usage), -1); - if (++getopt.optind < argc) + if (getopt.optind + 1 < argc) ACE_ERROR_RETURN ((LM_ERROR, "Extra trailing arguments to %n.\n%r", usage), |