From: imiyazaki Date: Mon, 6 Sep 2004 13:54:21 +0000 (+0000) Subject: return error if IDS data file is irregular. X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fomega.git;a=commitdiff_plain;h=fbb86edbf0756a696b07f421d015baf4d003f8aa return error if IDS data file is irregular. --- diff --git a/inCHISE b/inCHISE index fa742c9..67726bc 100755 --- a/inCHISE +++ b/inCHISE @@ -132,6 +132,8 @@ if(-e $idsdata_file){ $font_start=$1,$ids_start=$2; }elsif(m/^(.*?)\t(\d+)\t(\d+)/){ $ids{$1}=[$2,$3,]; + }else{ + die "Irregular IDS file: $idsdata_file.\n"; } } seek(IDSDATA,0,0);