X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=doio.c;h=0cdf87d68aec987d15af167114a389b805af7722;hb=aa2401440200f95c6f97edeae40977a0d02d3916;hp=485dfaa91d9f530d4183a61c46b3e87ea09aea07;hpb=97cc44eb3354a060109750a447392fc7db9722c4;p=p5sagit%2Fp5-mst-13.2.git diff --git a/doio.c b/doio.c index 485dfaa..0cdf87d 100644 --- a/doio.c +++ b/doio.c @@ -306,7 +306,7 @@ do_open(GV *gv, register char *name, I32 len, int as_raw, int rawmode, int rawpe if (!fp) { dTHR; if (ckWARN(WARN_NEWLINE) && IoTYPE(io) == '<' && strchr(name, '\n')) - warner(WARN_NEWLINE, warn_nl, "open"); + warner(WARN_NEWLINE, PL_warn_nl, "open"); goto say_false; } if (IoTYPE(io) && @@ -889,7 +889,7 @@ do_print(register SV *sv, PerlIO *fp) { dTHR; if (ckWARN(WARN_UNINITIALIZED)) - warner(WARN_UNINITIALIZED, warn_uninit); + warner(WARN_UNINITIALIZED, PL_warn_uninit); } return TRUE; case SVt_IV: @@ -957,7 +957,7 @@ my_stat(ARGSproto) PL_laststype = OP_STAT; PL_laststatval = PerlLIO_stat(s, &PL_statcache); if (PL_laststatval < 0 && ckWARN(WARN_NEWLINE) && strchr(s, '\n')) - warner(WARN_NEWLINE, warn_nl, "stat"); + warner(WARN_NEWLINE, PL_warn_nl, "stat"); return PL_laststatval; } } @@ -988,7 +988,7 @@ my_lstat(ARGSproto) PL_laststatval = PerlLIO_stat(SvPV(sv, PL_na),&PL_statcache); #endif if (PL_laststatval < 0 && ckWARN(WARN_NEWLINE) && strchr(SvPV(sv, PL_na), '\n')) - warner(WARN_NEWLINE, warn_nl, "lstat"); + warner(WARN_NEWLINE, PL_warn_nl, "lstat"); return PL_laststatval; } @@ -1444,7 +1444,7 @@ do_ipcget(I32 optype, SV **mark, SV **sp) #endif #if !defined(HAS_MSG) || !defined(HAS_SEM) || !defined(HAS_SHM) default: - croak("%s not implemented", op_desc[optype]); + croak("%s not implemented", PL_op_desc[optype]); #endif } return -1; /* should never happen */ @@ -1501,7 +1501,7 @@ do_ipcctl(I32 optype, SV **mark, SV **sp) #endif #if !defined(HAS_MSG) || !defined(HAS_SEM) || !defined(HAS_SHM) default: - croak("%s not implemented", op_desc[optype]); + croak("%s not implemented", PL_op_desc[optype]); #endif } @@ -1518,7 +1518,9 @@ do_ipcctl(I32 optype, SV **mark, SV **sp) a = SvPV(astr, len); if (len != infosize) croak("Bad arg length for %s, is %lu, should be %ld", - op_desc[optype], (unsigned long)len, (long)infosize); + PL_op_desc[optype], + (unsigned long)len, + (long)infosize); } } else