diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-06 00:38:11 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-06 00:38:11 +0000 |
commit | 9b2db8e94a2dd349aad72259cdcdd425bf501466 (patch) | |
tree | 934304601baef757c0a4ea0a72bb548ffefb410a /pp_ctl.c | |
parent | 7517970fb027d70a681529abbff1c6444576c7e9 (diff) | |
download | perl-9b2db8e94a2dd349aad72259cdcdd425bf501466.tar.gz |
Patch from Peter Prymmer to disable utf8 in EBCDIC platforms.
p4raw-id: //depot/perl@7152
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2694,7 +2694,11 @@ Perl_sv_compile_2op(pTHX_ SV *sv, OP** startop, char *code, AV** avp) #else SAVEVPTR(PL_op); #endif +#ifdef EBCDIC + PL_hints = HINT_BYTE; +#else PL_hints = 0; +#endif PL_op = &dummy; PL_op->op_type = OP_ENTEREVAL; @@ -3240,7 +3244,11 @@ trylocal: { PL_rsfp = tryrsfp; SAVEHINTS(); +#ifdef EBCDIC + PL_hints = HINT_BYTE; +#else PL_hints = 0; +#endif SAVESPTR(PL_compiling.cop_warnings); if (PL_dowarn & G_WARN_ALL_ON) PL_compiling.cop_warnings = pWARN_ALL ; |