Shlomi Fish committed a070466

Change to SvPV_nolen instead of SvPVx_nolen.

Seems like SvPVx_nolen is undocumented API.

Comments (0)

Files changed (2)

 Revision history for Perl extension XML::LibXML
+    - Changed SvPVx_nolen() to SvPV_nolen() in LibXML.xs for better compatibility.
+        - SvPVx_nolen() appears to be undocumented API.
+        - Resolves
+        - Thanks to Paul for the report.
 1.85            Wed Aug 24 17:05:19 IDT 2011
     - Gracefully handle returned undef()s in the read callback under -w ($^W):
         - t/49callbacks_returning_undef.t
          * */
         output_sv = POPs;
-        output = SvOK(output_sv) ? SvPVx_nolen(output_sv) : NULL;    
+        output = SvOK(output_sv) ? SvPV_nolen(output_sv) : NULL;    
         if (output != NULL) {
             res_len = strlen(output);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.