develooper Front page | perl.perl5.porters | Postings from December 2004

[patch sv.c] comment fix

Thread Next
From:
Stas Bekman
Date:
December 26, 2004 16:02
Subject:
[patch sv.c] comment fix
Message ID:
41CF50FE.5070307@stason.org
--- sv.c.orig   2004-12-26 19:00:17.505637904 -0500
+++ sv.c        2004-12-26 19:01:06.871979397 -0500
@@ -5341,10 +5341,10 @@
      mg->mg_moremagic = SvMAGIC(sv);
      SvMAGIC(sv) = mg;

-    /* Some magic sontains a reference loop, where the sv and object refer to
-       each other.  To prevent a reference loop that would prevent such
-       objects being freed, we look for such loops and if we find one we
-       avoid incrementing the object refcount.
+    /* Sometimes a magic contains a reference loop, where the sv and
+       object refer to each other.  To prevent a reference loop that
+       would prevent such objects being freed, we look for such loops
+       and if we find one we avoid incrementing the object refcount.

         Note we cannot do this to avoid self-tie loops as intervening RV must
         have its REFCNT incremented to keep it in existence.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About