chiark
/
gitweb
/
~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
d245350
)
pathmtu/pathmtu.c: Fix search algorithm.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 17 Sep 2012 13:31:08 +0000
(14:31 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 17 Sep 2012 13:43:43 +0000
(14:43 +0100)
Turns out I can't write a binary search algorithm. Fiddle with it so
that it doesn't get stuck sometimes. Some of the bounds management is a
little tricky, so add some documentation and assertions to make sure
that everything is as expected.
No differences found