Fix off-by-one errors in code to find depth of stack.
XXX The code is still widely inaccurate, but most (all?) of the time it's an overestimate.
J
Jeremy Hylton committed
4ba9001f5c9ecb144d1a63782a3fd5cd3646587a
Parent: 8779787