perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Fwd: [rt.cpan.org #64999] AutoReply: GvCV and GvGP lvalue changes in perl core
Date Sat, 22 Jan 2011 04:34:48 GMT
Cc'ing the ticket so Dave can join in the list discussion.


---------- Forwarded message ----------
From: Dave Mitchell via RT <bug-mod_perl@rt.cpan.org>
Date: Fri, Jan 21, 2011 at 9:36 AM
Subject: Re: [rt.cpan.org #64999] AutoReply: GvCV and GvGP lvalue
changes in perl core
To:


      Queue: mod_perl
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=64999 >

On Fri, Jan 21, 2011 at 11:37:34AM -0500, I wrote:
>     #  define GvCV_set(gv,cv) (GvGP(gv)->gp_cv = (cv))
[snip]
>     #  define GvGP_set(gv,gp) ((gv)->sv_u.svu_gp = (gp))

Actually on reflection, those could be better written as:

       #define GvCV_set(gv, cv) (GvCV(gv) = (cv))
       #define GvGP_set(gv, gp) (GvGP(gv) = (gp))


--
O Unicef Clearasil!
Gibberish and Drivel!
   -- "Bored of the Rings"

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message