summaryrefslogtreecommitdiff
path: root/build/parsePreamble.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2003-05-08 20:39:29 +0000
committerjbj <devnull@localhost>2003-05-08 20:39:29 +0000
commit9c5529608e389271b80469054bfe80737521590a (patch)
treeb1df8b79cd3fdbb7f10d3b48ee25fddb66072fe3 /build/parsePreamble.c
parentdb7ab2f447ee6097b2e98a526f6383a5ca388718 (diff)
downloadlibrpm-tizen-9c5529608e389271b80469054bfe80737521590a.tar.gz
librpm-tizen-9c5529608e389271b80469054bfe80737521590a.tar.bz2
librpm-tizen-9c5529608e389271b80469054bfe80737521590a.zip
- don't use error string after gzclose (Dmitry V. Levin).
Spliddles for rpmio, drill h_errno all the way through. CVS patchset: 6826 CVS date: 2003/05/08 20:39:29
Diffstat (limited to 'build/parsePreamble.c')
-rw-r--r--build/parsePreamble.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c
index 9f88757ef..16d3b123c 100644
--- a/build/parsePreamble.c
+++ b/build/parsePreamble.c
@@ -334,7 +334,7 @@ static struct optionalTag {
/**
*/
static void fillOutMainPackage(Header h)
- /*@globals rpmGlobalMacroContext @*/
+ /*@globals rpmGlobalMacroContext, h_errno @*/
/*@modifies h, rpmGlobalMacroContext @*/
{
struct optionalTag *ot;
@@ -355,7 +355,7 @@ static void fillOutMainPackage(Header h)
*/
/*@-boundswrite@*/
static int readIcon(Header h, const char * file)
- /*@globals rpmGlobalMacroContext, fileSystem, internalState @*/
+ /*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
/*@modifies h, rpmGlobalMacroContext, fileSystem, internalState @*/
{
const char *fn = NULL;
@@ -460,7 +460,7 @@ extern int noLang;
/*@-boundswrite@*/
static int handlePreambleTag(Spec spec, Package pkg, int tag, const char *macro,
const char *lang)
- /*@globals rpmGlobalMacroContext, fileSystem, internalState @*/
+ /*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
/*@modifies spec->macros, spec->st, spec->buildRootURL,
spec->sources, spec->numSources, spec->noSource,
spec->buildRestrictions, spec->BANames, spec->BACount,