X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ebcdic.c;h=d74351078da3ef6eb85f64fdf8fd910899f9fe99;hb=4b7fcc74dfb0dfcd72a60881ab8de354c43fa9fb;hp=14e3955096d89eebdfe687a9c1beb591de74758f;hpb=864dbfa3ca8032ef66f7aa86961933b19b962357;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ebcdic.c b/ebcdic.c index 14e3955..d743510 100644 --- a/ebcdic.c +++ b/ebcdic.c @@ -15,7 +15,7 @@ ebcdic_control(int ch) ch = toupper(ch); if ((ctlp = strchr(controllablechars, ch)) == 0) { - die("unrecognised control character '%c'\n", ch); + Perl_die(aTHX_ "unrecognised control character '%c'\n", ch); } if (ctlp == controllablechars) @@ -28,6 +28,6 @@ ebcdic_control(int ch) else if (0 < ch && ch < (sizeof(controllablechars) - 1)) return(controllablechars[ch+1]); else - die("invalid control request: '\\%03o'\n", ch & 0xFF); + Perl_die(aTHX_ "invalid control request: '\\%03o'\n", ch & 0xFF); } }