Back out 1.47 and 1.46 so that lsd works again, but leave sample re-implementations of changes desired by 1.46 and 1.47 in #if 0'd form. This doubtless breaks Thomer's test thingy but lets us use lsd without segv.
Back out 1.47 and 1.46 so that lsd works again, but leave
sample re-implementations of changes desired by 1.46 and 1.47
in #if 0'd form. This doubtless breaks Thomer's test thingy but
lets us use lsd without segv.

weidezhang/dht,sit/dht,sit/dht,weidezhang/dht,weidezhang/dht,sit/dht,weidezhang/dht,sit/dht,weidezhang/dht,sit/dht