Small type bug in lmtpengine.c

2009-04-22 Thread David Carter
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. -- David Carter Email:

Re: Small type bug in lmtpengine.c

2009-04-22 Thread Ken Murchison
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