diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-07-10 06:58:14 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-07-10 06:58:14 +0000 |
commit | 4cddb5cd9c04fc106c6cfb974a57915742687c3a (patch) | |
tree | f3ae8dedb056fdfc265e1e645f9b5545e2a2631c /perlio.c | |
parent | 0fd95adb61df42e5ae3d161ccce442199790f6b6 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |