From 6844e58d8dde9c7477f69be9b1e39727cac6bdfe Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 12 Jun 2012 17:37:36 +0000 Subject: make some functions that not implemented since switching to rpm-4.6 to die they do nothing for 3.5 years by now... git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@195 971eb68f-4bfb-0310-8326-d2484c010a4c --- RPM4/NEWS | 1 + RPM4/src/RPM4.xs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/RPM4/NEWS b/RPM4/NEWS index 0c55c60..a1c9b1c 100644 --- a/RPM4/NEWS +++ b/RPM4/NEWS @@ -1,3 +1,4 @@ +- functions that not are implemented since switching to rpm-4.6 now die - use rpm-4.6+ API, not rpm-4.4 compatibility one (fix some memleaks btw) diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 4e62492..47de9dc 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -2143,23 +2143,27 @@ rpmsysinfodep(sysinfofile = NULL) char * sysinfofile PREINIT: PPCODE: + croak("rpmsysinfodep exists only in rpm5; unused anyway"); void rpmgetconfdep(path = NULL) char * path PREINIT: PPCODE: + croak("rpmgetconfdep exists only in rpm5; unused anyway"); void rpmcpuinfodep(path = NULL) char * path PREINIT: PPCODE: + croak("rpmcpuinfodep exists only in rpm5; unused anyway"); void rpmunamedep() PREINIT: PPCODE: + croak("rpmunamedep exists only in rpm5; unused anyway"); void rpmpipedep(cmd, tag = 0) -- cgit v1.2.1