projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0716bf9
)
PerlIO ":encoding(foobar)" temporary fix.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 10 Jul 2001 02:06:57 +0000
(
02:06
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 10 Jul 2001 02:06:57 +0000
(
02:06
+0000)
Not really correct, I think, since the change means
that prefixes match.
p4raw-id: //depot/perl@11248
perlio.c
patch
|
blob
|
history
diff --git
a/perlio.c
b/perlio.c
index
e20563a
..
65dfa59
100644
(file)
--- 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 (str
EQ(f->name,name
))
+ if (str
nEQ(f->name,name,len
))
{
PerlIO_debug("%.*s => %p\n",(int)len,name,f);
return f;