diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-06-20 10:58:10 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-06-20 10:58:10 +0300 |
commit | a36fe663614c7047a5dcd893ea39d2115be2ecc4 (patch) | |
tree | 398e0e55e2c2bacebb3aa5a63f71b2698b83b478 /rpmdb | |
parent | 57a53d1080b91343e5420acce88e3eaae86483e8 (diff) | |
download | rpm-a36fe663614c7047a5dcd893ea39d2115be2ecc4.tar.gz rpm-a36fe663614c7047a5dcd893ea39d2115be2ecc4.tar.bz2 rpm-a36fe663614c7047a5dcd893ea39d2115be2ecc4.zip |
Add reminder about enabling mmap() use after 4.4.2.1.
The code's been unused for years so too risky to enable right now but should
offer good performance improvement. Fix the HAVE_MMAP checks.
Diffstat (limited to 'rpmdb')
-rw-r--r-- | rpmdb/legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdb/legacy.c b/rpmdb/legacy.c index 5fa0431ad..b97d67b70 100644 --- a/rpmdb/legacy.c +++ b/rpmdb/legacy.c @@ -170,7 +170,7 @@ int domd5(const char * fn, unsigned char * digest, int asAscii, size_t *fsizep) switch(ut) { case URL_IS_PATH: case URL_IS_UNKNOWN: -#if HAVE_MMAP +#ifdef HAVE_MMAP if (pid == 0) { DIGEST_CTX ctx; void * mapped; |