PR: 19468 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
PR: ports/4319 Submitted by: lukin@okbmei.msk.su