K 10 svn:author V 5 green K 8 svn:date V 27 2000-12-30T16:10:32.000000Z K 7 svn:log V 469 Fix a tailq conversion bug that resulted in, e.g., nvi crashing upon quitting every time. The way to free a CIRCLEQ was to loop until the current == current->head, but the way to free a TAILQ is to loop until current->head == NULL. In any case, the CORRECT way to do it is a loop of TAILQ_EMPTY() checks and TAILQ_REMOVE()al of TAILQ_FIRST(). This bug wouldn't have happened if the loop wasn't hard-coded... There may be more bugs of this type from the conversion. END