[cvs-nhc98] patch applied (nhc98): corner-case: remove excess trailing newlines