cygwin not setting errno on "Connection refused" errors

2014-05-30 Thread Luke White
I just updated cygwin today, and I've noticed that errno is not being set when there's a connection refused error. This appears to be true for INET and UNIX domain sockets. For example: $ ssh -p 12345 localhost ssh: connect to host localhost port 12345: No error Notice how it reports "No error

what library provides __b64_ntop? (libresolv does not)

2013-05-20 Thread Luke White
I'm getting the following error if I try to compile something that includes resolv.h: $ gcc test.c -lresolv /tmp/cc0xhSEa.o:test.c:(.text+0x2e): undefined reference to `___b64_ntop' collect2: ld returned 1 exit status Here's the contents of test.c, which is just meant to demonstrate the problem:

Re: what library provides __b64_ntop? (libresolv does not)

2013-05-20 Thread Luke White
it seems a shame not to make it available. On Mon, May 20, 2013 at 9:49 PM, Yaakov (Cygwin/X) wrote: > On 2013-05-20 18:06, Luke White wrote: >> >> I'm getting the following error if I try to compile something that >> includes resolv.h: >> >> $ gcc test.