[perl-Cairo] Avoid misusing PL_na



commit e1d6df0cd8305c987860c59a7bc375facaf02f89
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Wed Sep 25 19:56:18 2013 +0200

    Avoid misusing PL_na

 CairoSurface.xs |    2 +-
 NEWS            |    7 +++++++
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/CairoSurface.xs b/CairoSurface.xs
index 3a834e2..3639ea3 100644
--- a/CairoSurface.xs
+++ b/CairoSurface.xs
@@ -36,7 +36,7 @@ cairo_perl_package_table_insert (void *pointer, const char *package)
        }
 
        sprintf (key, "%p", pointer);
-       hv_store (pointer_to_package, key, strlen (key), newSVpv (package, PL_na), 0);
+       hv_store (pointer_to_package, key, strlen (key), newSVpv (package, 0), 0);
 }
 
 const char *
diff --git a/NEWS b/NEWS
index cf99cca..5209982 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,10 @@
+Overview of changes in Cairo <next>
+==================================
+
+* Avoid misusing the macro PL_na, thus preventing potential issues when Cairo
+  is used in conjunction with certain XS modules, among them XML::Parser and
+  String::Approx.
+
 Overview of changes in Cairo 1.103
 ==================================
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]