mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Last call for bugfixes for 1.0
Date: Sun, 16 Mar 2014 23:41:08 -0400	[thread overview]
Message-ID: <20140317034108.GM26358@brightrain.aerifal.cx> (raw)
In-Reply-To: <ab40a8bc-08b6-426f-ac40-0f71c3c0e532@email.android.com>

On Mon, Mar 17, 2014 at 11:28:18AM +0800, orc wrote:
> 17 марта 2014 г. 9:37:34 KRAT, Rich Felker <dalias@aerifal.cx> пишет:
> >On Mon, Mar 17, 2014 at 09:34:14AM +0800, orc wrote:
> >> 15 марта 2014 г. 15:52:23 KRAT, Rich Felker <dalias@aerifal.cx>
> >пишет:
> >> >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


      reply	other threads:[~2014-03-17  3:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-15  7:52 Rich Felker
2014-03-15 21:29 ` David Grothe
2014-03-15 22:26   ` Rich Felker
2014-03-16 15:08 ` Thomas Kreuzer
2014-03-16 15:25   ` Rich Felker
2014-03-16 18:28     ` Thomas Kreuzer
2014-03-16 19:06       ` Rich Felker
2014-03-17  1:34 ` orc
2014-03-17  1:37   ` Rich Felker
2014-03-17  3:28     ` orc
2014-03-17  3:41       ` Rich Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140317034108.GM26358@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).