summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-10-16 09:06:26 +0000
committerNicholas Clark <nick@ccl4.org>2007-10-16 09:06:26 +0000
commiteb0d8d164d5cb9454deba917ad0f286e2bdca2ab (patch)
tree8801808032702e2a82da3cd54ecd7be6ddc20295 /embed.fnc
parent3088bf268afeb12cc877219dfb8affa77c98e706 (diff)
downloadperl-eb0d8d164d5cb9454deba917ad0f286e2bdca2ab.tar.gz
Pass in explicit lengths for the key and type arguments to
S_new_constant() in toke.c, as we know all the lengths already. Brought to you by the Campaign for the Elimination of strlen(). p4raw-id: //depot/perl@32111
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc6
1 files changed, 4 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index d4fa4be829..f6593a9ed3 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1550,8 +1550,10 @@ sR |I32 |sublex_start
sR |char * |filter_gets |NN SV *sv|NN PerlIO *fp|STRLEN append
sR |HV * |find_in_my_stash|NN const char *pkgname|I32 len
sR |char * |tokenize_use |int is_use|NN char *s
-s |SV* |new_constant |NULLOK const char *s|STRLEN len|NN const char *key|NN SV *sv \
- |NULLOK SV *pv|NULLOK const char *type
+so |SV* |new_constant |NULLOK const char *s|STRLEN len \
+ |NN const char *key|STRLEN keylen|NN SV *sv \
+ |NULLOK SV *pv|NULLOK const char *type \
+ |STRLEN typelen
s |int |ao |int toketype
s |const char*|incl_perldb
# if defined(PERL_CR_FILTER)