summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-05-02 15:55:25 +0000
committerNicholas Clark <nick@ccl4.org>2006-05-02 15:55:25 +0000
commit77004dee2553ce034a8a58b2b2849e3656df46c3 (patch)
tree5c6f226952cfe75df4a5ef743bc577879e0642b3 /pod
parent284edc75255273afc54ce4bfa99576ccc7d34c45 (diff)
downloadperl-77004dee2553ce034a8a58b2b2849e3656df46c3.tar.gz
Fix bug in DynaLoader, which has been passing a filename in dynamic
storage to newXS() seemingly forever. This involves creating newXS_flags(), with the first flag being "arrange to copy the filename and free it at the right time". p4raw-id: //depot/perl@28063
Diffstat (limited to 'pod')
-rw-r--r--pod/perlapi.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index 9cbf85472e..d608eef3c3 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -2725,7 +2725,8 @@ Found in file op.c
=item newXS
X<newXS>
-Used by C<xsubpp> to hook up XSUBs as Perl subs.
+Used by C<xsubpp> to hook up XSUBs as Perl subs. I<filename> needs to be
+static storage, as it is used directly as CvFILE(), without a copy being made.
=for hackers
Found in file op.c