diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-11-24 11:40:28 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-11-24 11:40:28 +0000 |
commit | 16815324371ba58b10695db6d57346a07b27a2e5 (patch) | |
tree | 6a590229d5bcac78a1445130b5f61387a28f60fe /gv.c | |
parent | b1233c72f2dabb53e03a3ecd66d79abc753b42e0 (diff) | |
download | perl-16815324371ba58b10695db6d57346a07b27a2e5.tar.gz |
Eliminating the duplicate logic in S_method_common() and
Perl_gv_fetchmethod_autoload() is clearly TODO.
Move the paragraph
"strcat(), strcpy(), strncat(), strncpy(), sprintf(), vsprintf()"
to the section "Tasks that need a little C knowledge" as it doesn't
need any XS knowledge.
p4raw-id: //depot/perl@32478
Diffstat (limited to 'gv.c')
-rw-r--r-- | gv.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -575,6 +575,17 @@ S_gv_get_super_pkg(pTHX_ const char* name, I32 namelen) return stash; } +/* FIXME. If changing this function note the comment in pp_hot's + S_method_common: + + This code tries to figure out just what went wrong with + gv_fetchmethod. It therefore needs to duplicate a lot of + the internals of that function. ... + + I'd guess that with one more flag bit that could all be moved inside + here. +*/ + GV * Perl_gv_fetchmethod_autoload(pTHX_ HV *stash, const char *name, I32 autoload) { |