[Dovecot] [PATCH] Fix for dovecotpw on powerpc and other architectures

Timo Sirainen tss at iki.fi
Thu Dec 21 21:19:38 UTC 2006


On Mon, 2006-12-18 at 18:42 +0100, Fabio Tranchitella wrote:
> Hi, please apply the following patch to dovecotpw. Without this, it
> will be unusable on powerpc and (maybe) other architectures where
> the char is unsigned by default.
> 
> --- dovecot-1.0/src/util/dovecotpw.c    (revisione 2066)
> +++ dovecot-1.0.new/src/util/dovecotpw.c    (copia locale)
> @@ -40,7 +40,7 @@
>     const char *user = NULL;
>     char *scheme = NULL;
>     char *plaintext = NULL;
> -   char ch;
> +   signed char ch;

It should actually be int. Committed fix to cvs.

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


More information about the dovecot mailing list