aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-04-27 18:16:28 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-04-27 18:16:28 +0300
commitab74a66c1b92c3d84ce39d764794225acc630a62 (patch)
treeb8038c650349c7f2ac99965827e98eeb160e8468 /io.c
parente81b0ee3ba90939adf124905d82856f7ea981af4 (diff)
downloadegawk-ab74a66c1b92c3d84ce39d764794225acc630a62.tar.gz
egawk-ab74a66c1b92c3d84ce39d764794225acc630a62.tar.bz2
egawk-ab74a66c1b92c3d84ce39d764794225acc630a62.zip
Fix multicharacter RS in traditional/posix modes.
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 3a5748b2..ca5545e7 100644
--- a/io.c
+++ b/io.c
@@ -3668,7 +3668,7 @@ set_RS()
if (RS->stlen == 0) {
RS_is_null = true;
matchrec = rsnullscan;
- } else if (RS->stlen > 1) {
+ } else if (RS->stlen > 1 && ! do_traditional) {
static bool warned = false;
RS_re_yes_case = make_regexp(RS->stptr, RS->stlen, false, true, true);