DragonFly BSD
DragonFly bugs List (threaded) for 2006-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Strange problem with errno and latest Sylpheed from pkgsrc

From: "Steve O'Hara-Smith" <steve@xxxxxxxxxx>
Date: Mon, 20 Feb 2006 12:07:34 +0000


	I've hit a really odd problem with the latest pkgsrc sylpheed
under 1.5.0 Preview. Attempts to fetch mail from my POP3 servers always
fail instantly - using gdb I tracked the problem to this bit of code:

      if (connect(sock, addr_data->addr, addr_data->addr_len) < 0) {
              if (EINPROGRESS == errno) {
              } else {

	It produces the message

connect: Operation now in progress

	Which would seem to indicate that errno is EINPROGRESS, but
in gdb print errno produces - $1 1179403647 which is an absurd number.

	At this point I am confused, I have hacked the code to pretend
connect cannot fail in order to use the application but that's not really
a solution :)

	Can any one shed any light on this please.

C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]