tmscan.c revision 3e14f97f673e8a630f076077de35afdd43dc1587