summaryrefslogtreecommitdiff
path: root/rpmio/rpmfileutil.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-04 16:20:11 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-04 16:20:56 +0200
commit4cb02aa928d3e41f636d0e01356c7a3cb51018ee (patch)
tree2fc66511dcfeb7bd05efc58b495ef41bc8a555db /rpmio/rpmfileutil.c
parent8dd92d661dd50b7af5563242c9ffe2ce418f0f15 (diff)
downloadlibrpm-tizen-4cb02aa928d3e41f636d0e01356c7a3cb51018ee.tar.gz
librpm-tizen-4cb02aa928d3e41f636d0e01356c7a3cb51018ee.tar.bz2
librpm-tizen-4cb02aa928d3e41f636d0e01356c7a3cb51018ee.zip
Re-enable mmap test in configure & fix the code build again
- this stuff has been disabled for years, lets see what breaks...
Diffstat (limited to 'rpmio/rpmfileutil.c')
-rw-r--r--rpmio/rpmfileutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmio/rpmfileutil.c b/rpmio/rpmfileutil.c
index cb36ebe25..19dc5eb30 100644
--- a/rpmio/rpmfileutil.c
+++ b/rpmio/rpmfileutil.c
@@ -155,6 +155,7 @@ int rpmDoDigest(pgpHashAlgo algo, const char * fn,int asAscii,
case URL_IS_UNKNOWN:
#ifdef HAVE_MMAP
if (pid == 0) {
+ int xx;
DIGEST_CTX ctx;
void * mapped;