X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=n6+2RehUoXaKBgHJM4mWxsYP+zksb 991zfz57ZxHhISWpQaRdT5fHffhts6ltacxRLF9g7La/24G8WX2AoqUDwDO8GdrC y5fDiZnNuU8Mgv/4QAmVara4E1A7GQ6B+v4+ZFtwy4F2b0PE9uolnho6XQHDDO5t kbfrnD7c4C5PlQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=ELQOqThNhkPCtOsvxipUcdsEDpk=; b=Ff1 yAIzBGjppAEkrETlV+THiguIuiDVziOhbAF7eaBrYEeDH5nvYTmCyejlkM75qZ8p MirxXDK2ZakWUUmQIasfUjAQk10Qvf4wqqMxzUiJl87s8f61Om7+Ccp/EH8Y5XPD BHJwtu0rML0MwyobZVLmfZmZzb7lpPgelTZY7p24= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f173.google.com MIME-Version: 1.0 X-Received: by 10.182.5.65 with SMTP id q1mr21017231obq.74.1401494494687; Fri, 30 May 2014 17:01:34 -0700 (PDT) Date: Fri, 30 May 2014 19:01:34 -0500 Message-ID: Subject: cygwin not setting errno on "Connection refused" errors From: Luke White To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes 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" instead of "Connection refused". I'm using version 1.7.30 of cygwin64. I don't remember what version I was at before I upgraded. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple