Re: getsockopt broken in cygwin 1.3.6-1

2001-12-04 Thread David Rothenberger
Kiran Prakash wrote: > > It seems that getsockopt is broken in the latest version. I experienced the same problem with getsockopt() in the distributed squid package. I tracked down the problem to a little typo in winsup/cygwin/net.cc. I've included a patch that fixes the problem. This is the

getsockopt broken in cygwin 1.3.6-1

2001-12-03 Thread Kiran Prakash
It seems that getsockopt is broken in the latest version. This error occured in tinyfugue, and the only line using getsockopt is the following : if (getsockopt(xsock->fd, SOL_SOCKET, SO_ERROR, (GENERIC*)&err, &len) < 0) { errmsg = "getsockopt";