summaryrefslogtreecommitdiff
path: root/build.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.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.c')
-rw-r--r--build.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.c b/build.c
index 8b71bb65f..fb32018d6 100644
--- a/build.c
+++ b/build.c
@@ -21,7 +21,7 @@
/**
*/
static int checkSpec(rpmts ts, Header h)
- /*@globals rpmGlobalMacroContext, fileSystem, internalState @*/
+ /*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
/*@modifies ts, h, rpmGlobalMacroContext, fileSystem, internalState @*/
{
rpmps ps;
@@ -57,7 +57,7 @@ static int checkSpec(rpmts ts, Header h)
/**
*/
static int isSpecFile(const char * specfile)
- /*@globals fileSystem, internalState @*/
+ /*@globals h_errno, fileSystem, internalState @*/
/*@modifies fileSystem, internalState @*/
{
char buf[256];
@@ -99,7 +99,7 @@ static int isSpecFile(const char * specfile)
*/
/*@-boundswrite@*/
static int buildForTarget(rpmts ts, const char * arg, BTA_t ba)
- /*@globals rpmGlobalMacroContext, fileSystem, internalState @*/
+ /*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
/*@modifies ts, rpmGlobalMacroContext, fileSystem, internalState @*/
{
const char * passPhrase = ba->passPhrase;