summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-02-26 00:27:19 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-26 14:39:15 +0000
commita0ea11f27510bfd5c321cc9b6bbb1b1dc64a058c (patch)
treea149cf758bc2a9a6886d6912e82709047b38c4c9 /perlio.c
parent66a74c25c82fcbe144b3c1b3ec54201375341f2b (diff)
downloadperl-a0ea11f27510bfd5c321cc9b6bbb1b1dc64a058c.tar.gz
perlio - unknown layer
Message-ID: <20010226002719.E23333@plum.flirble.org> p4raw-id: //depot/perl@8951
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 982a98c004..9f12be6273 100644
--- a/perlio.c
+++ b/perlio.c
@@ -684,8 +684,10 @@ PerlIO_apply_layers(pTHX_ PerlIO *f, const char *mode, const char *names)
return -1;
}
}
- else
+ else {
Perl_warn(aTHX_ "perlio: unknown layer \"%.*s\"",(int)llen,s);
+ return -1;
+ }
}
s = e;
}