[cvs-nhc98] patch applied (hat): Hat: add error-case hooks in archive file.