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

Fabio Tranchitella kobold at debian.org
Mon Dec 18 17:42:33 UTC 2006


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;
    int lflag = 0, Vflag = 0;

    lib_init();

Thanks!

Fabio Tranchitella <kobold at debian.org>                        .''`.
Proud Debian GNU/Linux developer, admin and user.            : :'  :
                                                             `. `'`
   http://people.debian.org/~kobold/                           `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564


More information about the dovecot mailing list