[Dovecot] Compile issues dovecot-1.0.beta7

Timo Sirainen tss at iki.fi
Fri Apr 14 13:59:44 EEST 2006


On Thu, 2006-04-13 at 16:07 -0400, Mark E. Mallett wrote:
> Building in src/lib-dict/dict.c :
> 
> loading the 'dict' program fails because it can't find various RAND and
> other functions.  Adding -lcrypto fixes.  I did this by hand rather than
> adjusting the configure script; looks like the need for -lcrypto is
> detected in other cases, but not here.  

OK, fixed.

> ====================
> In src/plugins/quota/quota-fs.c , line 276:
> 
> #ifdef HAVE_QUOTACTL
>         if (quotactl(QCMD(Q_GETQUOTA, USRQUOTA), root->mount->device_path,
>                      root->uid, (void *)&dqblk) < 0) {
> 
> I believe the first two arguments are backwards, i.e., should be:
>         if (quotactl(root->mount->device_path, QCMD(Q_GETQUOTA, USRQUOTA),
>                      root->uid, (void *)&dqblk) < 0) {
> 
> I have a vague recollection of seeing this already being reported, but can't
> instantly find it, so what the hey.

It's correct for Linux, but backwards for BSDs.. I'll add yet another
ifdef there.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060414/1235fee6/attachment.pgp


More information about the dovecot mailing list