From b7e4f83858f100e4c1d26420b889df06fed0fdd7 Mon Sep 17 00:00:00 2001 From: rjray Date: Fri, 18 Aug 2000 08:23:25 +0000 Subject: [PATCH] Added a field to the RPM_Header struct. CVS patchset: 4078 CVS date: 2000/08/18 08:23:25 --- Perl-RPM/RPM.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Perl-RPM/RPM.h b/Perl-RPM/RPM.h index 7848ac2..b5640ca 100644 --- a/Perl-RPM/RPM.h +++ b/Perl-RPM/RPM.h @@ -1,5 +1,5 @@ /* - * $Id: RPM.h,v 1.8 2000/08/06 08:57:09 rjray Exp $ + * $Id: RPM.h,v 1.9 2000/08/18 08:23:25 rjray Exp $ * * Various C-specific decls/includes/etc. for the RPM linkage */ @@ -90,6 +90,9 @@ typedef struct { /* Keep a per-header iterator for things like FIRSTKEY and NEXTKEY */ HeaderIterator iterator; int read_only; + /* Since we close the files after reading, store the filename here in case + we have to re-open it later */ + char* source_name; } RPM_Header; typedef HV* RPM__Header; -- 2.7.4