summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-06 20:45:30 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-06 20:45:30 +0000
commit3818b22bb9ef820a2553aa5e3504220f3b156f21 (patch)
tree53e97cd4154273174e1cb2cc51b69419507ec6a4 /pp_ctl.c
parentd308986b5b369caa1602a636a5e2ecfa149dfc89 (diff)
downloadperl-3818b22bb9ef820a2553aa5e3504220f3b156f21.tar.gz
set SvUTF8 on vectors only if there are chars > 127; update copyright
years (from Gisle Aas) p4raw-id: //depot/perl@5009
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 8eb02b7ff2..972c21d30c 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1,6 +1,6 @@
/* pp_ctl.c
*
- * Copyright (c) 1991-1999, Larry Wall
+ * Copyright (c) 1991-2000, Larry Wall
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -2865,7 +2865,7 @@ PP(pp_require)
sv = POPs;
if (SvNIOKp(sv)) {
UV rev, ver, sver;
- if (SvPOKp(sv) && SvUTF8(sv)) { /* require v5.6.1 */
+ if (SvPOKp(sv)) { /* require v5.6.1 */
I32 len;
U8 *s = (U8*)SvPVX(sv);
U8 *end = (U8*)SvPVX(sv) + SvCUR(sv);