Small type bug in lmtpengine.c
Ken Murchison
murch at andrew.cmu.edu
Wed Apr 22 21:30:57 EDT 2009
Applied to CVS.
David Carter wrote:
> The quota parameter to verify_user() is quota_t, not long.
>
> Solaris 10 with bundled GCC 3.4.3 wasn't doing type promotion correctly.
> (long)(-1) becomes (long long int)(4294967295), which is >= 0.
>
> Consequently IGNOREQUOTA had no effect.
>
--
Kenneth Murchison
Systems Programmer
Carnegie Mellon University
More information about the Cyrus-devel
mailing list