develooper Front page | perl.perl5.porters | Postings from January 2014

about commit "vxs.inc: Integrate the CPAN version of version_new"

Thread Next
From:
bulk88
Date:
January 5, 2014 00:00
Subject:
about commit "vxs.inc: Integrate the CPAN version of version_new"
Message ID:
BLU0-SMTP29693BFF13DAD4DD641A74CDFB40@phx.gbl


In 
http://perl5.git.perl.org/perl.git/blobdiff/11e14f5aadedb74e66c75f3baa44e4eb93dcf1c1..e1c774b63b5d338bcd31ca90bfd101f387e4fb43:/vxs.inc 
the commit body says "No behaviour changes; just rearranged, and with a 
few extra #ifdefs." yet if you look at the actual diff

-------------------------------------------------------------
-       if ( items == 1 || ! SvOK(vs) ) { /* no param or explicit undef*/
-           /* create empty object */
-           vs = sv_newmortal();
-           sv_setpvs(vs, "0");
-       }
-------------------------------------------------------------
becomes
-------------------------------------------------------------
+    if ( items == 1 || ! SvOK(vs) ) { /* no param or explicit undef */
+        /* create empty object */
+        vs = sv_newmortal();
+        sv_setpvs(vs,"undef");
+    }
-------------------------------------------------------------

I'm not sure that is a "No behaviour changes". Comments anyone?

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