Mailing List Archived Message #592

Fra: "Paul Smedley" <> Full Headers
Undecoded message
Emne: Re: [eCS-ISP] ClamAV - USE_MPOOL
Dato: Wed, 18 Oct 2023 13:54:17 +1030
Til: eCS ISP Mailing List <>

Hi Steven,

On 18/10/23 11:44, Steven Levine wrote:
In <>, on 10/15/23
    at 05:45 PM, "Paul Smedley" <> said:

Hi Paul,

Is there a reason you are not building with USE_MPOOL?  Looking at:

void *mpool_malloc(struct MP *mp, size_t size)

and friends, the OS/2 code seems to be in place to support mpool using
DosAllocMem rather than mmap.  However, it looks like configure is missing
the code to allow OS/2 to enable mpool support.  Looking at

if test "$enable_mempool" = "yes"; then

configure will not allow enable_mempool because it assumes that OS/2 is
going to use mmap to implement the pool.

I hacked clamav-config.h to enable mpool and rebuilt.

It seems to work -

BTW, when you get a moment, please commit your configure and build cmd
files to the repo.  They are a useful reference.

Will do when I figure out mods to and/or build with cmake.



Abboner: Feed, Digest, Index.
Stopp abbonement
E-post til ListMaster