summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-01-02 16:18:15 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2012-01-02 16:18:15 +0000
commitd2d5c9be83a55bd949e57590889c3601014a9b55 (patch)
tree1ee266e4edd5c53b88cb3f34d518af71b553d86c
parent961540c8ed73bb2c2252b032745b214956428676 (diff)
downloadperl-RPM4-d2d5c9be83a55bd949e57590889c3601014a9b55.tar
perl-RPM4-d2d5c9be83a55bd949e57590889c3601014a9b55.tar.gz
perl-RPM4-d2d5c9be83a55bd949e57590889c3601014a9b55.tar.bz2
perl-RPM4-d2d5c9be83a55bd949e57590889c3601014a9b55.tar.xz
perl-RPM4-d2d5c9be83a55bd949e57590889c3601014a9b55.zip
(transCallback) handle RPMCALLBACK_SCRIPT_ERROR
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@170 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/NEWS1
-rw-r--r--RPM4/src/RPM4.xs3
2 files changed, 4 insertions, 0 deletions
diff --git a/RPM4/NEWS b/RPM4/NEWS
index e8e56b7..b675d25 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,4 +1,5 @@
- fix for a random segfault
+- report script errors
Version 0.25 - 14 December 2011
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 57265c2..2cf9e36 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -275,6 +275,9 @@ void *
case RPMCALLBACK_CPIO_ERROR:
s_what = "CPIO_ERROR";
break;
+ case RPMCALLBACK_SCRIPT_ERROR:
+ s_what = "SCRIPT_ERROR";
+ break;
}
XPUSHs(sv_2mortal(newSVpv("what", 0)));