Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Mark Crispin <mrc <at> cac.washington.edu>
Subject: Re: Negative usage and libc-client parsing
Newsgroups: gmane.mail.imap.uw.c-client
Date: Tuesday 15th November 2005 20:36:36 UTC (over 11 years ago)
On Tue, 15 Nov 2005, John Morrissey wrote:
> Yes, I would also rather avoid trying to convince Courier's maintainer to
> change this.

:-)

> Would a patch be accepted that detected negative usage and reported zero
in
> that case while still using strtoul() to achieve the full range of an RFC
> 2087 number? Zero is the de facto result of negative usage, and it would
> avoid throwing an error. It's almost cliched to say, but this would make
> libc-client more liberal in what it accepts, without impacting compliant
> implementations.

I don't want to do this by default, but the attached patch will do this if 
you specify "/loser" in the mailbox name.  You need to use "/loser" with 
Courier servers anyway.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
 
CD: 4ms