From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4670 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Last call for bugfixes for 1.0 Date: Sun, 16 Mar 2014 23:41:08 -0400 Message-ID: <20140317034108.GM26358@brightrain.aerifal.cx> References: <20140315075223.GA27718@brightrain.aerifal.cx> <78ad8fae-b5ca-45d5-9561-54a1038dee82@email.android.com> <20140317013734.GL26358@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1395027674 15234 80.91.229.3 (17 Mar 2014 03:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2014 03:41:14 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4674-gllmg-musl=m.gmane.org@lists.openwall.com Mon Mar 17 04:41:24 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WPOQT-00068H-5t for gllmg-musl@plane.gmane.org; Mon, 17 Mar 2014 04:41:21 +0100 Original-Received: (qmail 19575 invoked by uid 550); 17 Mar 2014 03:41:20 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19567 invoked from network); 17 Mar 2014 03:41:20 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4670 Archived-At: On Mon, Mar 17, 2014 at 11:28:18AM +0800, orc wrote: > 17 марта 2014 г. 9:37:34 KRAT, Rich Felker пишет: > >On Mon, Mar 17, 2014 at 09:34:14AM +0800, orc wrote: > >> 15 марта 2014 г. 15:52:23 KRAT, Rich Felker > >пишет: > >> >I'm hoping to pack up and release 1.0 in the next few days, so > >please > >> >report any issues that we might be able to fix before releasing. > >> > > >> >Rich > >> > >> I probably found a small issue where ptsname() does not set errno > >> correctly. In case of error, it always sets errno to -1. > > > >Are you sure? It looks like something might be wrong but that's not > >the behavior I gather from a quick reading of the source. It looks > >more to me like errno might just be negated from its proper value. > > > >Rich > > Ah, my bad, I was misguided. It returns not -1 but -9 if I pass > invalid fd. Still, to interpret errno I need to make it positive > number, which is not issue on glibc for example... Yes, that's what I expected from reading the source. Thanks for confirming. I'll fix it. Rich