diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-10-06 04:57:21 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-10-06 04:57:21 +0000 |
commit | 1a262b90a976e57cbd9f875d41584e47567f407c (patch) | |
tree | 11cfe6f78a1d6596d6e9177b05c145e666d16d10 | |
parent | c94002394c80b1566c062e336286b4009d5f1d50 (diff) | |
download | ATCD-1a262b90a976e57cbd9f875d41584e47567f407c.tar.gz |
.
-rw-r--r-- | apps/gperf/src/Gen_Perf.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gperf/src/Gen_Perf.cpp b/apps/gperf/src/Gen_Perf.cpp index 0cf7f440683..36e66889f81 100644 --- a/apps/gperf/src/Gen_Perf.cpp +++ b/apps/gperf/src/Gen_Perf.cpp @@ -367,14 +367,16 @@ Gen_Perf::run (void) if (this->open () == -1) return 1; +#if 0 if (option[BINARYSEARCH]) { - if (this->compute_binary_search () != 0) + if (this->compute_binary_search () == -1) return 1; } else +#endif { - if (this->compute_perfect_hash () != 0) + if (this->compute_perfect_hash () == -1) return 1; } |