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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=RcbXpozi/xZxb1XIGifVbmTMf3m0Xnneav6i60HrvfhMC7nagZf/K CfJJYLk+nWTRS6NvoFEZE5MS6rKsnLGIucnvzhQ+PzazWN9UfPANMLRzGeQA51Dl lJt1kmw47OJeKIS4BcWi1qG3x6hLUjTBER8jkeaibiy3cEGN6ZnBQE= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=nL3RlxMAbzpQYcu0oXfmWSeLwCU=; b=eANm2rC/5qQ3YSg4x1JYdt9djSfU 06a3Op1O1FeiY77od0xIs0eEHfNEUp565AszkxcNrudOPLDQYI3sjOAfoIAmzWRs Y+C98xtE0y6hjiJRzikmMTQfgZt19XPczj6ZqaRNWNRhJ8310WbVko7nJDa8O7F3 Lg4dMLV7erIwxcI= 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.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Mark Geisert Subject: Re: getent services enumeration glitch Date: Tue, 18 Aug 2015 23:43:28 +0000 (UTC) Lines: 15 Message-ID: References: <20150818112416 DOT GN17917 AT calimero DOT vinschen DOT de> <6CF2FC1279D0844C9357664DC5A08BA210A9A230 AT msgb09 DOT nih DOT gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Buchbinder, Barry writes: > Corinna Vinschen sent the following at Tuesday, August 18, 2015 7:24 AM > >On Aug 18 09:40, Mark Geisert wrote: > >Congratulations! You found a 13 years old bug in Cygwin's getservent > >implementation, which returned the port number in host byte order > >instead of in network byte order for all this time. Makes me wonder how > >often getservent is used in the wild... > > Not that I know what getent is, let alone having ever used it, shouldn't > finding a bug that old merit a gold star? Oh, please no. A tin star if you must. Let's keep gold stars for folks doing the heavy lifting around here. ..mark -- 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