leave fencepost condition *completely* open-ended. Closes 1286.
authorMark Eichin <eichin@cygnus>
Tue, 14 Jul 1992 22:33:02 +0000 (22:33 +0000)
committerMark Eichin <eichin@cygnus>
Tue, 14 Jul 1992 22:33:02 +0000 (22:33 +0000)
gprof/lookup.c

index 1892101f0aca3e16f841861dedd7833b696d8687..1478faf6455b5da3b28e8cfb99fc4a9c505bcd9b 100644 (file)
@@ -63,7 +63,7 @@ nllookup( address )
            low = middle + 1;
        }
     }
-    if(nl[middle+1].value == address) {
+    if(nl[middle+1].value <= address) {
 #          ifdef DEBUG
       if (debug & LOOKUPDEBUG ) {
        printf("[nllookup] %d (%d) probes, fall off\n", probes, nname-1);