[Dovecot] 1.0.rc27 released - Compiling on AIX - brovke bitfield in mbox-sync-private.h

Václav Haisman V.Haisman at sh.cvut.cz
Sat Mar 17 02:39:42 EET 2007



Ralf Becker wrote, On 14.3.2007 7:48:
[...]
> ------------------------------------------------------------------------
> 
> --- ./dovecot-1.0.rc27/src/lib-storage/index/mbox/mbox-sync-private.h.org	2007-03-14 07:20:35.000000000 +0100
> +++ ./dovecot-1.0.rc27/src/lib-storage/index/mbox/mbox-sync-private.h	2007-03-14 07:21:00.000000000 +0100
> @@ -47,9 +47,9 @@
>  	array_t ARRAY_DEFINE(keywords, unsigned int);
>  	uint8_t flags;
>  
> -	uint8_t uid_broken:1;
> -	uint8_t expunged:1;
> -	uint8_t pseudo:1;
> +	uint32_t uid_broken:1;
> +	uint32_t expunged:1;
> +	uint32_t pseudo:1;
Maybe the whole chunk starting from uint8_t flags; could be like this instead:

uint32_t flags:8;
uint32_t uid_broken:1;
uint32_t expunged:1;
uint32_t pseudo:1;

>  
>  	uoff_t from_offset;
>  	uoff_t body_size;

--
VH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 542 bytes
Desc: OpenPGP digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20070317/484c3d6a/attachment-0001.pgp 


More information about the dovecot mailing list