This is the mail archive of the cygwin 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]

inetutils-1.3.2-34: setsockopt warning from ftp


I'm seeing a problem with ftp in inetutils-1.3.2-34 that was not
present in inetutils-1.3.2-33.

With -34:

% ftp ibiblio.org
ftp: setsockopt TOS (ignored): Protocol not available
Connected to ibiblio.org.
220 ProFTPD Server (Bring it on...)

With -33, I don't get the error about setsockopt. 

It seems that error is benign, because I can continue to
login. Unfortunately (for me), that error causes XEmacs to bomb when
it tries to use ftp to update packages.

Comparing strace from -33 and -34, I see the following in the -34
strace that's not in the -33 strace:

  200 10599481 [main] ftp 6256 cygwin_getsockname: 0 = getsockname (3, 0x40F470, 0x22EE08)
  104 10599585 [main] ftp 6256 cygwin_setsockopt: setsockopt optval=10
   81 10599666 [main] ftp 6256 __set_errno: void __set_winsock_errno(const char*, int):278 val 109
   72 10599738 [main] ftp 6256 __set_winsock_errno: cygwin_setsockopt:707 - winsock error 10042 -> errno 109
   74 10599812 [main] ftp 6256 cygwin_setsockopt: -1 = setsockopt (3, 0, A, 0x22EE04, 4)
  320 10600132 [main] ftp 6256 fhandler_base::write: binary write
  453 10600585 [main] ftp 6256 fhandler_base::write: binary write
  387 10600972 [main] ftp 6256 fhandler_base::write: binary write
  382 10601354 [main] ftp 6256 fhandler_base::write: binary write

Actually, cygwin_getsockname is in the -33 strace, but the
subsequent setsockopt call and binary writes are not.

-- 
David Rothenberger                spammer? -> spam@daveroth.dyndns.org
GPG/PGP: 0x92D68FD8, DB7C 5146 1AB0 483A 9D27 DFBA FBB9 E328 92D6 8FD8

The only winner in the War of 1812 was Tchaikovsky.
                -- David Gerrold

Attachment: cygcheck.out
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]