This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin gcc 3.2 seems to break fetchmail


On Mon, Jan 06, 2003 at 02:00:25PM -0500, Jason Tishler wrote:
> Any suggestions on how to best debug this problem or potential root
> causes will be greatly appreciated.

A friend of mine suggested using -Wall to find questionable fetchmail
code that could behave differently under gcc 3.2.  The good news is that
I quickly found such code.  The bad news is that the code is mine! :,(

When my original Winsock recv(..., MSG_PEEK) workaround patch:

    http://sources.redhat.com/ml/cygwin/2002-04/msg01584.html

was factored to handle both SSL and non-SSL, I forgot the return
statement in the newly created cygwin_read() for the normal code path:

    http://cygwin.com/ml/cygwin/2002-06/msg00320.html

Actually, I am quite amazed that Cygwin fetchmail built with gcc 2.95.x
has processed 10,000s of messages without any problems over the last 8+
months.

I just uploaded a new fetchmail package to correct this problem.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]