projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
874ad44
)
Perl_mode_from_discipline must update len. (else SEGV)
Nicholas Clark [Sat, 10 Jul 2004 16:00:44 +0000 (16:00 +0000)]
Diagnosis and patch from clkao
p4raw-id: //depot/perl@23076
doio.c
patch
|
blob
|
blame
|
history
diff --git
a/doio.c
b/doio.c
index
98e7204
..
a551d05
100644
(file)
--- a/
doio.c
+++ b/
doio.c
@@
-1172,6
+1172,7
@@
fail_discipline:
#ifndef PERLIO_LAYERS
Perl_croak(aTHX_ "IO layers (like '%.*s') unavailable", end-s, s);
#else
+ len -= end-s;
s = end;
#endif
}