summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-07-10 06:58:14 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-07-10 06:58:14 +0000
commit4cddb5cd9c04fc106c6cfb974a57915742687c3a (patch)
treef3ae8dedb056fdfc265e1e645f9b5545e2a2631c /perlio.c
parent0fd95adb61df42e5ae3d161ccce442199790f6b6 (diff)
downloadperl-4cddb5cd9c04fc106c6cfb974a57915742687c3a.tar.gz
Fix open(...,"...:layer(xxx)",...)
- use memEQ not strEQ as there is '(' not '\0' p4raw-id: //depot/perlio@11252
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index e20563aaf6..093cc8a123 100644
--- a/perlio.c
+++ b/perlio.c
@@ -504,7 +504,7 @@ PerlIO_find_layer(pTHX_ const char *name, STRLEN len, int load)
for (i=0; i < PerlIO_known_layers->cur; i++)
{
PerlIO_funcs *f = PerlIO_known_layers->array[i].funcs;
- if (strEQ(f->name,name))
+ if (memEQ(f->name,name,len))
{
PerlIO_debug("%.*s => %p\n",(int)len,name,f);
return f;